Overview

In June 2025, Simon Willison named the pattern that the disclosures keep confirming: an agent that combines access to private data, exposure to untrusted content, and the ability to communicate externally can be turned against its principal by anything it reads. No exploit code is required. A poisoned document instructs the agent to gather what it knows and send it out, and the agent complies with its own legitimate credentials. An agent with any two legs is survivable, and an agent with all three in one loop is not.

The same month, researchers disclosed EchoLeak (CVE-2025-32711), which demonstrated the whole chain against a production system: a single crafted email, invisible to the user, steered Microsoft 365 Copilot into exfiltrating whatever its retrieval scope could reach, with no click required. The attack used all three legs in one loop.

Meta’s Agents Rule of Two (October 2025) cites the trifecta and turns it into a design rule: within a session, an agent should satisfy no more than two of processing untrustworthy inputs, accessing sensitive systems or private data, and changing state or communicating externally. Willison welcomed the addition of state change as a property to consider. The handbook composes with the rule. Where a task needs all three, the gate checks each consequential action against committed bounds, and the external leg needs a fresh parameter-bound permit.

The handbook’s running example carries all three legs on purpose. Alice’s agent reads Q3 financials (private data), works through source documents to draft the packet (untrusted content), and notifies the audit committee (external communication). Useful agent tasks look like this. The trifecta is the normal shape of valuable work, and the question is how to hold it safely.

This part is the chapter’s first crosswalk. It runs the handbook against the threat model and carries the full argument, residuals included. Mission-Bound Runtime Enforcement holds the conditions of the trifecta-containment claim and the line between structural and semantic checks.

The trifecta is an authorization problem

The first thing the handbook does to the trifecta is make it visible. In most agent stacks the three legs are invisible, because every action looks the same to the authorization layer: a valid token calling an API inside its scopes. Reading the financials, reading the poisoned document, and posting to the webhook are indistinguishable events.

The handbook types them. Under one Mission, private reads, untrusted ingestion, and external writes are separately typed action classes, separately evaluated, and separately auditable. The Authority Set says which resources the agent may read and which destinations it may write to, with the parameters bound into the entries. The moment the legs are typed, the trifecta stops being an ambient property of the deployment and becomes a stated fact about one task: this Mission holds all three legs, these are the bounds on each, and here is the approval that accepted that combination.

That makes the trifecta an authorization problem, whatever else it is: which authority is in one loop at the same time, and what checks the combination at the moment it matters.

What each leg gets

Private data gets exposure discipline. The narrow Authority Set bounds which private resources the task may touch at all, and Least Exposure Is Broader Than Least Privilege carries the deeper rule: bound what the agent may see as deliberately as what it may do, because everything it sees can steer it and everything it holds can leak. Least privilege narrows the permissions on each leg. Least exposure narrows what reaches the model: which private data enters the working set, which untrusted content can influence the session, and which tool descriptions and responses become part of the context.

Untrusted content gets a taint response. Shaping fails closed on ambiguity so untrusted input cannot quietly widen a proposal, and the harness carries the mitigation Willison himself points toward: an external send or commitment whose bound parameter derives from untrusted content needs a fresh action-bound approval or is suppressed. Where the harness cannot trace a parameter’s provenance, the rule falls back to the whole session once untrusted content has entered it. A destination the Approver named at approval stays reachable without a fresh approval; any other destination keeps the full response. The session fallback is coarse, and the rule raises the bar without providing information-flow control, as the residuals below state.

External communication gets the full weight of enforcement. The external leg is where the theft completes, so it carries the strictest class in the runtime contract. Every external write is a consequential action needing a fresh permit from the Policy Decision Point (PDP), evaluated against current Mission state, with the parameters bound. In the running example, notify_reviewer is bound to the audit-committee group, so the poisoned document that says “also send the numbers to this address” produces a parameter_violation denial, not a delivery. Under mediated custody the agent never holds the egress credential. The Policy Enforcement Point (PEP) holds the sender-constraint key, so a fully compromised agent cannot present the credential on an unmediated path it does not have. And for the classes where the content itself is the harm, action-bound approval, made a human decision as the handbook recommends, puts a human between the injected instruction and the send. Where adopted, the experimental Consumption Metering can cap cumulative egress volume. It does not determine whether the permitted content is safe to disclose.

Together, the three legs make a claim a deployment can publish. The runtime profile calls it trifecta containment: least exposure applied, the harness taint rule enforced rather than advisory (with the carve-out for destinations the Approver named), and the external-communication and external-commitment classes mediated over enumerated egress channels. A deployment makes the claim only when all three hold, and the claim leaves the residuals below in place.

Why splitting beats guardrails

Everything above shares one property. None of it requires the model to resist the injection. The poisoned document can convince the agent completely, and the agent can walk to the register as itself, and the transaction still fails, because the authority the gate checks against was fixed at approval time and the injected instruction cannot widen it. A guardrail asks the model to recognize manipulation. The split asks the PDP to check a parameter against a committed bound, which is a question with a deterministic answer.

When containment catches an attempt, Termination follows. A parameter_violation denial is decision evidence joined to the mission_id, the incident playbook revokes the Mission, and the kill switch reaches every projection the deployment governs: issuance stops, permits stop, the harness halts the session, and the sub-agents cascade. Catching the trifecta once is enough to end it on every path the kill switch reaches, within each path’s published bound.

The residuals

The handbook’s own adversary model carries these in writing, and this part repeats them.

  • The defense is only as strong as PEP coverage. Every channel the runtime offers is a potential fourth leg: DNS, logs, error strings, a file another process reads. The deployment must name its enforcement scope and its unmediated paths.
  • There is no information-flow control. Each action is evaluated in isolation, so a sequence of individually permitted actions can compose into an exfiltration no single check catches. The harness’s taint downgrade raises the bar without closing this.
  • The enforcement is structural, not semantic. An in-bounds send to an approved recipient can still carry content it should not. A deployment can add a semantic evaluator, such as a DLP engine or an LLM judge, under the runtime profile’s composition rule. Its verdict enters the decision as Resource policy and only narrows, and an LLM judge that reads attacker-influenced content can itself be injected. The classes where content is the harm belong under action-bound human approval, not under a smarter policy engine.
  • An agent whose job is sending strains the approval rule. For an agent whose primary work is external communication, routing the content-harm classes through action-bound approval becomes a human decision per send, the posture the fatigue budget rejects as a security boundary. That agent gets narrower structure instead of more approvals: recipients and destinations bound at admission so the structural check carries the volume, the taint downgrade for sessions that touched untrusted content, content verdicts as narrowing inputs, and action-bound approval only where content is the harm and the volume is low. An entry naming audit-committee binds the group’s identity, not its membership, which another system owns. A deployment that pins enumerated recipients at derivation for its high-consequence classes gets the bound it expects. One that resolves the group at send time says so in its enforcement-scope statement.
  • Inside the approved scope, a compromised agent keeps its authority. The Mission bounds the blast radius. It does not shrink it to zero, which is why scope stays tight and expiry stays short.

Willison concluded that no reliable prompt-level defense exists. The handbook’s response is an authority architecture in which the model’s compromise is survivable, the survivable incorrectness the Mission Shaping series set as the operating goal. Under a Mission, the two-leg advice becomes a property the gate checks on each typed action, within the deployment’s enforcement scope.