Because indirect payloads arrive through data and operational pathways that belong to different teams, often without an obvious user session to investigate. The attack then looks like normal agent behaviour after it is read, which means the governance problem shifts from content origin to runtime privilege and provenance. That is why indirect injection is as much an ownership problem as a detection problem.
Why This Matters for Security Teams
indirect prompt injection is difficult to govern because the malicious instruction is rarely delivered through the same pathway as the agent’s user request. It often enters through documents, tickets, web pages, emails, or retrieved context, which means ownership is fragmented across product, platform, content, and security teams. That breaks the usual governance model, where a single request can be reviewed, logged, and approved end to end. The relevant concern is not just prompt content, but how untrusted text is admitted into an execution path that carries real authority.
Current guidance from the NIST AI Risk Management Framework and the OWASP Agentic AI Top 10 treats provenance, oversight, and runtime controls as first-class concerns because once the agent reads hostile context, the system may appear to be acting “normally.” That makes detection slow and attribution uncertain. In practice, many security teams encounter indirect injection only after an agent has already followed the injected instruction and exposed data, rather than through intentional governance of the content supply path.
How It Works in Practice
In production, indirect injection usually succeeds when an agent combines retrieval, summarisation, and tool use without a strong trust boundary between retrieved content and executable instruction. The agent may ingest a support ticket, a shared document, or a web page that contains hidden instructions, then treat those instructions as relevant context. If the agent has access to tools, APIs, or secrets, the injected text can redirect those capabilities without any obvious change in the user-facing prompt.
The practical control problem is to separate what the agent is allowed to read from what it is allowed to obey. That means policy has to cover the full context lifecycle, not just the front-door prompt. Security teams typically need:
- content provenance checks so retrieved data can be traced to a source and trust level;
- instruction hierarchy rules that distinguish system policy from external text;
- tool authorization boundaries that prevent low-trust content from triggering high-impact actions;
- output validation and human approval for sensitive workflows;
- logging that captures both the source of context and the action taken by the agent.
The threat model in MITRE ATLAS adversarial AI threat matrix and the CSA MAESTRO agentic AI threat modeling framework is useful here because it forces attention on how adversarial inputs move through the system, not just how the model responds. The same logic appears in the Anthropic report on the first AI-orchestrated cyber espionage campaign, where the risk was not a single bad prompt but orchestration across multiple steps and tools. These controls tend to break down when agents are allowed broad tool access, weak retrieval filtering, and automatic execution in environments where content provenance is not preserved end to end.
Common Variations and Edge Cases
Tighter provenance and approval controls often increase operational overhead, so organisations have to balance speed against containment, especially in workflows that depend on fresh external data. Best practice is evolving, and there is no universal standard for exactly how much trust to assign to retrieved content before an agent can use it. Some teams apply strict read-only handling to external text, while others rely on scoring, signatures, or source allowlists; the right choice depends on the action the agent can take.
This becomes more complex when the agent works across multiple systems, such as search, ticketing, and code or cloud tooling, because a low-risk content source can still influence a high-impact action. The governance question is therefore not only “Was the prompt malicious?” but also “Which system vouched for the content, and which system let the agent act on it?” That framing aligns with broader control expectations in NIST Cybersecurity Framework 2.0 when applied to AI-enabled services. Edge cases also include multilingual content, embedded instructions inside attachments, and agent memory features that preserve hostile instructions longer than intended. In those environments, the simple model of a single prompt review is no longer enough, because the harmful instruction may arrive, persist, and execute across several control domains.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Agentic AI Top 10, MITRE ATLAS and CSA MAESTRO address the attack and risk surface, while NIST AI RMF and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST AI RMF | AI RMF centers governance, provenance, and risk controls for agent behavior. | |
| OWASP Agentic AI Top 10 | Agentic AI guidance covers prompt injection, tool abuse, and context trust failures. | |
| MITRE ATLAS | TXXXX | ATLAS models adversarial AI tactics that manipulate model inputs and outputs. |
| NIST CSF 2.0 | PR.AC-1 | CSF access control and governance support least-privilege agent operations. |
| CSA MAESTRO | MAESTRO focuses on agentic threat modeling across data, tools, and execution paths. |
Use AI RMF governance to assign ownership, define trust boundaries, and monitor agent risk continuously.