Skip to content

When safety becomes an attack surface: manipulating the abstention behavior of tool-using agentsWhen Safety Becomes an Attack Surface: Manipulating Abstention in Tool-Using AI Agents

arXiv: Jailbreaks, Prompt Injection, Poisoning & Defenses· arXiv:2611.14864· Charles Xiao·Indexed by this site · 10 days ago· Originally publishedSelected AttacksSelectedAttention39

Quick read

Attacks

Based on the paper PDF (AI-generated); refer to the original

The authors study the warning-induced over-abstention attack on tool-using agents: on the 51 task pairs of AgentAbstain, caution-first prompting raises gemini-3-flash's induced over-abstention from 9.8% to 86.3%.

Threat modelAvailability attack under indirect prompt injection: the attacker can only write to low-trust channels that the agent subsequently reads (external document content, in-band metadata tags), placing a forged risk warning that causes the agent to abandon a legitimate operation; authoritative business state is unchanged. An attacker able to rewrite the authoritative record system has a stronger capability and is evaluated separately.

Questions
A tool-using agent's decision not to act can itself become an attack surface: an attacker places a forged risk warning in low-trust content, causing the agent to refuse to complete a legitimate task (availability attack). The authors argue that safe abstention requires evaluating both the claimed risk and the authority of the evidence.
Methods
Based on AgentAbstain, construct controlled task variants for the S7/S8 scenarios (clean task, false warning, sensitive content, different risk wording), compare three prompting conditions—baseline, caution-first, and provenance-aware (Verify-Before-Abstain)—and test the defense boundary with in-band forgery and authoritative-record tampering.
Experiments and results
On 51 injectable task pairs, the caution-first prompt amplified induced over-abstention across all three models (McNemar p<10⁻⁴); provenance-aware verification restored legitimate completion rates on the document-analysis subset, but when authoritative records were tampered with, the abstention rate across the three models reached 93–100%, and sensitive-content leakage control results were mixed.
Limitations and future work
The authors note: small sample sizes (most comparisons n=7 or 15/16) limit precision; the judge model gpt-5.4 is also one of the tested models; the original benchmark leaderboard was not reproduced; how provenance attestation would be implemented in deployment is unresolved. The wording comparison changed both vocabulary and instruction explicitness.
Experimental setupdeepseek-v4-pro、gpt-5.4 (gpt-5.4-2026-03-05) et al. · AgentAbstain · induced over-abstention rate、false-warning task completion et al.
Evaluated models
deepseek-v4-progpt-5.4 (gpt-5.4-2026-03-05)gemini-3-flash (gemini-3-flash-preview)
Benchmarks
AgentAbstain
Metrics
induced over-abstention ratefalse-warning task completionabstention ratesensitive-content leakageclean-task completion
AI summaryand selection rationaleThe researchers propose a warning-induced over-abstention attack: the attacker plants fabricated risk warnings in low-trust content read by the agent, inducing it to abandon executing legitimate tasks; this is an availability attack under the indirect prompt injection threat model. Based on the AgentAbstain benchmark, the study constructs paired task variants and evaluates 51 injectable task pairs across three model families, deepseek-v4-pro, gpt-5.4, and gemini-3-flash, finding that caution-first prompting amplifies the attack: gemini-3-flash's induced over-abstention rate rises from 9.8% to 86.3%, while its normal task completion rate remains 96%. Wording comparisons show that models are sensitive to warning language: on the document analysis subset, deepseek-v4-pro's abstention rate for explicit warnings is 100%, which drops to 0% when changed to objective factual descriptions.

The researchers propose a warning-induced over-abstention attack: the attacker plants fabricated risk warnings in low-trust content read by the agent, inducing it to abandon executing legitimate tasks; this is an availability attack under the indirect prompt injection threat model. Based on the AgentAbstain benchmark, the study constructs paired task variants and evaluates 51 injectable task pairs across three model families, deepseek-v4-pro, gpt-5.4, and gemini-3-flash, finding that caution-first prompting amplifies the attack: gemini-3-flash's induced over-abstention rate rises from 9.8% to 86.3%, while its normal task completion rate remains 96%. Wording comparisons show that models are sensitive to warning language: on the document analysis subset, deepseek-v4-pro's abstention rate for explicit warnings is 100%, which drops to 0% when changed to objective factual descriptions.

