Beyond Instruction Override: Benchmarking Indirect Prompt Injection with Task-Tampering Attacks
Rongting Zhang, Martin Bertran, Sandeep Avula, Chia-Jung Lee, Vanessa Murdock
Abstract
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.
Create a lesson
Related papers
Scaling Adaptive Prompt Injection Attacks with Agent Swarms
Shared title terminology · Alexey Kurakin, Vishal Karande, Alex Bie et al.
Beyond Prompt Attacks: Least-Action Auditing of Concept Erasure
Shared title terminology · Yifei Zhu
MetaPI: Constructing Prompt Injection Benchmarks from LLM Agent Benchmark
Shared title terminology · Peiran Wang, Chong Xiang, Wenjie Qu et al.
The Devil is in the Context: Nine Dimensions of Prompt Injection Attacks
Shared title terminology · Jiamin Chang, Kristina Nikolić, Rishi Sharma et al.
TrafficInstruct: A Multi-Task Network Traffic Dataset and Benchmark for Instruction Tuning
Shared title terminology · Zhengdao Li, Hui Wen, Zixuan Wan et al.
Beyond Prompt Injection: The Tool Update Gap in LLM Agent Security
Shared title terminology · Shiyu Kan, Yue Qi, Yufei Han et al.