Simon Willison, the developer who coined the term prompt injection, gave this problem a name that stuck. The lethal trifecta is three abilities that are fine alone and dangerous together:
- access to your private data
- exposure to untrusted content
- the ability to communicate externally
Put all three in one agent and a stranger can steer it. A web page, an email, or a public issue carries a hidden line. The agent reads it, finds your data, and sends it out. Willison's advice is to avoid the combination entirely.
Invariant Labs, an AI security research firm, showed it with the GitHub MCP server. MCP stands for Model Context Protocol, the standard that lets AI apps call other software. A public issue could steer a user's agent into copying private repository data into a public place. Invariant said the flaw wasn't in the server code. It was the combination.
Meta turned the idea into a design rule, the Agents Rule of Two. In one session an agent can have no more than two of these three. One, it processes untrustworthy inputs. Two, it can reach sensitive systems or private data. Three, it can change state or communicate externally. If a job truly needs all three, the agent shouldn't run on its own. At minimum it needs supervision, by a person or another reliable check.
I like this rule because a product manager can apply it with a pencil. List each agent. Mark which of the three it has. Any agent with three marks gets redesigned or gets a person in the loop.
Meta's examples are useful templates. A travel assistant reads your data and the web, but asks before it books. A research agent browses anywhere, in a sandbox without your logins.
The full audit template is in AI Security for Product Managers. The series starts at AI Security From Zero, and every guide is on the AI security hub.