Guide
GenAI data loss prevention: tools that keep sensitive data out of LLMs
Executive summary
- What it is
- GenAI data loss prevention keeps personal data, secrets and confidential records out of prompts, uploads, retrieval results and logs. Tools work at three points: the user's browser or network, your own app's model calls, and the data stores a model can reach.
- The risk
- An employee pastes customer records into a public chatbot, or a retrieval system hands one user another user's documents. OWASP lists these leaks as LLM02 and LLM08, and warns that a system prompt rule against revealing data can be bypassed.
- What to buy or do
- Run a user-side tool in logging mode to see what leaves, put redaction or tokenization in front of every model call your code makes, fix retrieval permissions, then move the riskiest data types from warning to blocking.
Short answer
OWASP’s page on sensitive information disclosure (LLM02) says a system prompt rule against returning certain data may not be honored and can be bypassed through prompt injection, so data loss prevention has to act on the data before the model sees it. Tools do that at three control points: the user (browser, endpoint or network controls on what people send to AI tools), the app (redaction or tokenization before your code calls a model) and the data (vaults and discovery that limit what can be sent at all). Start with visibility, add redaction where you own the code, and tighten from logging to blocking.
Where data leaks
OWASP’s LLM02 page lists personal data, financial details, health records, confidential business data, security credentials and legal documents among what can leak, plus proprietary algorithms and training data. The leak can start long before the model answers. The rows and control points below are our analysis, anchored to the OWASP risks.
| Where it leaks | How it happens | OWASP risk | Control point (our analysis) |
|---|---|---|---|
| Prompts | People paste customer records, code or credentials into an AI tool, or an app forwards raw user data to a model | LLM02 | User, and app |
| Uploads | Files go to a public chatbot or an assistant with no check on what they contain | LLM02 | User |
| Retrieval (RAG) | A retrieval system returns documents the asker is not allowed to see, or mixes context between users | LLM08 | Data |
| Logs and training data | Prompts and responses are stored with the sensitive values still in them, then reused or exposed later | LLM02 | App, and data |
| Outputs | The model repeats sensitive values from its context, or from its training data, in an answer | LLM02 | App |
OWASP recommends sanitizing data so user data does not enter the training model, applying least privilege, restricting external data sources and publishing clear retention and deletion policies, and it lists tokenization and redaction with pattern matching among the techniques. For retrieval, its vector and embedding weaknesses page says weak access controls can expose embeddings that hold sensitive information, and context can leak between users of a shared database.
These tools make up the data protection layer, which keeps sensitive data out of prompts, uploads and retrieval in our AI Security Layers model. Finding the AI apps people use in the first place belongs to the discovery and posture layer.
Detection is automated, so it can miss things
Presidio’s homepage warns that because detection is automated, there is no guarantee it will find all sensitive information, and it advises additional systems and protections. The same applies to every detector here. Try each tool on your own data, and keep access control behind it.
How we picked
We include the tools in our data protection category with enough sourced facts to compare. Netskope is left out because we could not verify its product details on the vendor’s own pages. We compile from public repositories, documentation and vendor pages and do not run the products, so nothing here measures detection accuracy or false positives. Fact chips link each source and check date; the methodology explains the Coverage Score.
| Tool | Type | Deployment | Pricing model | OWASP risks | Coverage Score |
|---|---|---|---|---|---|
| Presidio Data Privacy Stack | Open sourceMIT |
| Free |
| Coverage Score 67 out of 100 |
| Limina Limina Now Limina | Commercial |
| Freemium |
| Coverage Score 64 out of 100 |
| Protecto Protecto | Commercial |
| Paid |
| Coverage Score 70 out of 100 |
| Tonic Textual Tonic.ai | Commercial |
| Usage-based |
| Coverage Score 60 out of 100 |
| Google Cloud Sensitive Data Protection Google Cloud Renamed | Commercial |
| Usage-based |
| Coverage Score 51 out of 100 |
| Skyflow Skyflow | Commercial |
| Not published |
| Coverage Score 50 out of 100 |
| Harmonic Harmonic Security | Commercial |
| Not published |
| Coverage Score 52 out of 100 |
| WitnessAI WitnessAI | Commercial |
| Not published |
| Coverage Score 36 out of 100 |
| Nightfall Nightfall | Commercial |
| Contact sales |
| Coverage Score 45 out of 100 |
| Purview DSPM for AI Microsoft Renamed | Commercial |
| Usage-based |
| Coverage Score 49 out of 100 |
Coverage Score measures what each vendor documents publicly, within one category. What this measures. Pricing models are as stated on each vendor's page; check the vendor for current pricing.
The three control points
Where you place the control decides what it can see. The table is our analysis.
| Control point | What it sees | Typical form | Tools in this guide |
|---|---|---|---|
| 1. The user | What people paste, upload or type into AI tools, including tools you did not approve | Browser extension, endpoint agent or network control | Harmonic Security, WitnessAI, Nightfall AI, Microsoft Purview DSPM for AI |
| 2. The app | Text and files your own code is about to send to a model, and what comes back | Library, container or API called before the model call | Presidio, Limina (Private AI), Protecto, Tonic Textual |
| 3. The data | Where sensitive values are stored and who can read them | Vault, tokenization service or discovery scan | Skyflow, Google Sensitive Data Protection |
Control point 1: the user
Employees use AI tools that security never reviewed. These commercial products watch or block that traffic, and each tool page records how the vendor prices it.
Harmonic Security · workforce AI usage and data protection service
Harmonic Security maps the AI tools a workforce actually uses, including AI features embedded in SaaS tools Source, checked October 21, 2026: harmonic.security (opens in a new tab) . It detects sensitive data when an employee tries to share it with an AI tool and intercepts the prompt Source, checked October 21, 2026: harmonic.security (opens in a new tab) , and it sets enforcement by data type, application and role, from silent logging to warnings, coaching and blocking Source, checked October 21, 2026: harmonic.security (opens in a new tab) . Its deployment is listed as browser extension Source, checked October 21, 2026: harmonic.security (opens in a new tab) . Best for security teams that want to see which AI tools employees use and coach or block sensitive data in the browser and on the endpoint.
WitnessAI · AI activity control and data protection platform
WitnessAI discovers AI use across employees and agents and catalogs AI applications and MCP servers Source, checked October 21, 2026: witness.ai (opens in a new tab) . It also redacts sensitive data in real time Source, checked October 21, 2026: witness.ai (opens in a new tab) , and it tokenizes sensitive information as part of its guardrails Source, checked October 21, 2026: witness.ai (opens in a new tab) . Its deployment is listed as saas Source, checked October 21, 2026: aws.amazon.com (opens in a new tab) . Best for enterprises that want network-level visibility and policy over employee and agent AI use without browser extensions or endpoint clients.
Nightfall · data loss prevention platform for AI and SaaS
Nightfall AI targets shadow AI use, stopping corporate data from leaving through personal ChatGPT, unmanaged copilots and browser AI tools Source, checked October 21, 2026: nightfall.ai (opens in a new tab) . It also inspects and blocks prompts, tool calls and responses inside a live AI session using inference hooks Source, checked October 21, 2026: nightfall.ai (opens in a new tab) . Its deployment is listed as saas, api Source, checked October 21, 2026: help.nightfall.ai (opens in a new tab) . Best for security teams that want one commercial DLP platform for employee AI use, MCP servers and SaaS apps.
Microsoft Purview Data Security Posture Management (DSPM) for AI
Microsoft · cloud data security posture service for AI use
Microsoft Purview DSPM for AI detects visits to third-party generative AI sites from browser activity and lists the AI apps and agents in use Source, checked October 21, 2026: learn.microsoft.com (opens in a new tab) . It applies DLP policies in Edge, Chrome and Firefox to sensitive information pasted into AI sites Source, checked October 21, 2026: learn.microsoft.com (opens in a new tab) , and it covers uploads as well as pasted text, with block-with-override for elevated risk users Source, checked October 21, 2026: learn.microsoft.com (opens in a new tab) . On naming, Microsoft's docs say this article covers the classic version of DSPM for AI, which is now replaced with a new version named Data Security Posture Management. Source, checked October 21, 2026: learn.microsoft.com (opens in a new tab) Check which version your tenant uses. Best for Microsoft 365 organizations that want AI usage reporting and DLP for Copilot and third-party AI apps in the Purview portal.
Control point 2: the app
When your own code calls a model, you can mask sensitive values before the request leaves your environment. Screening prompts for attacks is a different job, covered in our guide to LLM guardrails.
Data Privacy Stack · open-source PII detection and masking toolkit
Presidio identifies PII in text with recognizers based on named entity recognition, regular expressions, rules and checksums Source, checked October 21, 2026: presidio.dataprivacystack.org (opens in a new tab) . It also de-identifies detected PII in text using configurable operators Source, checked October 21, 2026: presidio.dataprivacystack.org (opens in a new tab) , and it redacts PII found inside images using OCR and PII identification Source, checked October 21, 2026: presidio.dataprivacystack.org (opens in a new tab) . On ownership, A Data Privacy Stack post (page marked last updated June 29, 2026) says the Presidio project has a new home under Data Privacy Stack, an independent, community-driven organization, and thanks Microsoft for supporting Presidio earlier. Source, checked October 21, 2026: dataprivacystack.org (opens in a new tab) Best for engineering teams that want a free, self-hosted library to anonymize PII before text reaches a model or a log.
Limina · container PII detection and redaction engine
Limina (Private AI) detects PII, PHI and PCI across 50+ entity types in 52 languages Source, checked October 21, 2026: getlimina.ai (opens in a new tab) . It also redacts detected entities by replacing them with markers or masking them with a character Source, checked October 21, 2026: docs.getlimina.ai (opens in a new tab) , and it finds faces, license plates and text in images, then blurs or black-box redacts them Source, checked October 21, 2026: docs.getlimina.ai (opens in a new tab) . Its deployment is listed as self-hosted, on-prem, api Source, checked October 21, 2026: getlimina.ai (opens in a new tab) . On the name, The private-ai.com site redirects to getlimina.ai, and the documentation at docs.private-ai.com is branded Limina. Neither page states a rename date or reason. Source, checked October 21, 2026: docs.private-ai.com (opens in a new tab) Best for teams that need PII, PHI and PCI de-identification of text, files and audio inside their own VPC or on-premises.
Protecto · data control plane for AI privacy
Protecto detects PII, PHI and confidential enterprise data across prompts, documents and outputs Source, checked October 21, 2026: protecto.ai (opens in a new tab) . It also offers format-preserving tokenization and reversible masking Source, checked October 21, 2026: protecto.ai (opens in a new tab) , and it auto-detects sensitive entities in free text, masks them under the active policy and unmasks them on request Source, checked October 21, 2026: docs.protecto.ai (opens in a new tab) . Its deployment is listed as saas, on-prem, api Source, checked October 21, 2026: docs.protecto.ai (opens in a new tab) . Best for teams that want an API to tokenize or mask data before it reaches LLMs and RAG pipelines and restore it afterwards.
Tonic.ai · PII redaction and synthesis tool for free text
Tonic Textual detects common sensitive entities out of the box, with support spanning 50+ languages Source, checked October 21, 2026: tonic.ai (opens in a new tab) . It redacts sensitive entities consistently Source, checked October 21, 2026: tonic.ai (opens in a new tab) , and it replaces sensitive entities with synthetic values Source, checked October 21, 2026: tonic.ai (opens in a new tab) . Its deployment is listed as saas, on-prem, api, library Source, checked October 21, 2026: tonic.ai (opens in a new tab) . Best for teams preparing free text, documents or call audio for LLM training, RAG or testing.
Control point 3: the data
This fix keeps raw sensitive values out of every place a model can reach. A vault holds the real values and hands out tokens; a discovery scan shows where sensitive data already sits.
Skyflow · data privacy vault with LLM data protection
Skyflow stores sensitive data in a data privacy vault that is segregated from your other infrastructure and reachable only through privileged access Source, checked October 21, 2026: docs.skyflow.com (opens in a new tab) . It also replaces sensitive values with vault tokens, including format-preserving tokens Source, checked October 21, 2026: docs.skyflow.com (opens in a new tab) , and it states that it prevents sensitive data from leaking into models, prompts, RAG systems, tools, traces and agent workflows Source, checked October 21, 2026: docs.skyflow.com (opens in a new tab) . Its deployment is listed as saas, api Source, checked October 21, 2026: docs.skyflow.com (opens in a new tab) . Best for teams that want a vault for regulated data and tokenized values to feed LLMs and RAG.
Google Cloud Sensitive Data Protection
Google Cloud · cloud API to find and de-identify sensitive data
Google Sensitive Data Protection detects sensitive data with built-in infoType detectors or custom infoType detectors you create from dictionaries or regular expressions Source, checked October 21, 2026: docs.cloud.google.com (opens in a new tab) . It de-identifies data by masking, redaction, replacement, bucketing, date shifting and tokenization Source, checked October 21, 2026: docs.cloud.google.com (opens in a new tab) , and it lists inspecting and redacting LLM prompt inputs before storage as a use case Source, checked October 21, 2026: docs.cloud.google.com (opens in a new tab) . On naming, Google's release notes page states that Cloud Data Loss Prevention (Cloud DLP) is now a part of Sensitive Data Protection and that the API name remains the same. Source, checked October 21, 2026: docs.cloud.google.com (opens in a new tab) Best for Google Cloud teams that want an API to de-identify data before it reaches storage, analytics or LLM prompts.
Rollout order
Our suggested order; each step builds on the one before.
- Decide what counts as sensitive. Start from the data types OWASP lists, then add what your regulators and contracts name.
- Get visibility first. Run a user-side tool in logging mode to learn which AI tools people use and what they send.
- Mask at the boundaries you control. Put redaction or tokenization in front of every model call your code makes, and in front of logs.
- Fix retrieval permissions. Follow OWASP’s LLM08 advice: permission-aware vector stores, partitioned datasets and logs of retrieval activity.
- Move from coaching to blocking for the riskiest data types, once false positives on your own data are acceptable.
- Set retention rules for prompts and responses, and review them on a schedule.
- Test for leaks. Our guide to open-source AI red teaming tools lists tools that probe applications for data leakage.
Limits
These limits are our analysis.
- Detectors miss things. Every tool here detects automatically, so a value in an unusual format can pass. Keep access control behind detection.
- User-side tools see only the traffic they sit on. A browser extension does not see an API call from a script, and a network control does not see an unmanaged device.
- Redaction can break the answer. If the model needs a value to do the task, masking it degrades the result; tokenization with restore after the answer is the usual workaround.
Choose a user-side control if
Our analysis- Your main risk is employees using public or unapproved AI tools.
- You want visibility into AI use before you block anything.
- You can buy a commercial product; the table shows each pricing model.
Choose an app-side control if
Our analysis- You own the code that calls the model and can add a step before the call.
- You want detection inside your own environment; the table shows where each one runs.
- You want open source to start, then a managed API if you outgrow it.
See Presidio, Limina, Protecto, Tonic Textual.
Choose a data-side control if
Our analysis- You want sensitive values stored apart from the systems a model can reach.
- You need to find where sensitive data sits before you decide what to mask.
Agent controls that limit what an AI agent can read and send are covered in securing AI agents.
Frequently asked questions
What is GenAI data loss prevention?
It is the set of controls that stop sensitive data from reaching a generative AI system, or from leaving it in an answer. We group the tools by control point: the user, the app and the data. OWASP files the underlying risk as LLM02, sensitive information disclosure, in its 2025 list for LLM applications.
Can I rely on a system prompt that tells the model not to reveal data?
No. The OWASP page for LLM02 says restrictions in the system prompt on the types of data the model returns may not always be honored and could be bypassed through prompt injection or other methods. Remove or mask the data before the model sees it where you can, and enforce access controls outside the model.
Can masked data be restored after the model answers?
Some tools document it. Protecto describes masking that it can unmask on request, and Google's Sensitive Data Protection documents reversible pseudonymization with deterministic or format-preserving encryption. Limina (Private AI) and Tonic Textual document replacing values with synthetic ones. Check which approach your use case needs.
Is Presidio enough on its own?
Presidio is a free toolkit that finds and masks personal data in text, images and structured data inside your own code or services. Its homepage warns there is no guarantee it will find all sensitive information and advises additional protections. It does not watch what employees paste into public chatbots, so pair it with a user-side control. This last point is our analysis.
How does RAG change the leak risk?
A retrieval system can return documents the asker should not see. OWASP's page on vector and embedding weaknesses says weak access controls can expose embeddings that hold sensitive information, and that context can leak between users in shared multi-tenant databases. Its advice includes permission-aware vector stores and partitioned datasets.
Key facts you can cite
-
Presidio is released under the MIT license.
Source Source, checked October 21, 2026: github.com (opens in a new tab) Checked
-
The private-ai.com site redirects to getlimina.ai, and the documentation at docs.private-ai.com is branded Limina. Neither page states a rename date or reason.
Source Source, checked October 21, 2026: docs.private-ai.com (opens in a new tab) Checked
-
Protecto is offered as: SaaS, On-prem, API.
Source Source, checked October 21, 2026: docs.protecto.ai (opens in a new tab) Checked
-
Tonic Textual is offered as: SaaS, On-prem, API, Library.
Source Source, checked October 21, 2026: tonic.ai (opens in a new tab) Checked
-
Google's release notes page states that Cloud Data Loss Prevention (Cloud DLP) is now a part of Sensitive Data Protection and that the API name remains the same.
Source Source, checked October 21, 2026: docs.cloud.google.com (opens in a new tab) Checked
Sources & last reviewed
Standards and references (3 sources)
Presidio (8 sources)
- dataprivacystack.org/blog/presidio-project-joins-data-privacy-stack checked
- api.github.com/repos/data-privacy-stack/presidio checked
- presidio.dataprivacystack.org checked
- github.com/data-privacy-stack/presidio/blob/main/LICENSE checked
- presidio.dataprivacystack.org/api checked
- presidio.dataprivacystack.org/getting_started checked
- github.com/data-privacy-stack/presidio/blob/main/SECURITY.md checked
- api.github.com/repos/data-privacy-stack/presidio/releases/latest checked
Limina (Private AI) (9 sources)
- getlimina.ai checked
- docs.private-ai.com/introduction checked
- docs.getlimina.ai/container-quickstart/quickstart-guide.md checked
- getlimina.ai/pricing checked
- docs.getlimina.ai/latest/process-text.md checked
- docs.getlimina.ai/configuration-and-operations/working-with-files/p... checked
- docs.getlimina.ai/configuration-and-operations/entity-detection-and... checked
- docs.getlimina.ai checked
- docs.getlimina.ai/configuration-and-operations/container-management... checked
Protecto (6 sources)
- protecto.ai checked
- docs.protecto.ai/deployment/overview.md checked
- docs.protecto.ai checked
- protecto.ai/saas checked
- docs.protecto.ai/getting-started/quickstart checked
- docs.protecto.ai/masking-apis/overview.md checked
Tonic Textual (7 sources)
- tonic.ai/textual checked
- docs.tonic.ai/textual checked
- tonic.ai/pricing checked
- github.com/TonicAI/textual checked
- docs.tonic.ai/textual/tonic-textual-api/textual-rest-api.md checked
- docs.tonic.ai/textual/tonic-textual-getting-started.md checked
- docs.tonic.ai/trust-center checked
Google Cloud Sensitive Data Protection (12 sources)
- docs.cloud.google.com/sensitive-data-protection/docs/sensitive-data... checked
- docs.cloud.google.com/sensitive-data-protection/docs/release-notes checked
- docs.cloud.google.com/sensitive-data-protection/docs/discovery-for-... checked
- docs.cloud.google.com/sensitive-data-protection/docs/concepts-infot... checked
- docs.cloud.google.com/sensitive-data-protection/docs/transformation... checked
- docs.cloud.google.com/sensitive-data-protection/docs/pseudonymization checked
- docs.cloud.google.com/sensitive-data-protection/docs/redacting-sens... checked
- docs.cloud.google.com/sensitive-data-protection/docs/data-profiles checked
- cloud.google.com/sensitive-data-protection checked
- docs.cloud.google.com/sensitive-data-protection/docs checked
- docs.cloud.google.com/sensitive-data-protection/docs/reference/rest checked
- docs.cloud.google.com/sensitive-data-protection/docs/quickstart-json checked
Skyflow (8 sources)
- skyflow.com checked
- docs.skyflow.com checked
- docs.skyflow.com/docs/fundamentals/get-started checked
- skyflow.com/pricing checked
- docs.skyflow.com/docs/fundamentals/product-overview checked
- docs.skyflow.com/docs/de-identification checked
- docs.skyflow.com/api checked
- skyflow.com/security checked
Harmonic Security (11 sources)
- harmonic.security checked
- harmonic.security/solutions-2/browser-based-genai-security checked
- harmonic.security/pricing checked
- harmonic.security/products/explore checked
- harmonic.security/products/protect checked
- docs.harmonicsecurity.app/release-notes/2026/september-25-2026 checked
- docs.harmonicsecurity.app/mcp-gateway/getting-started/what-is-mcp-g... checked
- docs.harmonicsecurity.app/release-notes checked
- docs.harmonicsecurity.app checked
- docs.harmonicsecurity.app/browser-extension/deploying-the-extension... checked
- trust.harmonic.security checked
WitnessAI (4 sources)
Nightfall AI (5 sources)
- nightfall.ai checked
- help.nightfall.ai checked
- nightfall.ai/pricing checked
- help.nightfall.ai/firewall-for-ai checked
- nightfall.ai/security checked
Microsoft Purview Data Security Posture Management (DSPM) for AI (5 sources)
- learn.microsoft.com/en-us/purview/ai-microsoft-purview checked
- learn.microsoft.com/en-us/purview/dspm-for-ai checked
- learn.microsoft.com/en-us/purview/dspm-for-ai-considerations checked
- microsoft.com/en-us/security/business/microsoft-purview checked
- learn.microsoft.com/en-us/purview/data-security-posture-management-... checked