Beyond Instruction Override: Benchmarking Indirect Prompt Injection with Task-Tampering Attacks
On the map: LLM safety and security → Prompt injection and agent security
Abstract (arXiv)
Indirect prompt-injection (IPI) benchmarks predominantly test planted instructions that redirect a tool-using agent toward an attacker-chosen task. Yet attacker-controlled content can instead tamper with the outcome of the task already in progress. A buyer's dispute evidence can cite a false refund policy to inflate a refund without changing the task. We define IPI by authority rather than instruction-like wording: planted content constitutes an attack when it attempts to influence a decision that its source is not authorized to determine. We introduce a benchmark that makes this boundary explicit: in each of 90 validated cases across three tool-use environments, the user request specifies the source that resolves the targeted decision. Every attack tampers with a decision required by the benign task rather than replacing that task. Each case has attacks with the same harmful outcome that target up to six parts of the agent's decision making: its objective, decision rules, available actions, expected consequences, reading of observations, or beliefs about the current state. Without a defense, attacks on three of the five other targets (decision rules, available actions, and state) have higher mean success than objective attacks across five LLMs. A detection-and-removal defense reduces objective-targeting attacks to 2.4% success but leaves observation- and state-targeting attacks at 9.5% and 12.1%; this gap persists under detection-optimized rewrites. A tool-policy defense still allows 15.4% attack success, close to 17.0% without a defense, because these attacks generally retain expected tools and manipulate values obtained during execution. Evaluations whose attacks redirect the task or target only the agent's objective can therefore overestimate the coverage of these defenses. Code and data are available at https://github.com/amazon-science/task-tampering-prompt-injection.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Prompt injection and agent security, one of 12 directions in LLM safety and security. Builds on 26 of its 40 references that are in the map. Submitted 5 Nov 2026.
Builds on
26 of 40 references.
Closest ancestors · 19
Same direction, newest first
- 2026Agent Security Needs Redefinition through a Holistic Framework24 Jul
- 2026AI Agents May Always Fall for Prompt Injections17 May
- 2026ARGUS: Defending LLM Agents Against Context-Aware Prompt Injection5 May
- 2026The Landscape of Prompt Injection Threats in LLM Agents: From Taxonomy to Analysis11 Feb
- 2025PromptArmor: Simple yet Effective Prompt Injection Defenses21 Jul
- 2025OS-Harm: A Benchmark for Measuring Safety of Computer Use Agents17 Jun
- 2025DRIFT: Dynamic Rule-Based Defense with Injection Isolation for Securing LLM Agents13 Jun
- 2025VPI-Bench: Visual Prompt Injection Attacks for Computer-Use Agents3 Jun
- 2025WASP: Benchmarking Web Agent Security Against Prompt Injection Attacks22 Apr
- 2025Progent: Securing AI Agents with Privilege Control16 Apr
- 2025Defeating Prompt Injections by Design24 Mar
- 2024SecAlign: Defending Against Prompt Injection with Preference Optimization7 Oct
7 more
- 2024The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructions19 Apr
- 2024Defending Against Indirect Prompt Injection Attacks With Spotlighting20 Mar
- 2024InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents5 Mar
- 2024StruQ: Defending Against Prompt Injection with Structured Queries9 Feb
- 2023Benchmarking and Defending Against Indirect Prompt Injection Attacks on Large Language Models21 Dec
- 2023Formalizing and Benchmarking Prompt Injection Attacks and Defenses19 Oct
- 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injection23 Feb
Other references · 7
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 9,589
- 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 889
- 2025Securing AI Agents with Information-Flow Controlcited by 152
- 2024IsolateGPT: An Execution Isolation Architecture for LLM-Based Agentic Systemscited by 149
- 2026AgentDyn: Are Your Agent Security Defenses Deployable in Real-World Dynamic Environments?cited by 81
- 2025ACE: A Security Architecture for LLM-Integrated App Systemscited by 60
- 2026Aligning Provenance with Authorization: A Dual-Graph Defense for LLM Agentscited by 20
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Defusing Explosive Prompts: Understanding and Preventing Trigger-Based Prompt Injections in LLM Agents
- 2026Ignored, Not Refused: What Low Prompt-Injection Success Rates Hide in Small Tool-Using Agents
- 2026Depth-Dependent Indirect Prompt Injection in Tool-Calling ReAct Agents: Injection Depth, Payload Framing, and Turn-Budget Sensitivity
- 2026Blocking at the Boundary: Auditing Long-Horizon Agents against Staged Prompt Injection
- 2025Defending against Indirect Prompt Injection by Instruction Detection
- 2026CausalArmor: Efficient Indirect Prompt Injection Guardrails via Causal Attribution
- 2026ROPE: Routed Origin Policy Enforcement against Indirect Prompt Injection
- 2026Silent Failures in Agentic Security Evaluation: A Validated Harness for Tool-Call Mediation Under Indirect Prompt Injection