Study locates the decision layer of prompt injection compliance
Start here
A study released on September 29, 2026 performed layer-by-layer causal activation patching on five models from 4B to 32B and found that attack information is linearly decodable from the first layer, but only has a clear causal effect on behavior at a late-layer bottleneck in the last third of the network; the authors report that patching this bottleneck reverses the model's compliance with attack instructions in the tested cases, that the relevant mechanism lies in a compact linear subspace, and that the structure is similar across model families. Another study released on October 4 analyzed the gap between role signals and behavior change in indirect prompt injection through counterfactual role probes, per-component activation patching, and interventions on AgentDojo trajectories: role decoding persists under content and format changes and, in controlled Qwen tests, precedes the tool-selection effect of patching along an independently estimated role direction; on AgentDojo, directions estimated from hijacked and resistant training trajectories reduced attack success rate before actions and at injection segment positions, but had little effect at random positions; in longer Qwen trajectories, single-point edits weakened in later layers. Both are mechanistic studies within the tested models and experimental settings and do not constitute a general defense guarantee for arbitrary models.
Generated by AI from reports · Updated 2026-10-19
Related research
This event's paper
- Readable Before Actionable: Causal Tracing of Indirect Prompt Injection
arXiv · 2026-10-04 · Deep reading
- Where Do LLMs Decide to Break the Rules? Mechanistic Localization of Prompt Injection Compliance
arXiv · 2026-09-29 · Deep reading
Latest developments
Progress timeline
- arXiv: Jailbreaks, Prompt Injection, Poisoning & DefensesThe study uses causal tracing to distinguish readable signals from effective interventions in indirect prompt injection.
The study analyzed the gap between role signals and behavior changes in indirect prompt injection through counterfactual role probes, component-wise activation patching, and interventions on AgentDojo trajectories. Role decoding persists under content and format changes and, in controlled Qwen tests, precedes the tool selection effects of patching along independently estimated role directions. On AgentDojo, directions estimated from hijacked and resistant training trajectories reduced attack success rates at pre-action and injection-segment positions, but had little effect at random positions. In longer Qwen trajectories, single-point edits had weaker effects in later layers, and cross-segment and repeated edits reduced attack success rates on the same evaluation set. Removing the learned channel subspace preserved role decoding, but effective intervention directions transferred poorly across test channels.
- arXiv: Jailbreaks, Prompt Injection, Poisoning & DefensesThe study uses causal activation patching to locate the decision layers where models comply with prompt injection instructions.
The researchers performed layer-by-layer causal activation patching on five models ranging from 4B to 32B and found that attack information can be linearly decoded from the first layer onward, but only a late-layer bottleneck in the final third of the network has a significant causal effect on behavior. The authors report that patching this bottleneck can reverse the model's compliance with attack instructions in the tested cases; the relevant mechanism lies in a compact linear subspace, and different model families exhibit similar structures. This is a mechanistic study within the tested models and experimental settings, not a general defense guarantee for arbitrary models.