When Defenses Backfire: Model-Dependent Failure Modes in Prompt-Injection Defense for LLM Agents

Prompt-injection defenses for large language model (LLM) agents are deployed under the implicit assumption that they are, at worst, neutral—that adding a defense cannot make an agent more vulnerable than leaving it undefended. This paper shows that assumption is false and characterizes the resulting failure mode, termed defense backfire. In a factorial evaluation of five production LLMs across four task suites, three defenses, and four attacks (240 conditions on AgentDojo), the same defense sharply reduces attack success on one model yet increases it on another—lowering one model’s attack success rate (ASR) by up to 86.7 percentage points (pp) while raising another’s by 31.2 pp under the identical static attack. Unlike adaptive-attack results, where defenses fall to stronger attacks, backfire is driven by target selection. The cause is established by intervention: backfire tracks the defense-induced change in tool-use activity (r=0.72 on attackable models), and externally capping the tool budget monotonically removes it, isolating re-exposure as the mechanism for the largest effects. A defense can even be strictly dominated, raising ASR and lowering utility at once. Thus prompt-injection defenses cannot be deployed model-agnostically; their safety must be established per model.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-06-17
DOI
https://doi.org/10.5281/zenodo.20735483
Primary Topic
Adversarial Robustness in Machine Learning
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
preprint

When Defenses Backfire: Model-Dependent Failure Modes in Prompt-Injection Defense for LLM Agents

Namita Mittal, Munish Singh
Zenodo (CERN European Organization for Nuclear Research)
Adversarial Robustness in Machine Learning
preprint

When Defenses Backfire: Model-Dependent Failure Modes in Prompt-Injection Defense for LLM Agents

Namita Mittal, Munish Singh
preprint en

Abstract

Prompt-injection defenses for large language model (LLM) agents are deployed under the implicit assumption that they are, at worst, neutral—that adding a defense cannot make an agent more vulnerable than leaving it undefended. This paper shows that assumption is false and characterizes the resulting failure mode, termed defense backfire. In a factorial evaluation of five production LLMs across four task suites, three defenses, and four attacks (240 conditions on AgentDojo), the same defense sharply reduces attack success on one model yet increases it on another—lowering one model’s attack success rate (ASR) by up to 86.7 percentage points (pp) while raising another’s by 31.2 pp under the identical static attack. Unlike adaptive-attack results, where defenses fall to stronger attacks, backfire is driven by target selection. The cause is established by intervention: backfire tracks the defense-induced change in tool-use activity (r=0.72 on attackable models), and externally capping the tool budget monotonically removes it, isolating re-exposure as the mechanism for the largest effects. A defense can even be strictly dominated, raising ASR and lowering utility at once. Thus prompt-injection defenses cannot be deployed model-agnostically; their safety must be established per model.

Zenodo (CERN European Organization for Nuclear Research)
Malaviya National Institute of Technology Jaipur (IN)
Adversarial Robustness in Machine Learning
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.