Skip to content

Risk Decomposition: Accident, Defection, Hijack

Every harm mode reaches the principal through one of three channels. The channels are estimated differently and need different mitigations, so the first job in any harm table is to say which channel each row belongs to.

  • Accident. The delegate fails at its task: bugs, hallucinations, misread instructions, capability limits. Nobody is steering it toward harm.
  • Defection. The delegate pursues something other than the principal’s interest. Scheming, the strategic and concealed pursuit of a different goal, is the extreme case. Reward hacking is a non-scheming sub-type: the delegate exploits a flaw in what it was trained or asked to optimize, for example by special-casing tests or editing a grader, without a hidden long-term goal. Baker et al. (2025) document it in a frontier reasoning model on agentic coding tasks. Amodei et al. (2016) file reward hacking under accidents. This site puts it under defection because the behavior is goal-directed against the principal’s intent, even without scheming.
  • Hijack. A third party, or the user, steers a delegate that is not itself scheming. The delegate does what it is told; the problem is who is telling it.

Hijack fits neither of the other channels. The delegate is not failing at its task and not pursuing its own goal, and the probability is set by an attacker’s choices rather than by the delegate’s error rate or disposition. It arrives by four routes:

  • Direct injection or misuse. The user, or anyone who can type to the delegate, instructs it to cause harm or to override its instructions.
  • Indirect injection. Instructions planted in content the delegate retrieves: a web page, document, email, issue or tool output. Greshake et al. (2023) described the attack and demonstrated it against Bing Chat; their point was that an LLM-integrated application blurs the line between data and instructions.
  • Poisoned tools. A tool or MCP server whose description carries hidden instructions (“tool poisoning”, Invariant Labs, April 2025), or that is itself malicious.
  • Supply chain. A compromised dependency, extension or configuration that rewrites the delegate’s instructions or runs it with checks disabled.

The last two are documented in the wild (Agent Incidents). Indirect injection has reached shipped products: EchoLeak (CVE-2025-32711, rated CVSS 9.3 by Microsoft, fixed June 2025) let a crafted email, retrieved later when the user asked Microsoft 365 Copilot a routine question, exfiltrate internal data without the user clicking anything (NVD; The Hacker News). Invariant Labs showed the same pattern through the official GitHub MCP server: a malicious issue in a public repository led an agent to copy private-repository data into a public pull request (May 2025). OWASP ranks prompt injection first in its 2025 LLM Top 10 (LLM01:2025) and agent goal hijack first in its agentic Top 10 for 2026 (ASI01).

Simon Willison’s “lethal trifecta” names the dangerous combination: access to private data, exposure to untrusted content, and the ability to communicate externally. CaMeL (Debenedetti et al. 2025) and the design patterns of Beurer-Kellner et al. (2025) answer it architecturally: untrusted data may fill in values but may not choose actions. That is the same kind of answer this site gives to defection.

The section overview has one harm table for a research assistant with a coordinator, a summarizer and a code deployer. Grouped by channel, its rows give:

ChannelRowsRisk per monthShare
Accidentmisrouting, mistaken permission grants, misrepresented findings, buggy code$1,42070%
Defectiondeliberate permission grants, test tampering (reward hacking), malicious code (scheming)$50025%
Hijackdata leak driven by injected instructions$1005%
Total$2,020

The numbers are invented, so the shares say nothing about real systems. Two structural points survive.

The coordinator result is conditional. The coordinator’s $500 of permission-granting risk splits into $300 accident and $200 defection only because the table assumes P(mistaken grant) = 0.003 and P(deliberate grant) = 0.002. Nothing measured that split. The robust part is the damage term: the coordinator carries a $100,000 row whichever channel triggers it, because it has leverage over the other components. If you believe a coordinator capable of scheming would misuse that leverage more often than it errs with it, then defection dominates the permission-granting row, which is almost all of the coordinator’s risk, and constraints on the coordinator are where to spend. If you believe it errs far more often than it schemes, testing and permission limits cover most of it. The table cannot tell you which.

Rows in one component can need opposite fixes. Tests reduce the deployer’s buggy-code row. They do little for the test-tampering row, because tests are what that row games; the fix there is to lock the tests away from the deployer. The malicious-code row needs a check the deployer can neither predict nor influence.

