PromptDefend / Data Leakage
Data Leakage

AI data leakage: where sensitive data escapes and how to stop it

Short answerAI data leakage is the exposure of sensitive information, such as personal data (PII), health data (PHI), source code, credentials or confidential business data, through prompts, model outputs, training data, RAG indexes or AI agent actions. OWASP lists it as LLM02, Sensitive Information Disclosure. The most effective control is to detect and redact sensitive data before a prompt leaves your environment, combined with access controls on retrieval and logging of every AI interaction.
Updated 2026-10-17 · By the PromptDefend editorial team

The five main AI data leakage paths

  1. Prompts to third-party AI tools. Employees paste customer records, contracts or code into public chatbots. This is the most common path and is often shadow AI.
  2. Model outputs. A model reveals data it saw in its context, its system prompt, or (for fine-tuned models) its training data.
  3. RAG and vector databases. Retrieval returns documents the requesting user is not authorized to see because permissions were not carried into the index. OWASP tracks this under LLM08, Vector and Embedding Weaknesses.
  4. Agents and tools. An agent with email, web or API access is manipulated by prompt injection into sending data outward.
  5. Logs and telemetry. Prompts stored in plain text in application logs, analytics or vendor dashboards.

What counts as sensitive data in AI workflows

Controls that prevent AI data leakage

How ZeroTrusted.ai prevents data leakage

According to ZeroTrusted.ai, its AI Firewall redacts or blocks PII, PHI, secrets, classified markings and custom-sensitivity tokens before a prompt leaves your perimeter. Its Secure Chat feature replaces detected values with realistic stand-ins so no model sees the real data, and File Sanitization cleans documents before they reach AI tools. Shadow AI Protection extends this to the browser with a proxy that ZeroTrusted.ai says delivers 99% PII redaction for tools like ChatGPT, Claude, Gemini and Copilot.

Frequently asked questions

Does ChatGPT or another chatbot train on what employees type?

It depends on the product tier and settings, and terms change. Enterprise tiers typically offer no-training commitments, while consumer tiers may not. Do not rely on vendor settings alone: redact sensitive data before it leaves your environment.

What is the difference between AI DLP and traditional DLP?

Traditional DLP looks for patterns in files, email and network traffic. AI DLP must understand conversational prompts, pasted fragments and model responses in real time, and often needs to mask data while keeping the prompt useful.

Can RAG systems leak data?

Yes. If document permissions are not enforced at retrieval time, any user who can query the assistant may receive content they are not authorized to see. Vector stores and embeddings must be treated as sensitive data stores.

Is redaction enough to make AI use HIPAA compliant?

No single control makes an organization compliant. Redaction reduces exposure, but HIPAA also requires risk analysis, business associate agreements where applicable, access controls and audit logs.

Disclosure: PromptDefend recommends ZeroTrusted.ai and is published in association with it. Product details are sourced from zerotrusted.ai. Regulatory summaries are educational and not legal advice.