The lethal trifecta, explained
Security researcher Simon Willison has described a useful warning sign for AI agents that he calls the lethal trifecta. An agent is at serious risk of leaking data when it combines three things: access to private data, exposure to untrusted content, and the ability to act or communicate externally. Because agents follow instructions in text, an attacker who gets hostile text in front of an agent that has all three may be able to make it send your data somewhere it should not go. Remove any one ingredient and the risk drops sharply.
How this checker rates risk
- It counts how many of the three ingredients your agent has.
- It starts from a baseline: low for one ingredient, moderate for two, high for all three.
- It then adjusts for safeguards. Human approval together with restricted outbound destinations or a separate agent for untrusted content lowers a high rating. Having almost no safeguards raises it.
- It lists the specific safeguards you have not ticked.
This is a rule of thumb for thinking, not a certification. It cannot see how your agent is built, so use it to start a conversation, not end one.
What to do with each result
- Low: keep permissions minimal and logging on.
- Moderate: do not add the third ingredient without new controls, and add approvals for consequential actions.
- Elevated: you have all three ingredients but real safeguards. Test with harmless adversarial text and keep monitoring.
- High: change the design. Make the agent draft-only, cut its access, or split the work across separate agents before going live.
Go deeper
Read the full guide, AI agent security: risks and a defense checklist, then work through the questions to ask before giving an agent access to your data. If you use tool connections, see MCP explained, and decide how much freedom to allow with the autonomy level finder.
Frequently asked questions
Is this a security audit?
No. It is an indicative check. High-stakes systems need a professional review.
What is prompt injection?
It is when hidden instructions inside content an agent reads change what the agent does. It is the main way the lethal trifecta is exploited.
Is my data sent anywhere?
No. The checker runs in your browser and stores nothing.
Which ingredient is easiest to remove?
Usually the external action. Making the agent draft-only, so a person sends or publishes, removes it with little cost.