Securitycore
Data exfiltration
Getting private data out through the model: links, images, tool calls, emails.
What it is and why it exists
Once private data is in the context, an injected instruction can push it out via any channel the system offers: a Markdown image URL, a clickable link, a web-fetch tool with query parameters, an email or Slack tool, even a search query to an external engine.
Quick prototype
Not considered.
In production, at scale
Remove channels: egress allow-lists for fetch tools, no rendering of untrusted image URLs, recipient allow-lists for send tools, approvals on outbound messages, and the rule of two (don’t combine untrusted input, private data and an outbound channel).
Vendors and tools
| Egress proxies / firewall rules | Network-level allow-lists |
|---|---|
| CSP (Content-Security-Policy) | Block image loads to unknown domains in the UI |
On AWS: VPC egress controls, AWS Network Firewall, no internet access for agent runtimes that hold private data.
How it fails
- A “summarise this page” agent that also has email access
- Image proxy that fetches any URL
What the interviewer asks next
List the exfiltration channels in a typical chat app.
Rendered images and links, any tool that makes network requests, tools that send messages or create shared documents, and logs or tickets that third parties can read.