Cited by 126Adversarial Robustness in Machine LearningSecurity and Verification in ComputingWeb Application Security Vulnerabilities

The DOI matches its Crossref record; 4 of the 36 references it cites were found in a registry or an index, and 32 are not checked yet; 3 of the 17 sources its claims cite were checked for support.

Adaptive Attacks Break Defenses Against Indirect Prompt Injection Attacks on LLM Agents

Open access
Zhan, Qiusi, Fang, Richard, Panchal, Henil Shalin, Kang, Daniel·2025·Findings of the Association for Computational Linguistics: NAACL 2025

Abstract

Large Language Model (LLM) agents exhibit remarkable performance across diverse applications by using external tools to interact with environments.However, integrating external tools introduces security risks, such as indirect prompt injection (IPI) attacks.Despite defenses designed for IPI attacks, their robustness remains questionable due to insufficient testing against adaptive attacks.In this paper, we evaluate eight different defenses and bypass all of them using adaptive attacks, consistently achieving an attack success rate of over 50%.This reveals critical vulnerabilities in current defenses.Our research underscores the need for adaptive attack evaluation when designing defenses to ensure robustness and reliability.

Verified 2026-11-10 · 32 references not checked yet

Overview

AI snapshot

Written from the paper’s full text.

TL;DR

This paper evaluates eight defenses against indirect prompt injection (IPI) attacks on LLM agents and designs adaptive attacks that bypass all of them, with adaptive attack success rates consistently above 50%. It argues that adaptive attack evaluation is necessary to assess defense robustness.

Key findings

  • Adaptive attacks broke all eight defenses across both tested agents, with ASR-adaptive attack exceeding 50% in all cases.
  • For the Vicuna-7B prompted agent, most defenses reduced original ASR from 56% to lower values, such as 12% with adversarial finetuning; for the Llama3-8B finetuned agent, original ASR was 9% and lower under defenses.
  • Detection-based defenses were largely bypassed: fine-tuned detector detection rate dropped from 61% on original attacks to 1% with adversarial strings for Vicuna-7B; LLM-based detector dropped from 72% to 0% for Llama3-8B; perplexity filtering had 0% detection on original attacks and 1% with adversarial strings.
  • Adaptive strings also improved ASR over non-adaptive strings for defenses targeting adversarial strings: perplexity filtering Vicuna-7B 24% → 76%, Llama3-8B 22% → 61%; paraphrasing Vicuna-7B 53% → 79%, Llama3-8B 8% → 54%.
  • Detailed ASRs: Vicuna-7B total original 0.50, ASR-defense 0.33 ± 0.18, ASR-attack 0.68 ± 0.15; Llama3-8B total original 0.40, ASR-defense 0.02 ± 0.02, ASR-attack 0.57 ± 0.17.

Methods

  • Evaluated eight defenses grouped as detection-based (fine-tuned detector, LLM-based detector, perplexity filtering), input-level (instructional prevention, data prompt isolation, sandwich prevention, paraphrasing), and model-level (adversarial finetuning).
  • Used InjecAgent benchmark subset of 100 test cases: 50 direct harm and 50 data stealing, including 25 unique direct harm attacks, 27 distinct data stealing attacks, and 16 user scenarios. Tested two agents: Vicuna-7B prompted ReAct agent and Llama3-8B finetuned agent.
  • Designed adaptive attacks using GCG, multi-objective GCG, two-stage GCG, and AutoDAN, assuming white-box access to agent, defenses, and prompts. Metrics included attack success rate (ASR), target rate, and detection rate; additional AgentDojo experiments used 16 cases on Llama3-8B.

Limitations

  • The paper states its adaptive attacks focus only on the agent’s first-step action, so they provide the least improvement in the second step of data-stealing attacks.
  • The paper states attacks assume white-box access to the agent model, defense models, and detailed prompts, and that it does not account for combinations of defenses or exhaustively cover all possible defenses.
  • Evident from the text: the main evaluation uses a 100-case subset of InjecAgent, and the AgentDojo extension uses only 16 cases, which may limit generalizability.