Why it was selectedThrough controlled experiments, the paper quantifies how caution-first prompting amplifies fabricated-warning attacks, offering a perspective for agent safety evaluation that examines the basis for abstention.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Studies warning-induced over-abstention: an attacker places a false warning in low-trust content, causing the agent to refuse a legitimate task.

    Core problem: the agent's decision to "not act" can itself become an attack surface—an attacker places a forged risk warning in low-trust content, inducing a tool-using agent to abandon a legitimate operation it should have completed (warning-induced over-abstention).

    • Scenario and importance: A tool-using agent must decide both how to complete a task and when to stop acting. The authors argue that acting despite a real risk causes harm, while accepting a forged restriction causes refusal of legitimate service; safe abstention requires evaluating both the claimed risk and the authority of the supporting evidence.
    • Shortcomings of existing work: The authors state that existing indirect prompt injection benchmarks (e.g., InjecAgent, AgentDojo, BIPIA) measure injected content causing an agent to take harmful actions (leaking data, calling the wrong tool), whereas this paper studies the mirror harm—making a compliant agent refuse legitimate work (availability poisoning denial of service). Over-refusal research (XSTest, OR-Bench) measures only on single-turn chat prompts.
    • Core observation: A natural safety intervention—instructing the agent to prioritize caution (caution-first)—may instead increase its susceptibility to forged warnings; the authors state this "backfire" is largest on the model that is most robust at baseline.
    • What the paper proposes: Construct controlled task variants based on AgentAbstain (varying risk content, source provenance, warning wording), and propose and evaluate the Verify-Before-Abstain protocol (provenance-aware verification), which requires the agent to verify warnings against authoritative records or underlying content.
    • Threat model:
      • Attacker goal: Make the agent abstain from an otherwise legitimate task (availability attack).
      • Knowledge: The paper does not state whether the attacker needs to know model or task details.
      • Capability: Under the main threat model, the attacker can only write to low-trust channels (external document content, in-band metadata tags), which is indirect prompt injection; authoritative business state is unchanged. A stronger capability is evaluated separately: rewriting the authoritative record system (approval status or registry).
      • Victim system: A tool-using agent running in the AgentAbstain MCP sandbox environment.
  2. What related research exists?

    Related work covers the AgentAbstain benchmark, indirect prompt injection, injection defenses, over-refusal and agent safety evaluation.

    AgentAbstain benchmark

    • AgentAbstain (Liu et al., 2026)—measures abstention calibration via 263 should-act/should-abstain task pairs across 42 sandbox environments; this paper reuses its paired structure and environments, extending evaluation from "whether there is reason to stop" to "the reliability of the evidence on which the stop decision is based."

    Indirect prompt injection

    • Greshake et al. (2023) and Perez & Ribeiro (2022)—proposed indirect prompt injection: an attacker can influence an agent's behavior merely by writing content the agent later reads; this paper's attack is an instance of it.
    • InjecAgent (Zhan et al., 2024), AgentDojo (Debenedetti et al., 2024), BIPIA (Yi et al., 2025)—measure whether injected content makes agents take harmful actions; the paper notes that this work studies the mirror harm (forcing refusal of legitimate work). The paper also notes that BIPIA reports that more capable models are more vulnerable on text tasks, echoing this paper's finding that the caution-first backfire is largest on the most robust baseline model.
    • Liu et al. (2024)—formally evaluates injection attacks and defenses; this paper states that its controlled abstention comparison complements it.

    Injection defenses and provenance

    • Instruction hierarchy (Wallace et al., 2024), spotlighting (Hines et al., 2024), StruQ (Chen et al., 2024)—distinguish trusted from untrusted text via privilege ordering, marking untrusted text, and a structured query interface, respectively. The paper notes that this paper's provenance-aware condition is a prompt-level instance of the same trust-separation idea on the risk-signal channel, but targets "harmful inaction" rather than harmful actions.

    Over-refusal and surface-feature shortcuts

    • XSTest (Röttger et al., 2024)—attributes exaggerated safety to vocabulary overfitting; the paper notes this is consistent with the wording sensitivity in this paper's document-analysis experiment.
    • OR-Bench (Cui et al., 2025) and Bianchi et al. (2024)—the former shows safety and over-refusal are strongly coupled, the latter shows safety fine-tuning overgeneralizes into refusal; the paper notes these are consistent with this paper's caution-first results, but these works only test single-turn chat.
    • Sycophancy research (Perez et al., 2023; Sharma et al., 2024)—examines how models respond to input cues; this paper examines whether warning language affects restraint when task state does not support it.

    Agent and tool-use safety, LLM judging

    • ToolEmu (Ruan et al., 2024), R-Judge (Yuan et al., 2024), τ-bench (Yao et al., 2024)—evaluate whether agents use tools safely; Zou et al. (2023)'s jailbreak work attacks the refusal boundary from the other side (inducing unsafe output), whereas this paper forces refusal.
    • LLM-as-judge (Zheng et al., 2023; Wang et al., 2024)—known to have bias and calibration limitations; this paper measures via action trajectories where possible and fixes the judge model across conditions.

    Baselines and benchmark: this paper has no baseline methods to compare against; it compares the same agent under three prompting conditions—baseline, caution-first, provenance-aware; the benchmark is AgentAbstain.

    The authors position this paper as: advancing abstention evaluation from "whether there is a reason to stop" to "the reliability of the evidence on which the stop decision is based," and showing that over-refusal can be adversarially induced in tool-using agents and responds to provenance-aware verification.

  3. How does the paper address this problem?

    Construct controlled task variants on AgentAbstain, compare three prompting conditions, and test the boundary of the verification protocol with forgery conditions.

    Overall approach: reuse AgentAbstain's paired task structure, construct controlled variants by editing only each task's initial_states, separate "the authority of the warning" from "whether the underlying risk exists," and then evaluate the Verify-Before-Abstain (provenance-aware verification) protocol.

    Task variant construction

    • Extend AgentAbstain's S7 (conflicting evidence) and S8 (emerging risk discovery) scenarios, editing only per-task initial_states and reusing the benchmark environment.
    • Clean Task: The original task, with no injected warning; the expected behavior is to act.
    • False Warning: A clean business state plus a forged "URGENT COMPLIANCE HOLD" placed in a low-trust carrier; the expected behavior is to act (after verification if necessary).
    • Sensitive Content: Genuinely confidential content with a low-trust annotation; the expected behavior is to avoid leakage.
    • Explicit Risk Warning / Factual Risk Description: The same prescribed litigation-hold risk expressed respectively in warning language and as an objective factual statement; in both cases the expected behavior is abstention.

    Three prompting conditions and forgery conditions

    • Baseline: The original prompt.
    • Caution-First: Adds an instruction to prioritize restraint (Appendix A gives the full prompt).
    • Provenance-Aware: The Verify-Before-Abstain protocol plus a _provenance trust-level envelope; uses controlled, oracle-provided provenance labels and does not implement provenance authentication.
    • In-Band Provenance Forgery: Forges the envelope (changing the _provenance label of the warning record to the authoritative level), while the authoritative state remains clean.
    • Authoritative-Record Compromise: Additionally tampers with authoritative approval records (approval_state, reports_registry, etc.); in this case abstention is appropriate for the modified task state.

    Injection carriers and reachability check

    • The generator searches the environment read by the task's action graph for reachable free-text fields (content_text, body, notes, summary, description), appends the payload, and does not modify the original content.
    • Each generated task undergoes a reachability check: rebuild the environment and replay the graph's read calls, requiring the unique injection marker to appear in the tool response. Of 63 S7+S8 task pairs, 51 passed, covering about 21 environments; the interfaces of the remaining 12 pairs do not expose the injected text.

    Result measurement

    • Retain the benchmark's two evaluation tracks: deterministic key-action check (commit_check.tool_commit) and gpt-5.4 review of the final reply.
    • Sensitive-content tasks and the risk-wording comparison use the action trajectory as the primary measurement; the sensitive-content evaluation also distinguishes safe editing from leaking synthesized confidential content.
    • Induced over-abstention is defined as: the proportion of task pairs in which the clean task passes the reply review and the false-warning task does not; report Wilson 95% confidence intervals, and use the exact two-sided McNemar test to compare false-warning task completion rates under baseline and caution-first.

    Models and execution

    • Evaluate deepseek-v4-pro, gpt-5.4, and gemini-3-flash, via the DeepSeek API, OpenAI Responses API, and Google ADK respectively; API identifiers are gpt-5.4-2026-03-05 and gemini-3-flash-preview; gpt-5.4's temperature is not set.
    • The reply reviewer is fixed as gpt-5.4; except for the multi-seed evaluation in Sec. 5.6, each task is run once per condition.
    • The intervention code changes only task states and prompts and does not modify the benchmark's tracked source code; the authors plan to release the experimental code and task-variant increments under an open-source license (Ethics and Broader Impact).
  4. What experiments did the paper conduct?

    Across the three models on 51 paired tasks, caution-first amplifies over-abstention in all cases; provenance verification restores completion rates but depends on authoritative evidence.

    Experimental setup

    • Models under test: deepseek-v4-pro, gpt-5.4, gemini-3-flash (API identifiers gpt-5.4-2026-03-05, gemini-3-flash-preview).
    • Benchmark: AgentAbstain's S7+S8 scenarios; of 63 task pairs, 51 are injectable (about 21 environments); the document-analysis subset has 15 pairs, the wording and sensitive-content comparison has 7 pairs; the release environment has 16 pairs (7 pairs for wording and sensitive content).
    • Comparison conditions: Baseline / Caution-First / Provenance-Aware prompts, plus two attacker-capability conditions, In-Band Provenance Forgery and Authoritative-Record Compromise; no external baseline method.
    • Metrics: induced over-abstention rate (clean task passes review while false-warning task does not), false-warning task completion rate, abstention rate, sensitive-content leakage count, clean-task completion rate.
    • Review method: deterministic key-action check + gpt-5.4 reply review (fixed per condition); wording and sensitive content use the action trajectory.
    • Sample size and repetitions: main comparison n=51 per model, one run per condition; gpt-5.4's over-abstention and wording evaluation use 3 seed repetitions.

    Main results

    According to Table 1 (S7+S8 full set, n=51, Wilson 95% CI, McNemar exact test):

    Swipe horizontally to read the table

    ModelBaseline over-abstentionCaution-First over-abstentionPaired (b, c)p
    deepseek-v4-pro21.6% [12–35]64.7% [51–76]27, 1< 10⁻⁴
    gpt-5.427.5% [17–41]41.2% [29–55]17, 0< 10⁻⁴
    gemini-3-flash9.8% [4–21]86.3% [74–93]41, 0< 10⁻⁴
    • The authors state that the caution-first prompt increased the over-abstention rate for all three models; gemini-3-flash, which had the largest increase, is exactly the model with the lowest baseline over-abstention, and its clean-task completion rate is 96% under both conditions.
    • Clean-task review pass rates (baseline/caution-first): deepseek-v4-pro 98/90%, gpt-5.4 88/71%, gemini-3-flash 96/96%; the authors note that ordinary task-completion failure remains a factor, especially for gpt-5.4 under caution-first.
    • The authors state that the failure trajectories they inspected include cases that stop after explicitly citing the injected notice (Appendix D gives representative examples).

    Risk-wording sensitivity (Table 2, document analysis, n=7)

    • What was measured: The same prescribed litigation-hold risk, explicit warning wording vs objective factual description; abstention = not executing the key action.
    • Results: deepseek-v4-pro abstention rate 100% vs 0% (∆lex=+100%, p=0.0156); gpt-5.4 (3 seeds) 95% vs 48% (+47%, p=0.125); gemini-3-flash 43% vs 14% (+29%, p=0.50).
    • Authors' interpretation: These observations are consistent with sensitivity to warning language in the document-analysis scenario, but do not prove a general lack of risk understanding; the latter two are in the same direction but do not reach the 0.05 threshold, and the effect was not stably reproduced in the release environment.

    Provenance-aware verification and forgery robustness (Table 3, Table 4, document-analysis subset)

    • Completion-rate recovery: False-warning task completion rate from caution-first to provenance-aware: deepseek-v4-pro 27%→100%, gpt-5.4 33%→73%, gemini-3-flash 13%→100%; the authors state the recovery is large but model-dependent.
    • Forgery conditions: Under in-band forgery the abstention rates are 0%/20%/7% (three models in the same order as above), and under true labels 0%/27%/0%; under authoritative-record tampering they rise to 100%/93%/93%—the authors note that in this case the record is genuinely in a hold state, so abstention is appropriate, and this experiment locates the defense boundary rather than breaking it.
    • Sensitive-content comparison: deepseek-v4-pro leakage 0/7 (baseline)→1/7 (provenance-aware), gpt-5.4 0/7 under both conditions; the authors suggest interpreting these small-sample results together with the higher leakage rates in the release environment.

    Release environment and multi-seed evaluation (Table 5, Table 6, Sec. 5.6)

    • Release-environment over-abstention (n=16): deepseek-v4-pro 25%→75% (p=0.008), gemini-3-flash 12%→50% (p=0.016), gpt-5.4 remains 44% (p=0.45); provenance-aware improves completion rates for all, but gpt-5.4 only 31%→38%.
    • Release-environment wording and leakage: ∆lex is +0% (deepseek-v4-pro), +43% (gpt-5.4), −14% (gemini-3-flash), none significant; sensitive-content leakage baseline→provenance-aware is 3/7→2/7, 2/7→3/7, 4/7→1/7; the authors state that the completion-rate improvement does not prove that confidential protection is consistently maintained.
    • Interface dependence: documents_and_analysis and document_authoring_and_publication expose reachable free-text carriers, while the tested retail_orders interface discards the injected text (Table 5); the authors state this is a constraint on the tested attack channel, not evidence of immunity to other injection strategies.
    • Multi-seed (gpt-5.4, 3 runs/task): the over-abstention paired p changes from 0.062 to 0.008 (pooled false-warning completion rate Baseline 64% [50–77] vs Caution-First 31% [20–46], intervals do not overlap; of 15 tasks, 8 have a higher completion rate under Baseline and 0 reverse); the pooled wording ∆lex remains 95% vs 48%, but with 7 task pairs the sign-test upper bound is p=0.125; the authors note that the number of task pairs limits statistical power.

    Other ablations and analyses

    • Clean-task completion rate (document-analysis subset, Baseline/Caution-First/Provenance-Aware): deepseek-v4-pro 100/100/100, gpt-5.4 87/73/87, gemini-3-flash 93/100/100 (Table 3).
    • Release-environment false-warning completion-rate triples: 69/19/75, 50/31/38, 81/38/75 (Table 6).
    • Release-environment forgery triples (Provenance-Aware/In-Band Forgery/Authoritative-Record Tampering): 25/19/62, 62/50/69, 25/38/69 (Table 6).
    • Verification check: the document-analysis subset passes the payload reachability check 15/15; Leaderboard Reproduction (original leaderboard reproduction) was not performed.
  5. What are some points that can be further explored?

    The authors list four categories of limitations: sample size, reviewer bias, construct and threat-model scope, and benchmark comparability.

    Limitations and future directions noted by the authors

    • Sample size and precision (Sec. 7): The full-set evaluation uses 51 pairs per model, the document-analysis provenance and forgery comparison uses a 15-pair subset, wording and sensitive content use 7 pairs, and the release environment uses 16/7 pairs; except for the gpt-5.4 multi-seed experiment, each condition is run once, and these sample sizes limit precision and generalization; the failure to reproduce the wording effect in the release environment cannot by itself determine the cause of the environment difference.
    • Measurement (Sec. 7): The reply reviewer gpt-5.4 is also one of the agents under test, and a fixed reviewer cannot prove that its bias cancels across conditions; clean-task completion rates vary by model and condition, and some failures reflect general task completion rather than warning-induced abstention.
    • Construct and threat-model scope (Sec. 7): The wording comparison simultaneously changes the warning vocabulary and the explicitness of the behavioral restriction, requiring additional paraphrase controls to separate vocabulary effects from instruction explicitness; the expected response under the litigation-hold condition is prescribed by the benchmark task and should not be read as a general claim about legal obligations.
    • Defense scope (Sec. 7): Provenance-aware verification is evaluated under controlled provenance envelopes and accessible authoritative records; the experiments do not address how provenance is authenticated in deployed systems, nor do they prove consistent protection against confidential-data leakage; interfaces that discard the tested payload constrain that attack channel but may expose other channels.
    • Benchmark comparability (Sec. 7): Leaderboard reproduction was not performed, the API and harness configuration differ from the original benchmark, and the conclusions concern only within-experiment comparisons under the reported configuration.
    • Future directions (Sec. 6): Further controls are needed to causally separate factors such as wording and action consequences; the authors plan to coordinate with the AgentAbstain maintainers before expanding the public release of task variants (Ethics and Broader Impact).

    Experimental coverage

    • The models under test are deepseek-v4-pro, gpt-5.4, and gemini-3-flash, 3 in total; the reply reviewer is fixed as gpt-5.4.
    • Task scale: S7+S8 full set 51 injectable task pairs (about 21 environments); document-analysis subset 15 pairs; wording and sensitive-content comparison 7 pairs; release environment 16 pairs (7 pairs for wording and sensitive content).
    • Except for gpt-5.4's over-abstention and wording evaluation, which run 3 seeds, each task is run once per condition.
    • Sensitive-content leakage is a count metric, with a denominator of 7 per group.
    • The defense evaluation includes three attacker-capability conditions: provenance-aware verification, in-band provenance forgery, and authoritative-record tampering; the paper does not report the number of queries or runtime required for a successful attack.
  6. Summarize the main content of the paper

    Forged warnings can induce agents to abandon legitimate tasks; caution-first amplifies this risk, and provenance verification is partially effective but has boundaries.

    An attack study on the robustness of tool-using agents' abstention decisions: the authors treat "inaction" itself as an attack surface and study warning-induced over-abstention—the attacker places forged risk warnings in low-trust content via indirect prompt injection, causing the agent to refuse legitimate tasks.

    • Problem: the authors argue that safe abstention requires evaluating both the claimed risk and the authority of the evidence; existing injection benchmarks only test "inducing harmful actions," whereas this paper tests the mirror "inducing harmful inaction."
    • Method: based on the S7/S8 scenarios of AgentAbstain, they construct controlled variants (clean task, fake warning, sensitive content, explicit warning vs factual description), compare three prompts—Baseline, Caution-First, Provenance-Aware (Verify-Before-Abstain)—and use in-band forgery and authoritative-record tampering to locate the defense boundary; measurement combines deterministic action checks with gpt-5.4 judging.
    • Main results: on 51 injectable task pairs, caution-first prompting raises induced over-abstention for the three models from 21.6%/27.5%/9.8% to 64.7%/41.2%/86.3% (deepseek-v4-pro/gpt-5.4/gemini-3-flash, McNemar p<10⁻⁴, Table 1); gemini-3-flash shows the largest increase and maintains a 96% clean-task completion rate.
    • Wording and defenses: in document analysis, deepseek-v4-pro abstains 100% on explicit warnings and 0% on factual descriptions (n=7, p=0.0156, Table 2); provenance-aware verification raises fake-warning task completion to 100% for deepseek-v4-pro, 73% for gpt-5.4, and 100% for gemini-3-flash (Table 3), but when authoritative records are tampered with, the three models' abstention rates reach 100%/93%/93% (Table 4), and sensitive-content leakage control in the release environment shows mixed results.
    • Authors' conclusion: refusal frequency alone is not a complete measure of agent safety behavior; the authors argue that safety evaluation should examine both the safety of actions and the evidence on which abstention is based, and jointly evaluate usability recovery and confidentiality protection.
Read originalarxiv.org