Field NotesOctober 2025
Injection is the constant and the fix lands on the exit: read AI assistant data leaks by who sends the last request
We read 11 data-exfiltration findings in AI assistants, published between May and October 2025, as one class. In the 7 cases where the fix is described, 6 changed the channel the data left through. We sort egress into five channels by who sends the request that carries the data, and give an egress review checklist.
In this piece
Between May and October 2025, researchers published a run of findings with one structure. An attacker hides instructions in content an AI assistant will read: an email, a document, a calendar invitation, a hidden comment in a pull request. Working for a user, the assistant reads it, collects private data the user may see, and lets that data leave. Affected products include Microsoft 365 Copilot1, ChatGPT's connectors and Deep Research23, Salesforce Agentforce4, GitHub Copilot Chat5, Gemini6 and Notion7.
Four of the eleven write-ups call their finding zero-click1823; the Gemini paper rates its own attack as half a click6. In practice the victim need not click anything the attacker supplied; ordinary use of the assistant is the trigger. We read the findings as one class and ask two questions: which request carried the data out, and who sent it.
We make two claims. First, across these 11 cases the injection is the constant and the fix lands on the exit: of the 7 cases with a described fix, 6 changed the channel the data left through. Second, egress should be classified by who sends the request that carries the data, because that decides whether the victim organisation's own network controls and logs see anything. By our classification, in only 3 of the 11 cases did data go straight from the victim's device to a domain the attacker chose freely.
01Eleven findings, one structure#
We selected findings published between May and 21 October 2025, with a first-hand write-up, against an assistant or agent connected to private data. Unless marked, each cell comes from the finder's write-up cited in its row.
Legit Security: GitLab Duo, hidden prompt and HTML image; reported 12 February13
Client-sideInvariant Labs: GitHub MCP server, private-repository leak14
Write-backZenity Labs: Copilot Studio agent; reported 21 February, fixed 24 April8
Write-backRadware: ShadowLeak; reported 18 June3
Service-sideCodeIntegrity: Notion 3.0 agents, web-search exfiltration7
Service-sideNoma Security: ForcedLeak; reported 28 July4
Client-sideLegit Security: CamoLeak (the page now shows 30 September); GitHub says fixed as of 14 August5
First-party relayAdam Logue: Microsoft 365 Copilot, Mermaid-diagram exfiltration; reported 15 August12
Client-side
Entry point and data#
| Case | Entry point | Data in reach | What the victim does |
|---|---|---|---|
| GitLab Duo | Hidden text in a merge request description, comment or source file of a public project13 | Private code and confidential issues the victim can read | Asks Duo to review or explain the merge request |
| GitHub MCP | Issue on a public repository14 | Private repositories of the same account | Asks the agent to check the issues; no further prompt under an always-allow setting |
| EchoLeak | External email phrased as if for the recipient1 | Chat history and Microsoft Graph content in Copilot's context | Asks Copilot a question that retrieves the email |
| Copilot Studio | Email to the inbox of an agent Zenity rebuilt from McKinsey's public example8 | Knowledge-source file and CRM records its tools can query | Nothing; incoming mail triggers the agent |
| AgentFlayer | Document with 1px white text, uploaded by the victim or shared into their Drive215 | Connected Google Drive | Asks ChatGPT to summarise the document |
| Gemini | Calendar invitation title or email subject6 | Calendar event titles and email subjects | Asks Gemini about the day's events or emails, then says thanks |
| ShadowLeak | HTML email with instructions in tiny or white text3 | Mailbox behind the Gmail connector | Asks Deep Research to research the day's emails |
| Notion | PDF with hidden text7 | Private workspace pages | Asks the agent to summarise the PDF |
| ForcedLeak | Description field of a Web-to-Lead form (42,000 characters)4 | CRM lead data | An employee asks Agentforce to handle the lead |
| CamoLeak | Hidden comment in a pull request description5 | Private code and issues the victim can read | Asks Copilot Chat to explain the pull request |
| Mermaid diagram | Crafted Office document12 | Tenant data such as recent emails | Asks Copilot to summarise it, then clicks a fake login button |
By the last column, only Copilot Studio involves no person, the Mermaid case needs one click, and in the other nine the victim asks the assistant for an ordinary task.
Exit and fix#
| Case | Exit | Who sends the request with the data | What was trusted | The fix, and who says so |
|---|---|---|---|---|
| GitLab Duo | HTML <img> tag in the response | Victim's browser, straight to the attacker's server | Streaming rendering lets HTML act before sanitisation; DOMPurify keeps <img> by default | Finder: Duo no longer renders tags such as <img> and <form> pointing outside gitlab.com; GitLab also confirmed an injection-side fix, no detail13 |
| GitHub MCP | Pull request the agent opens on the public repository | Agent's GitHub tool, to GitHub | One permission set covers public and private repositories | None described. Finder: GitHub cannot resolve it with a server-side patch14 |
| EchoLeak | Reference-style Markdown image pointing at a Teams endpoint | Browser, to a Teams domain; a Microsoft server then fetches the attacker's URL | Image CSP allowlist includes Teams and SharePoint domains1 | Microsoft: fully mitigated, no user action. Change not described11 |
| Copilot Studio | Agent's send-email action | Agent in Microsoft's service, to the attacker's mailbox | Mail from any sender triggers the agent | Finder, after retest: mainly a prompt-injection classifier; Microsoft gave no detail8 |
| AgentFlayer | Markdown image on Azure Blob | Browser, to the attacker's Azure storage | url_safe check passes Azure Blob URLs2 | Per WIRED, the finder says OpenAI quickly added mitigations. Not described15 |
| Gemini | Assistant calls Android's open-URL utility | Browser on the victim's phone | Guard blocked only opening a URL right after assembling it; two turns passed16 | Google: more user confirmations, URL sanitisation with Trust Level Policies, content classifiers6 |
| ShadowLeak | Agent's browsing tool | Agent in OpenAI's cloud | Finder saw no restriction on URLs the agent can open | Fixed in early August; method not described3 |
| Notion | Web search tool, whose query field takes a URL | Tool on Notion's side | Tool sends a URL as a query7 | Per The Decoder's report of Notion's response: better detection, user approval before agents open suspicious links, admin switch for web access17; the help page lists the same18 |
| ForcedLeak | <img> on an expired domain still on the allowlist | Browser (assumed), to the domain the researchers re-registered | Expired domain on the image CSP allowlist | Finder: Salesforce re-secured the domain, and enforced Trusted URLs on 8 September4 |
| CamoLeak | Run of pre-signed Camo image URLs, one per character | Browser, to Camo; Camo then fetches the attacker's image | Camo's signature shows only that GitHub generated the URL | Finder: GitHub disabled image rendering in Copilot Chat completely5 |
| Mermaid diagram | Diagram link styled as a login button | Browser, after the user clicks | A diagram can link to any domain | Finder, after retest: Microsoft removed interactive dynamic content from diagrams12 |
Three sender cells are assumptions. Noma does not say what sent the image request, but it bypassed a CSP, which the browser enforces19. Invariant does not say where the GitHub tool runs14, nor CodeIntegrity where the search tool runs7. For Notion, The Decoder presents the changes as the company's response to the report17; the help page does not name it18.
Severity and identifiers#
- We found a CVE for EchoLeak only. CVE-2025-32711 was published on 11 June 2025 with Microsoft as assigning CNA; its description reads "Ai command injection in M365 Copilot allows an unauthorized attacker to disclose information over a network"9. MSRC's acknowledgements list Aim Labs20. Microsoft's CVSS 3.1 score is 9.3; NVD finished its own analysis on 10 July and gave 7.51021. Two metrics differ: Microsoft counts a scope change and a low integrity impact; NVD counts neither.
- MSRC says the CVE exists for transparency11. Aim's CTO told Fortune that Aim found the flaw in January and contacted MSRC, and that Microsoft took about five months, with a first fix attempt in April and related issues found in May22.
- ForcedLeak's CVSS 9.4 and CamoLeak's 9.6 come from the finders' write-ups45. Neither page says who assigned the score or cites a CVE.
- Zenity says Microsoft rated the Copilot Studio issue critical with information-disclosure impact8. MSRC ruled M365 Copilot out of bounty scope in the Mermaid case12.
- The other six write-ups give no CVSS score and no CVE. MSRC's acknowledgements of August and October 2025 credit five other Copilot information-disclosure CVEs to other finders20. CVE-2025-4976 (GitLab Duo, published 24 July) credits a HackerOne reporter whose name does not appear in Legit's write-up23.
On these records, a defender tracking this class through CVE feeds alone would have received 1 of the 11.
02Where the fix lands#
6 / 7
Cases with an egress-side change among the 7 with a described fix. Our classification of the table above
In four cases (CamoLeak, the Mermaid diagram, GitLab Duo and ForcedLeak) the only concrete part of the fix is on the egress side, and each removes or narrows a capability512134. For Gemini and Notion the vendors list injection-side detection alongside egress-side limits61718.
Copilot Studio is the one case fixed only on the injection side: the agent's job is to answer email, so the exit is the feature. After retesting, Zenity judged the fix to be mainly a prompt-injection classifier that blocklisted its payload, and argued that injections can be phrased in too many ways for that to hold8. Against this, Legit relays that GitLab also fixed the prompt-injection side13, without saying how.
In July 2025 MSRC stated this trade-off as policy: Microsoft does not rely on blocking every injection; it deterministically blocks Markdown image exfiltration and certain untrusted links; where impact cannot be mitigated well enough, it requires explicit user consent, as when the user must send a Copilot draft in Outlook themselves24.
Our inference: whether the exit can be separated from the feature decides where the fix lands. With images, links and arbitrary URL fetches off, the product still works. Sending mail and opening pull requests are what the agent is for; what remains is to restrict the recipient or add a human confirmation.
The same fix since 2023#
Willison wrote in June 2025 that vendors fixed almost all of these issues promptly, usually by locking down the exfiltration vector25. Our first claim only checks that sentence against the 2025 cases. The earlier record:
- Bing Chat (2023): Rehberger reported Markdown image exfiltration on 8 April and was told of a fix on 15 June. He observed a new CSP allowing images from a few trusted domains only26.
- ChatGPT (2023): in December Rehberger observed the web app calling a validation endpoint named
url_safefrom the client before showing an image. The rules were not published, and the iOS app lacked the check at the time27. - Copilot Chat in VS Code (2024): reported in February, fix confirmed in June. Rehberger observed that Markdown images were no longer rendered28.
- Slack AI (2024): the exit was a link the user had to click29. Slack says it deployed a patch on 20 August, without describing it30.
The egress control became the attack surface#
The 2025 cases add a layer. In at least 5 of the 11, the decisive step is a bypass of an existing egress control. EchoLeak got past link redaction and the image CSP1. AgentFlayer passed url_safe2. ForcedLeak used an expired domain on the CSP allowlist4. CamoLeak got past the CSP and Camo's signing5. The Gemini work got past a rule against opening a URL right after assembling it16. ShadowLeak may be a sixth: Radware suspects the tool-execution layer blocks suspicious requests, and says that after Base64 encoding that layer saw only a harmless string3.
The first four controls decide by host: three are CSP allowlists, and Radware describes url_safe as limiting images to trusted domains3. The CSP img-src directive restricts where images load from, and query strings play no part in the match19; nor does the policy know what an allowlisted host does with a request. A 2016 study measured a related weakness: 14 of the 15 domains most often whitelisted for loading scripts contained unsafe endpoints31. That study concerns scripts and cross-site scripting; we borrow only the structural lesson that an allowlist is as strong as its weakest endpoint.
03Five egress channels#
We classify an exit by who sends the request that carries the data and by what the victim organisation's own logs keep. Columns three and four are our untested inferences from the request paths in the write-ups.
| Channel | Who sends the request with the data | What the victim's network logs show | Who holds the evidence | 2025 cases |
|---|---|---|---|---|
| A Direct from the client | Browser or app on the user's device | Unfamiliar hostname | Organisation's DNS and web gateway, if the device is managed | GitLab Duo, Gemini, Mermaid diagram |
| B Borrowed trusted name | User's browser | Hostname under the vendor's or a large cloud provider's name | The same, but the name does not stand out | AgentFlayer, ForcedLeak |
| C First-party relay | Browser to the vendor; the vendor's server to the attacker | Vendor's own domains only | Vendor's logs, for the last hop | EchoLeak, CamoLeak |
| D Service-side tool | Browsing or search tool in the vendor's cloud | No connection to the attacker | Vendor's tool-call logs | ShadowLeak, Notion |
| E Connector write-back | Agent, writing into another system under its own identity | No connection to the attacker; at most a normal call to the destination system | Destination system's audit log | Copilot Studio, GitHub MCP |
A and B: the browser sends it; the name decides who notices#
MSRC lists images and links as two techniques24; for logging they are one channel, differing only in whether someone has to click. The organisation's web gateway sees an unfamiliar hostname; the path and query string that carry the data sit inside TLS and are invisible without decryption (our inference). The Gemini paper says its app-launching attacks apply to Android only6.
In channel B the request also leaves the browser, but the destination sits under a trusted name. The ForcedLeak domain was still on Salesforce's allowlist although its registration had lapsed; Noma says it cost USD 54. AgentFlayer used an Azure Blob storage account the attacker created, which url_safe let through2. The printed allowlists hold more such entries: Noma's includes *.amazonaws.com and *.cloudinary.com4; Aim's includes *.sharepoint.com, and Aim's first chain past the CSP used a SharePoint site in the attacker's own tenant1.
Our reading: each allowlist entry asserts that a trusted party controls the content under that name, and a wildcard for a multi-tenant service cannot keep that promise. Noma does not say it tested the other entries; we do not know whether they are exploitable.
C: a vendor server makes the last hop#
EchoLeak's last step is a Teams endpoint. As Aim describes it, the server requests the URL in a parameter on the client's behalf, and the user does nothing1. CamoLeak used Camo, a service built to do exactly that. GitHub's documentation says Camo generates an anonymous URL proxy for each file, hiding the browser's details from other users32. As Legit describes it, Camo verifies the signature and then fetches the image from its original location5.
A fetch made by the server defines this channel. Willison calls the Teams endpoint an open redirect33; we follow Aim's description. In the CSP Level 2 example, the target of a redirected image load must still match the source list19. Our inference: a redirect to a host outside the list fails img-src, while a server-side fetch happens where the browser cannot see it.
By our inference, the victim organisation's connection logs hold only the vendor's own domains. EchoLeak put the data in a URL parameter sent to the Teams endpoint1, which a gateway that decrypts TLS could in principle see. Every CamoLeak URL was pre-signed, one per character5. Our inference: no single request holds the secret string, the information is in the order of the requests, and inspection that matches on secret content finds nothing.
D and E: your network sees no connection to the attacker#
In channel D a tool in the vendor's cloud sends the request. Radware says the leak happens entirely inside OpenAI's cloud, where enterprise web gateways, endpoint monitoring and browser policies can neither see nor intercept it3. In the Notion case the web search tool sent the request, and its query field accepts a URL7. We infer that the record exists on the vendor's side only.
In channel E no request goes to the attacker at all: the Copilot Studio agent mailed the data out8, and the GitHub MCP agent wrote it into a public pull request14. MSRC files this under tool calls, with a write to a public GitHub repository as its example24. We infer that the traces sit in the destination system's sent-mail and event logs, where they look like the agent doing its job.
04Client-side and service-side: whose logs can see it#
Radware uses client-side and service-side to separate ShadowLeak from earlier work, and puts AgentFlayer and EchoLeak on the client side3. We keep the terms and add one point, again by inference: a client-side trigger does not mean you can see the real destination.
Triggered on the client (A, B, C)
- The request starts on the user's device; on a managed device it passes the organisation's DNS and web gateway.
- The egress control is the CSP and URL checks on the vendor's page. The customer cannot change them but can at least read the CSP.
Sent from the service or written back (D, E)
- A channel D request starts in the vendor's cloud and never crosses the organisation's network.
- Channel E writes into another system under the agent's identity; the trace is in the destination's audit log.
- The egress controls are tool switches, domain limits and human confirmation. What can be reconstructed later depends on the audit data the vendor provides.
What a vendor's audit log records has to be read field by field. For Microsoft 365 Copilot we read the Purview documentation as archived on 2 October 2025. Its listed properties include who interacted, when and in which app; the resources Copilot accessed, each with an XPIADetected flag for a detected cross-prompt injection attack; messages as identifiers with a JailbreakDetected flag; and an AISystemPlugin.Id of BingWebSearch when the public web was used34. Each accessed resource has a SiteUrl, the address Copilot read. In that version we found no property for the image or link URLs in a response.
Our reading: this log can answer what was read and whether the web was used, but not where data was sent. Microsoft may provide that in another log; we did not look. Notion's help page lists complete records of agent actions among its protections18; we did not verify the fields, nor read the audit documentation of OpenAI, Salesforce or GitHub.
05How this relates to existing models#
Willison's lethal trifecta is access to private data, exposure to untrusted content and the ability to communicate externally; when all three hold, an attacker can take the data25. It answers whether a deployment is exposed, and for that question an image load, a link to click and an API request are all external communication. Our classification works inside that third element and answers two other questions: which log holds a trace, and which segment the vendor changed when it says the issue is fixed.
MSRC sorts by technique: HTML images, clickable links, tool calls and covert channels24. Our A, B and C mostly fall under HTML images there, yet leave different records. Covert channels do not appear in these 11 cases and are outside our classification.
Aim Labs coined the term LLM scope violation for untrusted input that makes the model attend to trusted data in its context without the user's consent1; Willison does not think it is a new pattern33. The term describes the injection and read side, which we leave aside.
Exits have to be reviewed one at a time. In June 2025 Google said Gemini's Markdown sanitiser does not render external image URLs, so the EchoLeak technique does not apply to Gemini35. In the calendar-invite research, reported in February and published that August, the data left another way: the assistant launched the phone's browser6. Closing a channel has a certain effect, and it covers that channel only.
06Egress review checklist#
This is a design checklist; we have not run it against any product.
Twelve checks#
| No. | Check | Channel | Basis |
|---|---|---|---|
| 1 | List every source the assistant reads that an outsider can write to: external email, shared documents, calendar invitations, public forms, issues, pull requests. Note the private data readable at the same time. | All | The 11 entry points |
| 2 | List every way data can leave: images, links, diagrams and HTML in responses; browsing, search and fetch tools; connectors that can write or send. Enter each in the register. | All | Gemini |
| 3 | Does a response load external resources automatically? Copy the CSP the product page actually sends (browser developer tools). | A, B, C | EchoLeak, ForcedLeak |
| 4 | For each allowlist entry: is the domain still registered to the vendor? Is it a multi-tenant service where anyone can host content? Is it a wildcard? | B | ForcedLeak, AgentFlayer |
| 5 | Ask the vendor whether any allowlisted domain has an endpoint or image proxy that fetches an arbitrary URL for the client. A customer cannot verify this; get it in writing. | C | EchoLeak, CamoLeak |
| 6 | Can links and diagram buttons in a response point at any domain? Is there a warning before leaving the site? | A | Mermaid diagram, Slack AI |
| 7 | Can the assistant launch other apps or open URLs? Does mobile and desktop app traffic pass the organisation's gateway? | A | Gemini |
| 8 | Can browsing, search and fetch tools be switched off, or limited to named domains? Can a tool parameter be an arbitrary URL? | D | ShadowLeak, Notion |
| 9 | Can a private-data connector and an outward-facing tool be active in one session? Separate them where possible. | D | ShadowLeak |
| 10 | For each connector that can write or send: can the recipient or destination be restricted? Is human confirmation required? Who can trigger an automatic agent? | E | Copilot Studio, GitHub MCP |
| 11 | For each register row, record which log would show data leaving this way, who holds it and for how long. Ask the vendor for service-side tool-call logs; without them, record the exit as not visible. | All | ShadowLeak; the Purview property list |
| 12 | When a vendor says an issue is fixed, ask whether the change is on the injection or the egress side. An egress change should come with a reproducible description; with injection-side detection only, treat the exit as still open. | All | The three undescribed fixes; Copilot Studio |
Items 8 to 10 can be compared with existing controls. Notion says admins can turn web search off completely and can require permission before agents visit websites18. Zenity advises defining the exact addresses allowed to trigger an email-driven agent8. Invariant advises limiting an agent to the repositories it needs14.
Egress register#
One row per exit.
| Field | Content |
|---|---|
| Path | For example: a Markdown image in a response; web browsing in Deep Research; an agent's send-email action |
| Channel | A to E |
| Who sends the request | User's device, vendor's server, or the agent's identity in the destination system |
| Destination limits | None; a CSP allowlist (attach the text and the date copied); a vendor URL check; an admin-set domain list |
| Data in reach | Private data the assistant can read while this exit is open |
| User action needed | None; normal use; a click; a confirmation dialog |
| Log | Which log holds a trace, who holds it, how long it is kept; if none, record the exit as not visible |
| How and when confirmed | Documentation, a written vendor answer, or a test-tenant check with a harmless marker string; confirm again after a product release or settings change |