Model-written summary. Check it against the paper before relying on it.

Integrity signals

Registry

Crossref · 10.18653/v1/2025.findings-naacl.395

Cites

4 of 36 references verified0 citation errors · 0 not checkable

Statistics

Nothing to recompute.

Figures

Figure 1 Defenses and adaptive attacks of indirect prompt injection attacks of LLM agent.
Figure 1 Defenses and adaptive attacks of indirect prompt injection attacks of LLM agent.CC-BY · From the PDF
Figure 2 ASRs (%) for different defenses (in green), and ASRs after implementing adaptive attacks (in red) for both Vicuna-7B based prompted agent and Llama3-8B based finetuned agent. We also display the ASR of the original attacks without any defense or adaptive attacks (in gray).
Figure 2 ASRs (%) for different defenses (in green), and ASRs after implementing adaptive attacks (in red) for both Vicuna-7B based prompted agent and Llama3-8B based finetuned agent. We also display the ASR of the original attacks without any defense or adaptive attacks (in gray).CC-BY · From the PDF
Figure 3 Target rates (%) and ASRs (%) after using adaptive attacks for each defense.
Figure 3 Target rates (%) and ASRs (%) after using adaptive attacks for each defense.CC-BY · From the PDF
Figure 4 Valid rates for different defenses (in yellow), and valid rates after implementing adaptive attacks (in blue) for Vicuna-7B based agent. We also display the valid rates of the original attacks without any defense or adaptive attacks (in gray).
Figure 4 Valid rates for different defenses (in yellow), and valid rates after implementing adaptive attacks (in blue) for Vicuna-7B based agent. We also display the valid rates of the original attacks without any defense or adaptive attacks (in gray).CC-BY · From the PDF
Figure 5 Cross-evaluation of attacks and defenses. Each grid represents the ASR of adversarial strings trained under specific adaptive attacks against certain defenses. (a) shows results for the Vicuna-7B agent, while (b) corresponds to the Llama3-8B agent. 'None' indicates no defense. 'Original' refers to the IPI attacks without adversarial strings, and 'None|GCG' denotes the GCG attack for no defense.
Figure 5 Cross-evaluation of attacks and defenses. Each grid represents the ASR of adversarial strings trained under specific adaptive attacks against certain defenses. (a) shows results for the Vicuna-7B agent, while (b) corresponds to the Llama3-8B agent. 'None' indicates no defense. 'Original' refers to the IPI attacks without adversarial strings, and 'None|GCG' denotes the GCG attack for no defense.CC-BY · From the PDF

Verification

Claims the paper makes

22 Own result · 12 Own interpretation · 9 No basis given · 6 Not checked yet · 4 Sources not found · 3 Own method · 1 Supported · 1 Partly supported · accuracy not yet measured

Verify all 6 references — free account

Show all 29 claims

  • Probably not a substantial claim. 18
  • It may state two separate claims as one. 11
29 of 29
  • The paper relies on this without support.

    No studies have yet explored the effectiveness of IPI defenses against adaptive attacks.

    “While defenses against IPI attacks have been proposed (Yi et al., 2023), no studies have yet explored their effectiveness against adaptive attacks, leaving their robustness in question.”
  • The authors state this as an assumption.

    The attacker has knowledge of and white-box access to the agent and defenses.

    “In the adaptive attack setting, we assume the attacker has knowledge of and white-box access to the agent and defenses (Athalye et al., 2018).”
  • The authors state this as an assumption.

    The attacker has white-box access to the agent model, defense models, and detailed prompts.

    “Our attacks assume the attacker has white-box access to the agent model, defense models, and detailed prompts.”
  • The paper relies on this without support.

    This paper is the first to explore adaptive attacks specifically targeting LLM agent safety.

    “To the best of our knowledge, this paper is the first to explore adaptive attacks specifically targeting LLM agent safety.”
4 of 4

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

Each contradiction between two passages listed here was confirmed by an independent check.

1 of 1

Citations

Cites

Show all 4 references

