Agents
The lethal trifecta is Simon Willison's name for a dangerous mix of three agent capabilities: access to private data, exposure to untrusted content, and the ability to communicate externally.
The lethal trifecta is Simon Willison's name for a dangerous mix of three agent capabilities: access to private data, exposure to untrusted content, and the ability to communicate externally. When an agent has all three, an attacker can plant instructions in content the agent reads and get it to send the private data out. Willison argues that guardrails which catch most attacks are not enough. The reliable fix is to remove at least one of the three, for example by cutting outbound network access for any agent that reads untrusted input.
Primary source: simonwillison.net
Example
The reliable fix is to remove at least one of the three, for example by cutting outbound network access for any agent that reads untrusted input.
Hands-on guides, comparisons, and tutorials that cover Agents.
FAQ
The lethal trifecta is Simon Willison's name for a dangerous mix of three agent capabilities: access to private data, exposure to untrusted content, and the ability to communicate externally.
Lethal Trifecta sits in the Agents part of the AI stack. Understanding it helps you make better decisions when building, debugging, and shipping AI features.
Developers Digest publishes tutorials and videos that cover Agents topics including Lethal Trifecta. Check the blog and YouTube channel for hands-on walkthroughs.
Related
Least privilege is the security rule that every program and user should run with the smallest set of privileges needed for the job, here applied to the tools, credentials, and permissions an agent holds.
Data exfiltration is when an agent is manipulated into sending private data it can reach to a place the attacker controls.
Recording each step of an LLM application as a tree of timed spans, so you can see which prompts, model responses, tool calls, and handoffs happened in one request and how long each took.

New tutorials, open-source projects, and deep dives on coding agents - delivered weekly.