AccidentDefectionHijack
Who chooses the harmful actionnobodythe delegatea third party or user
How to estimate Ptesting, incident history, fuzzingcontrol evaluations, red-teaming, honeypotsadaptive red-teaming of the whole system, e.g. on AgentDojo-style tasks
Main mitigationstesting, redundancy, verificationtrusted monitoring, control protocols, hard envelopesseparating instructions from untrusted data, removing exfiltration paths, hard envelopes
Correlation between stacked checksbenign-failure ρ appliesassume ρ → 1assume ρ → 1
Three checks, each missing 10% share of harmful actions still going Delegate Damage D to the principal set by what the action can reach, the same for every channel A coordinator's permission grant costs $100,000 either way Accident nobody chooses it P: its error rate error 100% 10% 1% 0.1% errors land at random, so the checks compound (5% if ρ = 0.5) Defection the delegate chooses P: its disposition own goal 100% 10% 10% 10% it picks an action all three miss Hijack someone else chooses P: attacker's choices obeys 100% 10% 10% 10% the attacker picks an input all three miss cut: data may fill in values, not choose actions injected instructions via a prompt, retrieved content, a tool or a dependency Hard envelope limits what any action can reach, whoever chose it Three checks, each missing 10% share still going Delegate Damage Accident: nobody chooses it P is set by its error rate error D 100% 10% 1% 0.1% errors land at random, so the checks compound (5% if ρ = 0.5) Defection: the delegate chooses it P is set by its disposition own goal D 100% 10% 10% 10% it picks an action all three miss Hijack: someone else chooses it P is set by the attacker's choices obeys D 100% 10% 10% 10% the attacker picks an input all three miss cut: data may fill in values, not choose actions injected instructions via a prompt, retrieved content, a tool or a dependency Thick bar: hard envelope. It limits what any action can reach, whoever chose it. D is set by what the action can reach, the same for every channel: a coordinator's permission grant costs $100,000, mistaken or deliberate.
The three channels reach the same damage through the same checks. They differ in who chooses the harmful action, and so in what a stack of checks is worth: three checks that each miss 10% pass 0.1% of accidental harmful actions if they fail independently, but a delegate or attacker who picks the action beats all three at once, so at least 10% get through. The controls that hold on every path are the ones that ignore which action arrives: keeping untrusted data from choosing actions, and a hard envelope.

The last row matters most. The beta-factor correction models checks that happen to fail together. In the defection and hijack channels an adversary chooses the input to defeat every check at once, so treat a stack as worth no more than its best layer until a control evaluation (Greenblatt et al. 2023) shows otherwise.

Published hijack defenses are a poor guide to P. AgentDojo (Debenedetti et al. 2024) evaluates agents that call tools over untrusted data, with 97 tasks and 629 security test cases, and is built to be extended with adaptive attacks. Nasr et al. (2025) tuned general optimization attacks against 12 recent jailbreak and prompt-injection defenses and bypassed all of them, with attack success above 90% against most, although most had originally reported near-zero attack success (arXiv:2510.09023). A detection rate measured against fixed attack strings says little about an attacker who iterates.

Accidents also tend to leave traces in logs and tests. The other two need not: a schemer hides its actions, and a hijacked delegate’s logs show it doing what it was told, which can look like normal work.

A common claim is that accident risk falls as capability rises while defection risk grows. The first half is unreliable, because it merges two factors:

  • P(error per action) often falls with capability, though not always (McKenzie et al. 2023 collect tasks where larger models do worse).
  • Damage per error tends to rise, because a more capable delegate is given longer, more consequential tasks.

AI Control’s trusted model encodes a related assumption: below some capability, a model is treated as unlikely to scheme even if it errs more. Treat that as an assumption about a particular model, not a law.

Defection differs in kind. Capability raises both the chance that a strategic deviation succeeds and the chance that it goes unnoticed. Hijack scales with how much untrusted content the delegate reads and how much it is allowed to do, more than with capability.

Damage concentrates where a component has leverage over others. So:

  • Put the most verifiable components, tiers 1 and 2 of the verifiability hierarchy, at the points of leverage: permission grants, deployment gates, outbound channels.
  • Keep each coordinator’s interface narrow (Coordinator Constraints).
  • Treat any component that reads untrusted content, including third-party tool descriptions and outputs, as a hijack surface. Its output is data for other components, never instructions to them.