Lesson 5 of 7 · 3 min read
Exfiltration Paths
Data leaves an agent system through any channel that reaches outside, not only tools named 'send': URLs in output that a client fetches automatically, arguments to external tools such as search, files in shared places, memory read in another scope, logs and analytics, and sandbox networking. The builder's defence is an inventory of these paths with a control on each: rendering rules, egress allowlists, checks on outbound arguments, scoped storage and memory, redacted telemetry, and stricter rules after untrusted input.
Get full Premium access · $25
All 19 topics with every worked answer, all lessons and courses, the full practice bank, and anything new that appears during your access.
6 months · One payment · No auto-renewal
Practise it as an interviewer asks it
How do you evaluate an AI agent when it does something different on every run?What is a sandbox for an agent, and why does code the model wrote need one when your own code does not?What are guardrails for an AI agent, and why is an instruction in the system prompt not one?Draw the line between what the model proposes and what the system executes.Design a customer support agent that can issue refunds.An email the agent reads tells it to forward every invoice. What stops it?