Skip to content
AI Skills Central

Type to search Agent Skills, workflows, tutorials, tools and the glossary.

Lethal trifecta

Definition

Access to private data, exposure to untrusted content and a way to send data out: together they make data theft by prompt injection possible.

In more detail

Simon Willison coined the phrase in 2025. If an agent has all three, assume an attacker can make it leak data. Removing any one of the three, for example blocking outbound network access, breaks the attack.

A concrete case: an email assistant can read your inbox (private data), processes incoming messages from anyone (untrusted content) and can send email or fetch URLs (a way out). An attacker sends a message with hidden instructions to forward the latest password reset emails to an outside address. The model cannot reliably tell those instructions apart from yours.

When you design an agent or combine MCP servers, list which tools give each of the three capabilities. If all three are present, cut one, or require human approval before anything leaves the system.

  • Excessive agency

    The risk that an AI system has more permissions, tools or autonomy than is safe, so a mistake or manipulation causes real harm.

  • Indirect prompt injection

    Prompt injection delivered through content the model reads, such as a web page, email or tool output, not typed by the user.

  • Least privilege

    Granting an agent or tool only the permissions and data access its task requires, and nothing more, so a mistake does less damage.

  • Prompt injection

    Input that overrides or subverts a model's instructions, either typed in directly or hidden in content the model reads while it works.

  • Agentic browser

    A web browser with a built-in assistant that can click, type, fill in forms and move between sites for you, inside your own browsing session.

  • AI security

    Defending against prompt injection, data leakage and over-permissioned agents.

    SkillIntermediate

  • MCP security: tool poisoning, token scope and the lethal trifecta

    The real attacks on MCP setups, from tool poisoning and rug pulls to token passthrough and the lethal trifecta, what hosts do about them, and a checklist.

    Article

  • Prompt injection basics for builders

    How direct and indirect prompt injection work, why agents with tools raise the stakes, and the design choices that limit the damage when no complete fix exists.

    TutorialBeginner30 min