Securitycore
The lethal trifecta & the Rule of Two
Private data + untrusted content + a way to communicate out = exfiltration waiting to happen.
What it is and why it exists
If one agent can read private data, is exposed to untrusted content, and can send data externally, an injected instruction can steal the data — and no prompt can reliably prevent it. The practical rule (popularised as an “agents rule of two”): in one session, allow at most two of the three, or put a human approval in front of the third.
Quick prototype
An email assistant that reads all mail and can send mail.
In production, at scale
Design reviews check every agent for the trifecta; split capabilities across separate agents or sessions; drop the outbound channel or require approval; restrict which content is considered trusted.
Vendors and tools
| Simon Willison’s writing on the lethal trifecta | The framing |
|---|---|
| Meta’s “Agents Rule of Two” | Design rule for agent capabilities |
How it fails
- Adding “just one more tool” that completes the trifecta
What the interviewer asks next
An agent browses the web and reads the user’s CRM. How do you make it safe?
It already has untrusted content and private data, so remove autonomous outbound channels: no send/email tools, no fetching arbitrary URLs with data in them, and human approval for anything that leaves the system.