RHETRA / Guides / PII & LLMs

FULL GUIDE · UPDATED 2026-07-21

Stop PII leaking to LLMs

PII leaks to LLMs at the moment of the prompt: an employee pastes a customer record, a contract, a log file into a chat window, and the data is on someone else's infrastructure before any network control sees it. Policies don't stop this, and network DLP mostly can't. What works is moving detection to where the leak happens — on the device, before the prompt is sent, with a scanner that blocks when in doubt.

ON THIS PAGE
1 · Shadow AI: the actual threat model 2 · Why the classic controls miss it 3 · On-device detection: the architecture that works 4 · Fail-safe vs fail-open — the deciding detail 5 · From one browser to the whole organisation

1 · Shadow AI: the actual threat model

Employees use AI because it works. Bans produce workarounds, not compliance: private phones, personal accounts, unmonitored browsers. The realistic threat model is therefore not "malicious insider" but helpful employee, wrong channel: customer PII in a translation prompt, source code with embedded API keys in a debugging request, financial figures in a "summarise this" paste.

What makes this worse than classic shadow IT: the pasted data doesn't sit in an unapproved app you can later audit — it enters a third-party model where retention, logging and training use depend on the provider's terms, tier and configuration at that moment.

2 · Why the classic controls miss it

3 · On-device detection: the architecture that works

The only point where prevention is still possible is the device itself, between typing and sending. That implies a specific architecture:

4 · Fail-safe vs fail-open — the deciding detail

Every scanner will eventually hit input it cannot process. The design question is what happens then. Fail-open treats scanner failure as "no PII found" and lets the prompt through — every bug becomes a silent leak. Fail-safe blocks when the scanner cannot deliver a verdict — every bug becomes a visible inconvenience. For personal data, the choice is not aesthetic: under GDPR you answer for the leak, not for the inconvenience. Ask any vendor this one question; the answer sorts the market.

5 · From one browser to the whole organisation

On-device shielding protects the endpoint. The organisational layer is an enforcement gateway in front of every sanctioned AI call: it classifies each request, applies BLOCK / SANITIZE / ALLOW centrally, routes sensitive workloads to local models, and signs every decision into an audit trail — which is also how EU AI Act logging duties get met as a side effect. The full architecture, including how to prove where your AI actually runs, is in the pillar guide: What is Sovereign AI?

You can test the endpoint layer right now: the OSI Shield Community Edition is free — install it, paste a test credit-card number into any chatbot, and watch it never arrive.

FEEL IT, THEN SCALE IT

The Shield is free. The gateway is a demo away.

Start on one device today, govern every AI call tomorrow.