Agent goal hijacked by injected instructions
Instructions redirect the agent from its owner's goal, by one of the routes below. Screening reduces the chance and the tool guard limits what a hijacked agent can do; neither makes injection impossible, so the residual stays medium. Adversarial testing runs for confidential installations before production and yearly (PRC-11); nothing re-tests an agent against techniques published between those runs.
Before and after controls.
With controls is rated as if every control below works as designed.
How it can happen.
A user types instructions or talks the model out of its rules
A person's own message tells the agent to ignore its instructions, or argues it out of its safety behaviour with no tool or data involved (a jailbreak). The
prompt_attackguardrail looks for override and role-marker patterns in every user message before the model reads it, blocking by default forconfidential(CFG-32); a limit written only in the prompt does nothing against it.Instructions hidden in content the agent reads
The instructions are hidden in a document, web page, email, attachment, tool result or the text of an image, and are screened at the single point before the model sees them (CFG-32).
Injected text reaches the model through code the agent wrote
Injected text in tool results that the agent's code processes reaches the model as the code's output, which the harness never sees when a provider hosts the code. Every result returned to code is screened as a result returned to the model is (CFG-32).
An instruction split across records is put back together by code
Each record passes screening alone, and the agent's code joins them into one instruction. Nothing screens the joined text; the tool guard limits what follows (CFG-40).
Compaction strips the mark that a passage came from outside
Summarising a long context drops the mark that says a passage is external, and the model then reads it as instruction. Compaction keeps the mark (CFG-74).
A jailbreak disguised so the patterns miss it
A person writes the override in base64, look-alike or invisible characters, another language, or a technique newer than the patterns, and the model still understands it. Input is screened by fixed pattern only, because no model may sit in the ingress path; the text is normalised first, so look-alike and invisible characters and base64 runs are matched as plain text (CFG-32), and another language or a newer technique still passes. A refusal names the guardrail that matched, so someone probing with variants learns which wording gets through. For a
confidentialinstallation the evaluation set has aprompt_attackcase for each evasion technique the Standard lists, kept current by the threat-intelligence review, and a technique that gets through fails the release (CHK-15); the tool guard limits what follows (CFG-40).A jailbreak built across several messages
A person spreads the override over several turns, or builds it up through role play, and each message passes the guardrail alone; the model puts the attack together from the conversation. Nothing screens a conversation as a whole. For a
confidentialinstallation themulti_turnevasion case tests it at each release (CHK-15), and the tool guard limits what follows (CFG-40).
Controls that reduce it.
- CFG-32All external content is screened at a single point before the model sees it Configuration
- CHK-20An injection attempt is refused, stripped or quarantined as the installation declares Check
- CFG-40Every tool call is allowed or denied by the tool guard alone Configuration
- CHK-12An irreversible or high-impact tool call waits for a person's review Check
- PRC-11Workloads used by confidential installations pass adversarial testing before production and every year Procedure
- CFG-74Compacted context keeps external content marked as external Configuration
- CHK-15Every agent bundle passes its evaluation set before merge and before promotion Check
Where it comes from.
This risk to agent arises from:
Also known as.
See the whole picture.
Every AI risk on one matrix, before and after controls.