Why a Staged Model Matters
Treating prompt injection as a single event obscures where defenses actually need to operate. In practice, an attack moves through a sequence of stages, and each stage presents a different opportunity for detection or enforcement. A staged model lets security teams reason about coverage explicitly: which stages have controls, which stages are unprotected, and where a compensating control might be needed because an earlier stage was missed.
Stage 1: Delivery and Ingestion
This is the point where an attacker's instructions first enter the system, whether through a user prompt, a retrieved document, a web page summarized by the agent, or output returned from a prior tool call. Indirect delivery through non-user-controlled content is what makes this stage difficult to secure with input filtering alone, since the model may never see a suspicious direct prompt at all.
Stage 2: Context Manipulation
Once injected content is ingested, it can be interpreted by the model as legitimate instruction rather than untrusted data. This happens when system instructions, user input, and retrieved content are merged into a single undifferentiated prompt with no structural separation between what is trusted and what is not.
Stage 3: Privilege Abuse
With manipulated context established, an attack attempts to invoke functionality outside its intended scope, such as requesting access to data or actions that the current session or role should not be able to reach. This stage depends on how narrowly agent permissions are scoped in the first place.
Stage 4: Tool-Call Execution
This is the stage where a linguistic manipulation converts into a system-level action: an API call, a file write, a database query, or an external request. It is the highest-impact point in the chain because it is where text-based manipulation becomes a real effect on connected systems, assuming authorization checks do not intervene.
Stage 5: Exfiltration and Impact
If the tool call succeeds without interception, the result is data exfiltration, an unauthorized system change, or a downstream compromise that propagates to other systems or users. At this point, the practical response shifts from prevention to detection, audit review, and containment.
Control Placement by Stage
| Stage | Recommended control |
|---|---|
| Delivery and ingestion | Validate user input and retrieved or tool-output content separately, since they are distinct injection surfaces. |
| Context manipulation | Segregate trusted system instructions from untrusted retrieved content rather than merging them into a single undifferentiated prompt. |
| Privilege abuse | Scope agent permissions explicitly per role or session rather than granting broad default access. |
| Tool-call execution | Enforce policy checks, parameter validation, and allow-lists before any tool call reaches a backend system. |
| Impact containment | Require human approval for high-impact or irreversible actions, and log all tool-call activity for post-hoc review. |
Governance as a Structural Control
No single stage-level fix substitutes for a governance layer that spans the entire chain. Enforcing policy at the tool-call boundary, scoping agent identity and permissions, and maintaining an audit trail across all stages turns the kill chain from a theoretical model into an operational set of checkpoints that a runtime system can actually enforce.