The exit is an ordinary gesture
Traditional data loss prevention (DLP) tools watch for volume anomalies: a mass database extraction, a large archive sent out or a stream opened to an unknown server. An agent compromised by injection triggers none of these signals. It performs exactly the operations it was deployed for: writing a message, formatting an answer or calling a business connector. The sensitive information escapes inside one of these legitimate calls, in discreet fragments, to a collection point the adversary chose.
In its April 2026 bulletin, CERT-FR puts this mechanism at the top of the threats: "leakage of sensitive data by AI agents to uncontrolled external resources" (our translation), caused as much by hijacked command execution as by prompt injections hidden in the content being processed.
An exfiltration carried out by an agent does not give itself away by its volume. It is caught by controlling the destination of the call and the source that motivated it.
A review of public incidents brings out four recurring vectors: image loading, the hyperlink, the write-capable tool call and the hijacking of an authorized relay.
The image: the browser does the work
As soon as a web interface interprets the markup a language model generates, displaying a simple image triggers an outgoing network request. The researcher Johann Rehberger demonstrated this vector on Bing Chat in a post dated June 18, 2023. Because the interface converted the model's Markdown into HTML, an instruction injected into a page being read could order the model to insert an image tag pointing to an external server and to append, as a URL parameter, information extracted from the session. As Rehberger stresses, the browser on the client machine then requests that address automatically to display the image, without a single click from the user, delivering the data to the attacker's server.
The remediation timeline appears in his write-up: reported to the Microsoft Security Response Center (MSRC) on April 8, 2023, the vulnerability was fixed, with the fix confirmed on June 15, 2023. Microsoft deployed a content security policy (CSP) restricting the domains allowed to serve images. While noting that he does not know all the internal measures the vendor took, the researcher observes that this CSP filtering is a centerpiece of the fix.
Microsoft describes the same mechanism in its technical post of July 29, 2025: an attacker can force the model to emit an image tag, or its equivalent in formatting syntax, whose URL targets the attacker's own collection server.
The link: the user clicks
That same Microsoft publication details the second interface vector: the injected instruction leads the model to present a hyperlink pointing to the adversary's infrastructure and to urge the user to open it. Unlike automatic image loading, this method needs an action from the victim and delivers the data encoded in the address only if the person actually clicks the link.
The tool: the agent writes it out itself
When an agent has application connectors, it no longer needs the user's browser to ship data out. Its own tools do it. In the compromise of the GitHub MCP server demonstrated by Invariant Labs on May 26, 2025, the agent copied the content of private repositories straight into the body of a pull request opened on a public repository. No booby-trapped image or link was needed: the exfiltration channel was nothing other than the standard write function of the GitHub connector. The researchers recovered data from private repositories as well as personal details of the target account.
The official specification of the MCP protocol identifies this risk, recommending that client applications show the full parameters of a tool call to the user before it runs, to prevent accidental or malicious leaks. This still requires the operator to actually inspect those arguments and spot a sensitive item slipped into the middle of technical text. As the authors of the GitHub study point out, many users get around this friction by choosing an "always allow" confirmation policy.
More directly still, the tool server itself can act as a Trojan horse. According to the analysis published by Koi Security, the malicious package postmark-mcp, which impersonated the official Postmark email connector, introduced in its version 1.0.16 an instruction that added an address controlled by its author as a hidden copy on every outgoing email. No prompt injection was needed here: the tool silently duplicated everything the agent entrusted to it. This supply chain risk is detailed in our dossier on MCP and tool server security.
The authorized relay: EchoLeak
Documented in September 2025 by Reddy and Gujral, the EchoLeak vulnerability (CVE-2025-32711) targeted Microsoft 365 Copilot. The researchers demonstrate a remote, unauthenticated data exfiltration, triggered by the mere receipt of a booby-trapped email that crosses the model's trust boundaries with no action from the user. To get past perimeter defenses, the exploitation chain bounced, among other things, off an internal Microsoft Teams proxy that was on the allowlist of the content security policy (CSP). Without reproducing the implementation details here, the architectural lesson is major: the CSP lock put in place after the Bing Chat episode stops working as soon as a legitimate domain that the policy allows agrees to relay requests to the outside.
The finding boils down to one engineering principle: an allowlist of destinations protects the perimeter only if none of the services on it can serve as an open bounce point.
Microsoft's catalog: named channels, a consent rule
In its July 29, 2025 analysis, the Microsoft response center lays out a typology of the four exfiltration vectors observed against applications built on language models. The first goes through image rendering, where the client browser contacts the attacker's server on its own and hands over the data without any gesture from the user. The second relies on clickable links, which depend on a human action. The third uses tool calls directly: as soon as the application has write capabilities, a successful injection can export data through that route, as with a connector pushing content to a public GitHub repository. The fourth exploits side channels: when running a tool has an effect observable from the outside, the injection can transmit information bit by bit simply by triggering the call or not.
The third vector, tools, is entirely free of the graphical interface, and its surface grows with every new connector plugged into the agent. Simon Willison sums up its reach for the MCP ecosystem: the protocol invites you to assemble building blocks from mixed origins, many of which access internal data, while the routes by which a tool can emit to the outside are practically unlimited. Any connector able to make an HTTP request, fetch a remote resource or submit a form offers a potential return channel. As he points out, a simple mailbox-reading connector is by nature an ideal entry point for untrusted content, since any third party can send the agent an email.
To contain these leaks, Microsoft sets out a defense-in-depth strategy that combines deterministic blocking of the known exfiltration vectors with neutralization of suspicious links the model generates. But when the residual risk of an action can be neither detected with certainty nor mitigated technically, the vendor falls back on the explicit consent of the human operator: in Outlook, Copilot prepares the draft of a message in the user's name, but the user must validate the content and trigger the send personally. Microsoft accepts the friction this adds to the user journey, judging the lock indispensable to prevent leaks and unwanted sends.
The enterprise defender should take two structural points from this. First, even the vendor that controls its own software end to end closes each exit channel with strict deterministic rules, which cover only the vectors identified within its perimeter. Second, human validation serves at Microsoft as the last barrier when automatic filtering is no longer enough. In an enterprise, though, an agent federates tools from many vendors rather than a single application with bounded channels, so control of destinations has to be provided by a governance layer owned by the company.
What makes the leak possible?
Simon Willison reduces the conditions for a successful exfiltration to the meeting of three factors he calls the "lethal trifecta": access to confidential data, ingestion of content outside your control and a channel of communication to the outside. Exfiltration is the materialization of the third factor. The most direct architecture rule of this dossier follows: any agent that mixes untrusted external sources with sensitive internal data must be barred from any uncontrolled network or application output.
In each of the four cases examined above, a strict control on the destination is enough to break the chain: forbid image loading outside approved domains on Bing Chat, block writing to a public repository after reading a private one on GitHub, refuse any unknown external recipient on a mail tool and shut down open-redirect functions on internal relays.
The advantage of this approach over prompt filtering is decisive. An input classifier tries to recognize the syntax of an attack that keeps moving. An output control inspects the accomplished fact: an internal datum about to cross a boundary to an unauthorized recipient. Because it rules on the effect and not on the trick used, this barrier holds even against a new injection wording. Cerberus holds the door: keys for the length of one act, signed tools, and nothing leaves except through it.
Which defenses, from weakest to strongest?
- Filter injections at the input. This first layer reduces background noise but can still be bypassed, as EchoLeak proved by defeating the XPIA classifier placed upstream.
- Disable active rendering in the interface. Blocking automatic display of remote images and links to third-party domains neutralizes browser-based leaks, but leaves every background tool call untouched.
- Restrict destinations with an allowlist. In line with CERT-FR's recommendations, the authorized domains, repositories and correspondents are explicitly enumerated, taking care to exclude any service that could act as an open relay.
- Segregate privileges per session. An agent assigned to work through incoming emails or tickets has neither simultaneous access to confidential directories nor a free send connector to the outside.
- Evaluate every outgoing call inline. Before any execution, the checkpoint verifies the sensitivity of the data, the identity of the recipient and the history of sources read during the session, holding any boundary crossing for a person.
Only these last two measures start from the realistic assumption that the model will eventually be fooled. The job of a security architecture is not to guess every possible injection wording, but to guarantee that a manipulated agent meets a closed door at the moment it tries to extract the data.
SentinelOS sits inline between your agents and every resource they call on. Deployed on your own infrastructure, it ensures that no data leaves your perimeter by default.
The clock on a silent exfiltration
Article 33 of the GDPR requires the controller to notify any personal data breach to the supervisory authority within 72 hours "after having become aware of it", unless the breach is unlikely to result in a risk to the rights and freedoms of individuals. Applied to an exfiltration carried out by an agent, the whole difficulty lies in that moment of awareness: because the leak uses technically authorized tool calls, it raises no intrusion alert. Without a log that correlates internal reads with outgoing calls, the company cannot detect the event, bound its duration or count the records exposed, which is information that paragraph 3 of the same article requires.
Upstream, Article 32 prescribes technical measures that ensure lasting confidentiality of processing systems. Keeping a tamper-proof log that ties each send by the agent to the documents it held in context is the indispensable foundation for meeting both obligations at once. The detail of this architecture is set out in our pages on tamper-proof logs and signed receipts and AI agent security.
A leak through an agent is handled as an incident, with its deadlines. What left, to whom and on the order of which document is settled with the decision log, not the network logs; responding to an agent incident details the order of steps. And when the document that triggered the send comes from the company's knowledge base, the attacker did not need to touch the agent: writing into what the agent consults was enough, a case covered in knowledge base poisoning.
Closing the exits one by one
- They inventory every exit route of each agent. Interpretation of image or link tags, database write connectors, email sending, webhook calls, code repositories and form submission are all listed exhaustively.
- They disable by default every outgoing channel the task does not need. Loading remote images in the chat interface and free sending to external addresses are cut.
- They filter destinations with an allowlist and audit for the absence of relays. Each domain or service authorized for output is checked so that it cannot serve as a bounce point to a third party.
- They track sensitive data crossing the boundary. Any outgoing call that follows the reading of a protected internal source is covered by a specific rule, whatever tool it goes through.
- They submit external sends to the informed approval of a person, showing clearly on the validation screen the exact content ready to go and its recipient, not just the name of the function called.
- They record, for each output, the exact state of the context the agent read. This causal link in the log is the necessary condition for qualifying and notifying an incident within the legal deadlines.
SentinelOS judges every action of your agents before it leaves, holds the ones that matter for a person, and signs every decision. Installed on your premises.
Discover SentinelOSSources
- CERT-FR, CERTFR-2026-ACT-016, April 13, 2026. cert.cyber.gouv.fr
- Johann Rehberger, "Bing Chat: Data Exfiltration Exploit Explained", Embrace The Red, June 18, 2023. embracethered.com
- Andrew Paverd, Microsoft Security Response Center, "How Microsoft defends against indirect prompt injection attacks", July 29, 2025. microsoft.com
- Invariant Labs, "GitHub MCP Exploited: Accessing private repositories via MCP", May 26, 2025. invariantlabs.ai
- Model Context Protocol, specification 2025-06-18, "Tools". modelcontextprotocol.io
- CSO Online, "Trust in MCP takes first in-the-wild hit via squatted Postmark connector", September 26, 2025. csoonline.com
- Reddy and Gujral, "EchoLeak: The First Real-World Zero-Click Prompt Injection Exploit in a Production LLM System", arXiv:2509.10540, September 2025. arxiv.org
- Simon Willison, "The lethal trifecta for AI agents", June 16, 2025. simonwillison.net
- Regulation (EU) 2016/679 (GDPR), Articles 32 and 33. eur-lex.europa.eu
