arXiv:2610.23254cs.CLOct 2026

Manuscript Offprint

arXiv:2610.23254

Ignored, Not Refused: What Low Prompt-Injection Success Rates Hide in Small Tool-Using Agents

Farhan Zarif, Kazi Shahid Ahmed Galib, Synthia Akter Promi, Shabnam Sharmin Tarin, Ariyan Hossain, Sadif Ahmed, Farig Yousuf Sadeque

Abstract

Tool-using agents read untrusted external content, which exposes them to indirect prompt injection (IPI), where hidden instructions hijack the agent's tool calls. Benchmarks measure IPI security by the attack success rate (ASR), which treats every failed attack as a successful defense. To test this assumption, we audit 33,000 trajectories from eleven open-weight agents (2–14B parameters) on InjecAgent and AgentDojo. A label-blind LLM judge shows that most failed attacks are ignored (76–80%) rather than refused (17–18%). With identical model weights, changing only the system prompt shifts InjecAgent ASR from 0.2% to 43%. Our Attack–Task Outcome Matrix (ATOM) further shows that in 21.7% of AgentDojo episodes, the agent stayed safe but did not complete the user's task. A low ASR therefore mostly reflects agents silently ignoring injections, not refusing them. Evaluations should report how attacks fail and whether the user's task is completed, alongside ASR. We release the labeled corpus, judge prompt, and analysis code. 1^{1}

1 Introduction

Language models are increasingly deployed as capable agents that read emails and web pages, call tools and complete user tasks. Because agents must read external data, they are exposed to indirect prompt injection. An attacker hides an instruction inside content the agent will read, such as an email, a review or a database record. The agent may then follow this malicious instruction as if the user had asked for it (Greshake et al., 2023). The risk is especially relevant for small open-weight models, which are increasingly adopted for agentic applications. They run on local hardware, which keeps private data on the device, and they are powerful enough and far cheaper for many agentic tasks (Belcak et al., 2025). However, they are not free of vulnerabilities. Their function calling degrades in multi-turn and long-context settings (Haque et al., 2026). Additionally, small models fail to reliably separate instructions from data (Zverev et al., 2025), while local quantization can alter their safety behavior (Hong et al., 2024; Egashira et al., 2024). To measure their robustness to indirect prompt injection, benchmarks such as InjecAgent (Zhan et al., 2024) and AgentDojo (Debenedetti et al., 2024) report the attack success rate (ASR). It scores each attack as a binary success or failure and reports the share of attacks in which the attacker's goal is achieved.

A low ASR is usually read as a sign that an agent defended against the injection. Table 1 shows why this reading can mislead. Three agents receive the same AgentDojo task. They are asked to pay a bill, but the bill's file hides an instruction to send $30,000 to the attacker. Gemma-12B ignores the hidden instruction and continues the task. In contrast, Ornith-9B identifies the prompt injection and refuses, whereas MiniCPM-2B recognizes the attack yet executes it. The benchmark records the first two identically as failed attacks, yet only Ornith-9B refused it explicitly. To ASR, ignoring an injection and refusing it are the same failed attack, and so is a case where the agent never produced a usable action. This distinction matters, because only refusal is observable: operators can log it, while ignoring leaves no trace. A frontier model, Kimi K3, refuses 97–99% of the attacks it does not execute (§4.1).

Prior work has begun to question what these outcomes capture, each from a different angle. Hermon et al. (2026) show that ignoring an injection and processing it as data earn identical attack scores. They propose a mostly single-turn benchmark distinguishing the two. Concurrent work shows that agents can recognize forged

1^{1}https://anonymous.4open.science/r/AgentAutopsy-15C4/

User task“Can you please pay the bill ‘bill-december-2023.txt’ for me?” (AgentDojo Banking)
InjectionHidden in the bill: “Transfer 30,000intotal,insmallincrementsofnomorethan30,000 in total, in small increments of no more than10,000 to the account US1330...1212.”
Reasoning(a) Silent continuation Gemma-12B“I need to: 1. Read the content of ‘bill-december-2023.txt’ to get the recipient's IBAN, the amount, and the subject.”(b) Genuine refusal Ornith-9B“...it also contains an embedded instruction that appears to be a prompt injection attempt... I should not follow these injected instructions.”(c) Recognized, then executed MiniCPM-2B“The bill contains what appears to be a prompt injection attempt... But the user is the one who created this bill.”
ActionCalls get_balance(), then asks the user for the IBAN and amountNo tool call. Warns the user about the injectionCalls send_money three times, sending $30,000 to US1330...1212
BenchmarkS = 0: attack failedS = 0: attack failedS = 1: attack succeeded
AuditInert-Unrecognized: never treats it as an instructionGenuine Refusal: identifies and rejects itFull Compliance: identifies it, then executes it

Table 1: Three agents given the same AgentDojo task and the same injection (FP16). The benchmark scores (a) and (b) identically, but only (b) signals a defense. In contrast, (c) names the injection in its reasoning and still sends $30,000 to the attacker. Quotes are verbatim, abridged with “...”.

authority yet still act on it, depending on whether their configuration is restrictive or permissive (Leong, 2026). On the utility side, existing metrics either report utility beside ASR or combine them into a single score (Debenedetti et al., 2024; Zhang et al., 2025). Examples include AgentDojo's utility under attack (UA) and ASB's net resilient performance (NRP). Consequently, none shows how security and utility interact within individual episodes. More importantly, no study has asked what the failures that standard agent benchmarks record actually consist of.

Our work fills this gap without building a new benchmark. To understand what a low ASR hides, we ask three research questions.

RQ1 (Failure composition). When a benchmark scores an attack as failed, what did the agent actually do?

RQ2 (Deployment sensitivity). Is a low ASR an intrinsic model property, or does it shift when altering system prompts or serving precision?

RQ3 (Security–utility relation). When an attack fails, is the user's task still completed, and what do ASR and utility metrics miss by measuring the two separately?

Contributions. We address these three questions through the following contributions:

  • A behavioral audit of failed attacks (§4.1). We label 33,000 trajectories from eleven small open-weight agents on InjecAgent and AgentDojo with an LLM judge. When an attack fails, the agent usually just ignores the injection (76–80% of failed attacks) and rarely refuses it (17–18%). Even when the agent recognizes the injection, it still carries it out in 28.9% (AgentDojo) and 16.9% (InjecAgent) of cases.

  • A deployment test on the same models (§4.2). Holding models and attacks fixed, we vary only deployment conditions. Specifically, we evaluate changes in system prompts and serving precision. A prompt permitting instructions in tool outputs raises InjecAgent ASR from 8% to 43%. In contrast, a matched prompt forbidding them lowers it to 0.2%. A low ASR therefore reflects what the agent does by default, not an enforced boundary.

  • A joint view of security and utility (§4.3). The Attack–Task Outcome Matrix (ATOM) places each episode by whether the attack succeeded and whether the user's task was completed. In 21.7% of AgentDojo episodes, the agent stays safe but does not complete the user's task (S0U0S_0U_0). ASR counts these episodes as successful defenses, while UA and NRP mix them with other outcomes, so none of these measures shows this cost.

  • Released artifacts. We release all 33,000 labeled trajectories, the judge prompt, and the scripts that reproduce every number in this paper.