Research works printed but not linked: 17

  1. Anish Athalye, Nicholas Carlini, and David A. Wag- ner. 2018. Obfuscated gradients give a false sense of security: Circumventing defenses to adversarial examples. In Proceedings of the 35th International Conference on Machine Learning, ICML 2018, Stock- holmsmässan, Stockholm, Sweden, July 10-15, 2018, volume 80 of Proceedings of Machine Learning Re- search, pages 274-283.
  2. PMLR.
  3. Xiangming Gu, Xiaosen Zheng, Tianyu Pang, Chao Du, Qian Liu, Ye Wang, Jing Jiang, and Min Lin. 2024. Agent smith: A single image can jailbreak one million multimodal LLM agents exponentially fast. In Forty-first International Conference on Machine Learning, ICML 2024, Vienna, Austria, July 21-27, 2024. OpenReview.net.
  4. Pengcheng He, Xiaodong Liu, Jianfeng Gao, and Weizhu Chen. 2021. Deberta: Decoding-enhanced bert with disentangled attention. In International Conference on Learning Representations.
  5. Edward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. 2022. Lora: Low-rank adaptation of large language models. In The Tenth International Conference on Learning Representations, ICLR 2022, Virtual Event, April 25-29, 2022. OpenReview.net.
  6. Xiaogeng Liu, Nan Xu, Muhao Chen, and Chaowei Xiao. 2024a. Autodan: Generating stealthy jailbreak prompts on aligned large language models. In The Twelfth International Conference on Learning Rep- resentations, ICLR 2024, Vienna, Austria, May 7-11, 2024. OpenReview.net.
  7. Mantas Mazeika, Long Phan, Xuwang Yin, Andy Zou, Zifan Wang, Norman Mu, Elham Sakhaee, Nathaniel Li, Steven Basart, Bo Li, David A. Forsyth, and Dan Hendrycks. 2024. Harmbench: A standardized eval- uation framework for automated red teaming and ro- bust refusal. In Forty-first International Conference on Machine Learning, ICML 2024, Vienna, Austria, July 21-27, 2024. OpenReview.net.
  8. Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida, Carroll L. Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, John Schulman, Jacob Hilton, Fraser Kelton, Luke Miller, Maddie Simens, Amanda Askell, Peter Welin- der, Paul F. Christiano, Jan Leike, and Ryan Lowe. 2022. Training language models to follow instruc- tions with human feedback. In Advances in Neural Information Processing Systems 35: Annual Confer- ence on Neural Information Processing Systems 2022, NeurIPS 2022, New Orleans, LA, USA, November 28 -December 9, 2022.
  9. Mansi Phute, Alec Helbling, Matthew Hull, Shengyun Peng, Sebastian Szyller, Cory Cornelius, and Duen Horng Chau. 2024. LLM self defense: By self examination, llms know they are being tricked. In The Second Tiny Papers Track at ICLR 2024, Tiny Papers @ ICLR 2024, Vienna, Austria, May 11, 2024.
  10. Rafael Rafailov, Archit Sharma, Eric Mitchell, Christo- pher D. Manning, Stefano Ermon, and Chelsea Finn. 2023. Direct preference optimization: Your language model is secretly a reward model. In Advances in Neural Information Processing Systems 36: Annual Conference on Neural Information Processing Sys- tems 2023, NeurIPS 2023, New Orleans, LA, USA, December 10 -16, 2023.
  11. Yangjun Ruan, Honghua Dong, Andrew Wang, Sil- viu Pitis, Yongchao Zhou, Jimmy Ba, Yann Dubois, Chris J. Maddison, and Tatsunori Hashimoto. 2024. Identifying the risks of LM agents with an lm- emulated sandbox. In The Twelfth International Con- ference on Learning Representations, ICLR 2024, Vienna, Austria, May 7-11, 2024. OpenReview.net.
  12. Florian Tramèr, Nicholas Carlini, Wieland Brendel, and Aleksander Madry. 2020. On adaptive attacks to ad- versarial example defenses. In Advances in Neural Information Processing Systems 33: Annual Confer- ence on Neural Information Processing Systems 2020, NeurIPS 2020, December 6-12, 2020, virtual.
  13. Alexander Wei, Nika Haghtalab, and Jacob Steinhardt. 2023. Jailbroken: How does LLM safety training fail? In Advances in Neural Information Processing Systems 36: Annual Conference on Neural Informa- tion Processing Systems 2023, NeurIPS 2023, New Orleans, LA, USA, December 10 -16, 2023.
  14. Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik R. Narasimhan, and Yuan Cao. 2023. React: Synergizing reasoning and acting in language models. In The Eleventh International Conference on Learning Representations, ICLR 2023, Kigali, Rwanda, May 1-5, 2023. OpenReview.net.
  15. Youliang Yuan, Wenxiang Jiao, Wenxuan Wang, Jen-tse Huang, Pinjia He, Shuming Shi, and Zhaopeng Tu. 2024b. GPT-4 is too smart to be safe: Stealthy chat with llms via cipher. In The Twelfth International Conference on Learning Representations, ICLR 2024, Vienna, Austria, May 7-11, 2024. OpenReview.net.
  16. Lianmin Zheng, Wei-Lin Chiang, Ying Sheng, Siyuan Zhuang, Zhanghao Wu, Yonghao Zhuang, Zi Lin, Zhuohan Li, Dacheng Li, Eric Xing, Hao Zhang, Joseph E Gonzalez, and Ion Stoica. 2023. Judging llm-as-a-judge with mt-bench and chatbot arena. In Advances in Neural Information Processing Systems, volume 36, pages 46595-46623.
  17. Sicheng Zhu, Ruiyi Zhang, Bang An, Gang Wu, Joe Bar- row, Zichao Wang, Furong Huang, Ani Nenkova, and Tong Sun. 2023. Autodan: Interpretable gradient- based adversarial attacks on large language models. In First Conference on Language Modeling.

