ExtraTunnel
Book a back-test Download

Blog · 5 min read

AI data leak prevention: how DLP for AI works

AI data leak prevention means controlling what private information reaches AI tools through prompts, pasted text, files and agent context. It differs from email or file-sharing DLP because the data moves in small pieces, in real time, and the AI needs enough context to give a useful answer. There are three approaches: block the request, redact the data, or seal it with placeholders and restore the real values in the answer.

Private details on the left pass through ExtraTunnel and leave as placeholders on the way to AI providers
Illustration: ExtraTunnel.

What is AI data leak prevention

Data leak prevention, or DLP, is the set of controls that stop private data from leaving a company through channels it should not use. DLP for AI applies that idea to chat assistants, coding agents and scripts that call AI APIs. The goal: people keep using AI, and customer records, secrets and regulated data do not go out in the clear.

How AI traffic differs from email and file sharing

  • It is typed and pasted, not attached. Classic DLP looks at documents and attachments. AI prompts are fragments from the clipboard.
  • It is constant. A person may send dozens of prompts in an hour. A review queue cannot keep up.
  • Agents gather context on their own. A coding agent opens files and reads command output without the user choosing each piece.
  • The answer matters. With email, a blocked message is the end of it. With AI, the person is waiting for a result, and a stripped prompt can produce a useless one.
  • There are many routes. Browser tabs, desktop apps, command line tools and scripts all reach AI providers in different ways.

Block vs redact vs seal

ApproachWhat it doesStrengthWeakness
BlockStops the request when private data is found, or blocks the AI tool entirelySimple to explain and enforcePeople lose the tool and may move to personal accounts and devices you cannot see
RedactRemoves or masks the private data one wayThe request still goes throughThe AI loses context, and the answer comes back with gaps to fill by hand
SealSwaps private data for labelled placeholders, then puts the real values back into the answer locallyThe AI can still follow who and what, and the answer is usableDepends on detection quality, and the mapping must stay protected on the device

These are not exclusive. A reasonable setup seals what it can read and blocks what it cannot.

What to ask an AI DLP vendor

  • Where does detection run? On the device, in a browser extension, or in the vendor’s cloud. If prompts are inspected in a vendor’s cloud, that vendor is one more party holding your data.
  • Which routes are covered? Browser chat, coding agents and API calls from scripts are three different problems.
  • What happens when the check fails? Ask whether the request goes out anyway or is stopped.
  • What about files it cannot read? Images, scans, audio and video need a stated rule.
  • What is in the log? A log that stores the full prompt is a new copy of the private data.
  • How is detection quality measured? Ask to test on your own files, not only the vendor’s samples.
  • Do people have to change tools? Ask what a normal working day looks like with it switched on.

AI DLP evaluation checklist

  1. List the AI tools and routes you need to cover.
  2. Build a test set from your own files, with the kinds of private details you care about.
  3. Run the test set through the product. Count misses and false alarms by type.
  4. Test failure. Send a file it cannot read, break the check on purpose and see what goes out.
  5. Read the logs. Confirm you can show what was sent without the log holding the text.
  6. Pilot with a small team. See whether people leave it switched on.
  7. Check the cost per person and whether you must change AI plans.

No detection method catches everything, so the fourth step deserves the most time. How a product behaves when it is unsure tells you more than its best-case demo.

AI DLP and PCI DSS, GLBA and GDPR

PCI DSS is the card industry’s security standard for anyone who handles payment card data. GLBA is the US law that requires financial institutions to protect customer information. GDPR is the EU law that sets rules for handling the personal data of people in the EU. A DLP control can support the work these require, but no tool settles the question alone. This is not legal advice.

How ExtraTunnel approaches AI data leak prevention

ExtraTunnel takes the seal approach. It runs on the person’s own computer and works like switching on a VPN: one switch, and people keep their own tools. That covers AI chat in the browser, coding agents and scripts that call AI APIs.

Before a request leaves, private details are swapped for labelled placeholders. The AI works on the sealed text, and the real values are put back into the answer on the computer. A second, simpler program checks every request before it leaves. If the check fails, the request does not go out. Every request gets a signed receipt that records counts and hashes, not the text. Files it cannot read are held on the device instead of being sent.

Teams keep the AI plan they already pay for. It is free for one person and $12 per person per month for teams, billed yearly. Enterprises start with a paid back-test on 500 of their own files. Details are on the security, pricing and enterprise pages.

Common questions

Can our existing DLP tool cover ChatGPT?

Some can inspect or block browser traffic to AI sites. Check whether yours handles pasted text, coding agents and API calls, and whether it can do anything other than block.

Should we just block AI tools?

Blocking is simple, but people who need the tools may move to personal accounts and devices you cannot see. Most teams do better with a control that lets the work continue.

What is the difference between redaction and sealing?

Redaction removes the data one way. Sealing replaces it with labelled placeholders and puts the real values back into the answer on the device, so the result is ready to use.

Does AI DLP slow people down?

It depends on where the check runs and how often it interrupts. Measure this in a pilot with real work before you roll it out.

Sources and further reading

  1. OWASP Top 10 for Large Language Model ApplicationsOWASP GenAI Security Project
  2. AI Risk Management FrameworkNIST
  3. Artificial IntelligenceCISA
  4. Guidelines for secure AI system developmentUK National Cyber Security Centre

Primary sources, linked so you can check them. They do not endorse ExtraTunnel.

Ask an AI about this article

Test it on your own files

ExtraTunnel is free for one person, and enterprises can start with a paid back-test on 500 of their own files.

Keep reading

AI usage policy for employees: a short template

Redaction vs masking vs tokenization for AI prompts

The private line to every AI.

One switch. Your own tools. A signed record of every request.