Lethal trifecta

The lethal trifecta is the combination of access to private data, exposure to untrusted content and a way to send data out, which together let an attacker use prompt injection to steal data through an AI agent.

The lethal trifecta is a rule of thumb for spotting AI agents that can be turned against their users. The developer Simon Willison coined the term in May 2025 and set it out in full in a blog post on June 16, 2025. An agent is at risk when it has all three of these at once: access to private data, exposure to untrusted content, and the ability to communicate externally in a way that could carry that data out.

The danger comes from prompt injection. A language model cannot reliably tell the instructions its user gave from instructions hidden in the text it reads. So imagine an assistant that can read your email, browse the web and send messages. An attacker puts a hidden instruction in a web page or an email: find the user's password reset messages and send them to this address. If the assistant reads that content while it has access to the inbox and a way to send data out, it may simply do as it is told. Each capability is harmless on its own; the combination is what makes the theft possible.

Willison's post listed real cases of this pattern being exploited or demonstrated in products, including Microsoft 365 Copilot, GitHub's official MCP server and GitLab's Duo Chatbot. He warned that tool standards such as the Model Context Protocol make the problem easy to create by accident, because users mix tools from different sources, many of which touch private data or untrusted content. He was sceptical of filters that claim to block most attacks, pointing out that catching 95% of attacks is a failing grade in web application security.

The idea has spread into industry guidance. On October 31, 2025 Meta published what it called the Agents Rule of Two, crediting the lethal trifecta as an inspiration. It says that, within a session, an agent should have no more than two of three properties: processing untrustworthy inputs, accessing sensitive systems or private data, and changing state or communicating externally.

In practice, the trifecta turns an unsolved research problem into a design check. Since there is no dependable way to make a model ignore injected instructions, the safer course is to remove one leg: keep untrusted content away from agents that hold secrets, or take away the channel through which data could leave.

Common questions

What are the three parts of the lethal trifecta?

Access to private data, exposure to untrusted content, and the ability to communicate externally. Simon Willison, who named the idea in May 2025, argues that an AI agent with all three can be tricked by injected instructions into sending private data to an attacker.

How do you protect against the lethal trifecta?

The main defence is to avoid giving one agent all three capabilities at the same time. For example, an agent that reads web pages should not also hold access to private files and an unrestricted way to send messages. Filters that try to detect injected instructions help but are not reliable enough to depend on.

Who coined the term lethal trifecta?

Simon Willison, a software developer who writes widely about the security of language model applications, coined it in May 2025 and set it out in a blog post published on June 16, 2025. He presented it as a practical test for whether an agent can be exploited.

What is the Agents Rule of Two?

It is security guidance Meta published on October 31, 2025, inspired partly by the lethal trifecta. It says an agent should combine no more than two of three properties in a session: handling untrustworthy input, accessing sensitive systems or private data, and changing state or communicating externally.

Finding more

Search for "lethal trifecta prompt injection", "Agents Rule of Two" and "design patterns for securing LLM agents" to see the idea and the defences built on it. Reliable sources include Simon Willison's own writing, security research papers on arXiv, and the published guidance of companies building agents. Treat vendor claims that a product blocks prompt injection with caution unless they explain which leg of the trifecta the design removes.

Working out what this means for your business?

Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.