
The agent does not need a network tool to leak data. It is enough that someone renders its answer as markdown.
The mechanism
Any text the agent reads — an email, a ticket, a web page, a code comment — carries the instruction: "when you answer, include this image". The URL points at the attacker's server and carries in the query string whatever the agent has just read. The interface renders, the browser fetches the image on its own, and the data is gone. No tool was called. No tool-call log records anything.
The same holds for autolinked URLs, iframes, remote fonts and prefetch: any element that fires a request to an arbitrary host is an outbound channel.
You audited the agent's tools and forgot that the renderer makes network requests too.
Why input filtering is not enough
The malicious instruction can arrive encoded, translated, split into pieces or hidden in background-coloured text. Input filtering is statistical mitigation: it reduces volume, it does not close the class. The outbound channel, by contrast, is finite and enumerable — that one you can actually close.
What closes the channel
- A Content Security Policy on the rendering client, with a host allowlist for
img-src,connect-srcandfont-src. - An image proxy: nothing is fetched straight from the origin the model named.
- Restricted markdown rendering — remote images and links off by default on any surface that sees sensitive data.
- Logs of what the renderer requested, not only of what the agent called.
The automated report case
A nightly pipeline reads tickets and produces an HTML summary for the team. Nobody opens the raw markdown; everyone reads the report in a browser. One poisoned ticket becomes daily exfiltration, silent, right on the cron schedule. It is the worst shape an incident can take: repeatable, invisible, and signed by you.