Cited by

Sorted by citations

See all 126

Metadata

Authors
Zhan, Q., Fang, R., Panchal, H. S., & Kang, D.
Affiliations
University of Illinois Urbana-Champaign (US)
Venue
Findings of the Association for Computational Linguistics: NAACL 2025
Published
2025
Pages
7101-7117
OpenAlex
W4411119880
Cited by
124
References
4
Citations by year
2026: 103 · 2025: 21
FWCI
44.53
Type
conference paper
Language
en
Open access
Licence
cc-by
Locations
  • Findings of the Association for Computational Linguistics: NAACL (publishedVersion, cc-by)
  • arXiv (Cornell University) (submittedVersion, cc-by)
  • arXiv (Cornell University) (cc-by)
Funders
Open Philanthropy Project
Topics
  • Physical Sciences › Computer Science › Artificial Intelligence › Adversarial Robustness in Machine Learning
  • Physical Sciences › Computer Science › Hardware and Architecture › Security and Verification in Computing
  • Physical Sciences › Computer Science › Information Systems › Web Application Security Vulnerabilities
Keywords
LLM agents, adaptive attacks, defense robustness, external tool integration, security vulnerabilities, attack evaluation

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

A language model drew the claims from the paper on 2026-11-10, under version 3 of the claim definition (model deepseek-v4.1-flash, prompt extract-v3).

A second model labelled each claim on 2026-11-10 (model jev-1.13-20260917, definition revision gold-guideline-v0.2).

Cited sources are checked with a language model’s help (gpt-6-sol).

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review

How to cite

Cite CoChat for the checks on this page, and the paper for its own findings.

This page
CoChat. (2026). Citation check: Adaptive Attacks Break Defenses Against Indirect Prompt Injection Attacks on LLM Agents. https://app.cochat.ai/papers/10.18653/v1/2025.findings-naacl.395
The paper
Zhan, Q., Fang, R., Panchal, H. S., & Kang, D. (2025). Adaptive Attacks Break Defenses Against Indirect Prompt Injection Attacks on LLM Agents. Findings of the Association for Computational Linguistics: NAACL 2025. https://doi.org/10.18653/v1/2025.findings-naacl.395