Risk to agentIntegrity

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.

Without controlsHigh

Likelihood
3 · Expected
Impact
3 · Material harm to several tenants

With controlsMedium

Likelihood
2 · Could happen
Impact
2 · Material harm to one tenant

With controls is rated as if every control below works as designed.

How it can happen.

  1. 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_attack guardrail looks for override and role-marker patterns in every user message before the model reads it, blocking by default for confidential (CFG-32); a limit written only in the prompt does nothing against it.

    Covered byCFG-32CHK-20PRC-11

  2. 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).

    Covered byCFG-32CHK-20CFG-40

  3. 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).

    Covered byCFG-32

  4. 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).

    Covered byCFG-40

  5. 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).

    Covered byCFG-74

  6. 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 confidential installation the evaluation set has a prompt_attack case 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).

    Covered byCFG-32CHK-15CFG-40

  7. 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 confidential installation the multi_turn evasion case tests it at each release (CHK-15), and the tool guard limits what follows (CFG-40).

    Covered byCHK-15CFG-40

Where it comes from.

This risk to agent arises from:

Also known as.

OWASP LLM Top 10 2025LLM01OWASP Agentic Top 10ASI01MITRE ATLASAML.T0051.001 ↗MITRE ATLASAML.T0054 ↗

See the whole picture.

Every AI risk on one matrix, before and after controls.

Want to know which of these risks apply to you?

A 30 minute call to map the risks that matter for your AI use, and the controls that bring them down.