Skip to main content
    Articles2026-05-16· 8 min read

    Data Leakage · Agentic AI

    Why AI Agents Leak Data (and How to Stop It)

    AI agents don't leak data the way humans do. They exfiltrate through legitimate API calls, follow injected instructions embedded in documents they process, and operate continuously with permissions no single employee would be granted. The root causes are architectural — and so are the fixes.

    Portrait of Theodore Bergqvist, Founder of Intellicor

    Theodore Bergqvist

    Founder, Intellicor

    TL;DR

    AI agents don't leak data the way humans do. They exfiltrate through legitimate API calls, follow injected instructions embedded in documents they process, and operate continuously with permissions no single employee would be granted. The root causes are architectural: over-permissioned access, no separation between instructions and data, and no runtime layer to evaluate whether a proposed action is appropriate. Fixing it requires runtime controls, not policy documents.

    In January 2026, security researchers disclosed four critical vulnerabilities in production AI tools — IBM Bob, Superhuman AI, Notion AI, and Anthropic's Claude Cowork — within five days. Each exploited the same pattern: an agent with access to private data, exposed to untrusted content, with the ability to communicate externally. In every case, data was exfiltrated before a human could intervene. These weren't research demos. They were production tools trusted by Fortune 500 companies and government contractors.

    The pattern has a name in the security research community: the lethal trifecta. Coined by engineer Simon Willison, it describes the three conditions that, when present simultaneously in an AI agent, guarantee exploitability regardless of model alignment, system prompt hardening, or safety fine-tuning. Understanding why agents leak data — the structural reasons, not just the symptoms — is the first step to preventing it.

    The lethal trifecta: why most deployed agents are already vulnerable

    Definition

    The lethal trifecta — A term coined by security researcher Simon Willison. An AI agent is unconditionally vulnerable to data exfiltration when all three of the following are simultaneously present: access to private data (emails, CRM records, documents, source code), exposure to untrusted external content (web pages, user-submitted files, external emails, RAG-retrieved documents), and an exfiltration vector (the ability to send emails, call external APIs, render outbound links, or trigger webhooks). When all three exist, an attacker can manipulate the agent into accessing and transmitting private data by embedding malicious instructions in any content the agent processes — without exploiting a single line of vulnerable code.

    An agent with all three properties is unconditionally exploitable. Not because the model is flawed, but because language models cannot reliably distinguish between legitimate instructions from their operator and malicious instructions embedded in content they process. Following instructions is precisely what makes them useful. It is also what makes them dangerous when the instruction source cannot be trusted.

    In January 2026, this was not theoretical. Four production exploits in five days — IBM Bob, Superhuman AI, Notion AI, and Claude Cowork — all demonstrated the same attack pattern. Data was exfiltrated before any human could intervene.

    Real incident — CVE-2026-21520 (ShareLeak, Microsoft Copilot)CVSS 7.5

    An attacker could insert malicious instructions into a SharePoint form input connected to Microsoft Copilot. When Copilot processed the form, it returned customer data to an attacker-controlled email address. The same attack pattern appeared simultaneously in Salesforce Agentforce. Microsoft patched in April 2026. Source: Dark Reading.

    The five ways AI agents leak data in production

    1. Indirect prompt injection via processed content

    The agent is not directly manipulated by an attacker in the conversation. Malicious instructions are embedded in content the agent retrieves as part of a legitimate task: a document in a RAG pipeline, a web page the agent searches, an email it reads, a support ticket it processes.

    When the agent retrieves that content, the instructions are indistinguishable from legitimate data. The model processes them as instructions and acts accordingly — forwarding data, calling unauthorized APIs, modifying records. The attack requires no vulnerability in the model itself. It exploits the fundamental design of instruction-following systems.

    OWASP LLM01:2025 defines prompt injection as the leading vulnerability in LLM applications for the second consecutive year. In agentic systems it is especially dangerous because the agent executes the injected instructions — it does not merely respond to them.

    2. Over-permissioned tool access

    Most enterprise agents are deployed with service account credentials that grant far broader access than any individual task requires. A customer support agent may be authenticated to the entire CRM. A document summarization agent may have write access to file systems it only needs to read. A code review agent may be connected to production deployment pipelines.

    OWASP's Excessive Agency category — one of the most significantly expanded entries in the 2025 Top 10 — identifies three root causes: excessive functionality (tools the agent does not need), excessive permissions (access broader than the task), and excessive autonomy (high-impact actions without human approval). When a compromised agent inherits a service account's credentials, the blast radius is determined by what the account can reach, not what the task required.

    3. MCP-enabled data aggregation and exfiltration

    Model Context Protocol has become the standard infrastructure for connecting AI agents to enterprise systems — CRM, file storage, email, databases — through a single protocol layer. The MCP specification explicitly states it cannot enforce security principles at the protocol level. Security is the operator's responsibility.

    In practice, most operators have not enforced it. Security firm Knostic found over 1,800 MCP servers on the public internet without authentication enabled as of 2026. An agent operating over MCP can aggregate data across systems that would never be accessible in a single human session, then transmit it externally through any outbound tool in its toolkit.

    Real incident — Supabase Cursor agent (mid-2025)

    A Cursor agent connected to Supabase ran with privileged service-role access and processed support tickets that included user-supplied text as commands. Attackers embedded SQL instructions to read and exfiltrate sensitive data. The agent executed the instructions because it could not distinguish a support ticket's content from a legitimate command.

    4. Shadow AI agents with enterprise-level permissions

    IBM's 2025 Cost of a Data Breach Report found that one in five organizations experienced a breach attributable to shadow AI, with only 37% having policies to detect it. These are not employees pasting into ChatGPT — they are business units deploying autonomous agents without IT review, connected to production systems, operating outside any security perimeter.

    The Cyberhaven 2026 AI Adoption & Risk Report found 39.7% of enterprise AI interactions involve sensitive data. The 99th percentile of AI-adopting organizations use more than 300 GenAI tools. The majority of those interactions happen outside sanctioned, monitored environments. Shadow AI at scale is not a user behavior problem. It is a governance architecture problem.

    5. Multi-agent data leakage through orchestration chains

    As enterprises adopt multi-agent architectures — an orchestrator delegating to specialist sub-agents — a new leakage surface emerges. A compromise in one agent propagates through the chain via shared context or inter-agent message passing. Data retrieved by one agent is passed to others, creating commingling of information that would never coexist in a single-agent workflow.

    February 2026 research published at arXiv formalized this as OMNI-LEAK (Orchestrator Multi-Agent Network Induced Data Leakage), demonstrating that the orchestrator pattern — now widely deployed in enterprise environments — creates a systematic data leakage vector that existing security frameworks have not adequately addressed.

    Why traditional DLP tools cannot detect AI agent data leakage

    Data loss prevention tools were built to detect known sensitive data patterns in outbound traffic. AI agent exfiltration breaks every assumption that model was built on.

    Cyberhaven's Winter 2026 research found over 80% of exfiltrated data is fragmented across multiple interactions. Content inspection tools that look for complete sensitive records miss the vast majority of actual exfiltration. The problem is not that DLP needs tuning. It is that DLP evaluates data content at a single point, not agent behavior across a chain of actions.

    The payload looks legitimate

    An agent calling a summarization API with customer records as context generates outbound traffic indistinguishable from an authorized API call. No sensitive data signature in the payload. No DLP rule triggers.

    The sensitivity is in the aggregation

    A single field pulled from a CRM may not trigger a DLP rule. The same field combined with records from five other systems — as an agent freely does in a single task — creates exposure that no individual API call reveals.

    Agents have no endpoint

    DLP monitors user devices and email gateways. Agents run in cloud orchestration platforms. There is no endpoint to instrument.

    Speed defeats post-hoc review

    An agent can execute hundreds of actions in the time a security team reviews one alert. By the time a SIEM flags an anomaly, the data has already left.

    Six controls that prevent AI agent data leakage

    The fixes are architectural, not procedural. Policies help. They are not sufficient.

    1. 01

      Eliminate the lethal trifecta through architectural separation

      No single agent should simultaneously have private data access, exposure to untrusted external content, and outbound communication capability. Where that combination is operationally necessary, the controls below become mandatory. The safest deployment separates read-only agents from write-capable agents, and limits external content processing to agents without sensitive data access.

    2. 02

      Apply least privilege at the task level, not the role level

      Every agent should be scoped to the minimum data and tools required for its specific task at execution time. Not the minimum for its role, not the minimum for the team — the specific task. A summarization agent needs read access to the document being summarized, not the entire document store. Credentials should be scoped to the calling user's permissions where possible, not to a shared service account.

    3. 03

      Treat all processed external content as untrusted

      Any content the agent retrieves from outside the operator's direct control — web pages, user-submitted files, external emails, third-party API responses, RAG-retrieved documents — must be treated as potentially adversarial. Require human confirmation before the agent acts on instructions that appear in retrieved content, particularly when those instructions trigger outbound actions.

    4. 04

      Gate outbound actions with runtime approval

      Any agent capability that transmits data externally — sending email, calling external APIs, posting to external services — requires explicit approval before execution, particularly when the triggering instruction originated from processed external content rather than directly from the operator.

    5. 05

      Monitor agent behavior in real time, not just log it

      Logging records what happened. Behavioral monitoring detects what is about to happen. An agent that has retrieved sensitive data from three different systems and is about to make an outbound API call is exhibiting a pattern that post-hoc logging captures too late. Real-time behavioral monitoring evaluates the action chain as it develops and intervenes before execution.

    6. 06

      Build and maintain a complete agent inventory

      You cannot govern agents you do not know about. Every deployed agent must be documented: what systems it can access, what tools it has, what credentials it uses, who deployed it, and what its intended scope is. In most enterprises today, this inventory does not exist. It is the precondition for every other control.

    The underlying principle

    AI agent data leakage is not a model problem or a user behavior problem. It is a permissions and control problem. Agents leak data because they have more access than they need, no separation between instructions and content, and no runtime layer evaluating whether a proposed action is appropriate in context. These are solvable architecture problems.

    How Intellicor addresses agent data leakage

    Intellicor's runtime decision system sits between your agents and the systems they act on. Before any action executes — data retrieval, API call, external transmission — it evaluates the proposed action against the agent's current task context, the data involved, and the behavioral baseline for that agent type. Actions that match the lethal trifecta pattern are flagged, scored, and routed for approval or blocked before the data leaves.

    Frequently asked questions

    Why do AI agents leak data?

    +

    AI agents leak data for three structural reasons: they carry broader permissions than any individual task requires, they cannot reliably distinguish legitimate instructions from malicious ones embedded in content they process, and they operate continuously without a human reviewing each action. The combination — the lethal trifecta — makes most deployed agents unconditionally vulnerable to data exfiltration through indirect prompt injection.

    What is the most common way AI agents leak data?

    +

    Indirect prompt injection is the most exploited mechanism in 2026: malicious instructions embedded in content the agent processes — emails, documents, web pages — cause it to exfiltrate data through legitimate outbound actions. Over-permissioned tool access amplifies the blast radius when injection succeeds.

    What is the lethal trifecta in AI agent security?

    +

    The lethal trifecta is a term coined by security researcher Simon Willison describing three capabilities that, when simultaneously present in an AI agent, guarantee exploitability: access to private data, exposure to untrusted external content, and the ability to communicate externally. Any agent combining all three is unconditionally vulnerable to indirect prompt injection leading to data exfiltration, regardless of model alignment or system prompt hardening.

    Can traditional DLP tools detect AI agent data exfiltration?

    +

    No. Traditional DLP detects known sensitive data patterns in outbound payloads. AI agents exfiltrate through legitimate API calls where the payload carries no classifiable sensitive data. Cyberhaven's 2026 research found over 80% of exfiltrated data is fragmented across interactions. Runtime behavioral controls are required.

    How do you prevent AI agent data leakage?

    +

    Six architectural controls are required: eliminate the lethal trifecta by separating data access, untrusted content processing, and outbound capability; apply least privilege at the task level not the role level; treat all externally-retrieved content as untrusted; gate outbound actions with runtime approval; monitor agent behavior in real time rather than just logging; and build a complete agent inventory.

    How does MCP increase the risk of AI agent data leakage?

    +

    MCP connects agents to multiple enterprise systems through one protocol layer. The MCP specification states it cannot enforce security at the protocol level. Security firm Knostic found over 1,800 MCP servers on the public internet without authentication in 2026. An agent operating over MCP can aggregate and transmit data from systems that would never be accessible in a single human session.

    The bottom line

    AI agents leak data because they were built to be useful, not secure. They follow instructions, aggregate information, and take action — and nothing in their design prevents them from doing those things in response to malicious instructions embedded in the content they process. The four production exploits disclosed in January 2026 within five days were not anomalies. They were predictable consequences of deploying agents with the lethal trifecta intact.

    The fix is not a better system prompt or a more aligned model. It is architectural separation of capabilities, least-privilege scoping at the task level, and a runtime control layer that evaluates agent behavior before it executes. Build those into your architecture, and the lethal trifecta becomes a manageable risk rather than a guaranteed vulnerability.

    Related reading

    Runtime control for agentic AI

    Stop data leakage before it leaves your agents.