The lethal trifecta
For engineers
Private data plus untrusted content plus a way to send data out equals data theft, and how to design agents that never combine all three
110 questions across four stages: Understand, Apply, Solve and Judge.
Try 5 questions
Practice items, not counted towards your mastery. No account needed.
Check yourself · 1 of 5
Which three things together make up the lethal trifecta?
Check yourself · 2 of 5
Why can a rendered markdown image leak data without any click?
Check yourself · 3 of 5
In the 2025 GitHub MCP server case, which text did the attacker control?
Check yourself · 4 of 5
Which change removes the outbound-channel leg for an assistant that auto-renders images?
Check yourself · 5 of 5
Under the Rule of Two, how many of the three properties may a session have without human approval?
Topics
- Private data, untrusted content and an outbound channel4 min read · The three capabilities that together let an injected instruction steal data, and how to spot each one in an agent's tool list
- Hidden exfiltration channels in AI apps4 min read · Rendered markdown images, link previews, web fetches, webhooks, git pushes and shared documents as quiet ways data leaves
- Exfiltration incidents in shipped AI products4 min read · Published attacks on assistants, coding agents and MCP setups, traced step by step from injection to stolen data
- Breaking the trifecta by removing one leg4 min read · Image and URL allow-lists, separate sessions for untrusted content, and dropping outbound tools once private data is loaded
- Agent design rules: the Rule of Two4 min read · Allowing at most two of the three capabilities per session without human approval, and what to do when users compose their own tool sets
Start here
- The lethal trifecta for AI agents (Simon Willison) (opens in a new tab)ArticleFree
The post that named the trifecta, with real incidents and the plain rule that follows.
- Meta: Agents Rule of Two, a practical approach to AI agent security (opens in a new tab)ArticleFree
Meta's rule of allowing at most two of three risky properties per session without a human check.
- LLM01: Prompt Injection (OWASP) (opens in a new tab)StandardFree
The standard description of prompt injection, with attack types and mitigations.
Scenarios
Helps to know first
110 questions · last verified 2026-12