mlsanityData to 14 Oct 2026

AutoDojo: Adaptive Black-Box Attacks Reveal the Limits of IPI Defenses and Task-Specification Effects in LLM Agents

arXiv 2606.15057 ↗First posted 13 Jun 2026cs.CR cs.AIcited by 5

On the map: LLM agents and tool use → Agent threats, guardrails and governance

also in 1 more
Abstract (arXiv)

Indirect prompt injection (IPI) is a major security threat to LLM-powered agents. Thus, a growing body of work has proposed a variety of defensive approaches against IPI which can be grouped into three broad categories: prompt-level, filter-based, and system-level designs. However, commonly used benchmarks for evaluating defense, such as AgentDojo, are inherently static, generating a fixed distribution of IPI attacks. Consequently, a defense can score well on them without being robust to adaptive threats. We introduce AutoDojo, a generative benchmark built on AgentDojo and AgentDyn that generates IPI adaptively for a given agent and defense. It supports six task suites across the two benchmarks, covering banking, communication, travel, shopping, coding, and everyday-assistant domains. AutoDojo optimizes injections under a strict black-box setting, observing only whether a candidate injection succeeds, and can readily integrate, and often improve on, any existing black-box attack. Across ten defenses and five target models, AutoDojo demonstrates that standard static benchmarks often significantly overestimate defense efficacy. Moreover, we show that most existing defenses either sacrifice considerable utility or are insecure. Finally, we demonstrate that attack success interacts with task specification, with under-specified tasks particularly vulnerable. AutoDojo is available at https://github.com/xhOwenMa/AutoDojo

Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 40 of its 84 references that are in the map. First posted on arXiv 13 Jun 2026.

Builds on

40 of 84 references.

Closest ancestors · 16

Same direction, newest first

  1. 2026Assessing Automated Prompt Injection Attacks in Agentic Environments9 Jun
  2. 2026IterInject: Indirect Prompt Injection Against LLM Agents via Feedback-Guided Iterative Optimization23 May
  3. 2026Your Agent is More Brittle Than You Think: Uncovering Indirect Injection Vulnerabilities in Agentic LLMs4 Apr
  4. 2026Learning to Inject: Automated Prompt Injection via Reinforcement Learning5 Feb
  5. 2025RL Is a Hammer and LLMs Are Nails: A Simple Reinforcement Learning Recipe for Strong Prompt Injection6 Oct
  6. 2025PromptArmor: Simple yet Effective Prompt Injection Defenses21 Jul
  7. 2025DRIFT: Dynamic Rule-Based Defense with Injection Isolation for Securing LLM Agents13 Jun
  8. 2025Progent: Securing AI Agents with Privilege Control16 Apr
  9. 2025Defeating Prompt Injections by Design24 Mar
  10. 2025Prompt Flow Integrity to Prevent Privilege Escalation in LLM Agents17 Mar
  11. 2025Adaptive Attacks Break Defenses Against Indirect Prompt Injection Attacks on LLM Agents27 Feb
  12. 2024The Task Shield: Enforcing Task Alignment to Defend Against Indirect Prompt Injection in LLM Agents21 Dec
4 more
  1. 2024AdvAgent: Controllable Blackbox Red-teaming on Web Agents22 Oct
  2. 2024Imprompter: Tricking LLM Agents into Improper Tool Use19 Oct
  3. 2024Agent Security Bench (ASB): Formalizing and Benchmarking Attacks and Defenses in LLM-based Agents3 Oct
  4. 2024InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents5 Mar

Other references · 24

  1. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
  2. 2016Towards Evaluating the Robustness of Neural Networkscited by 2,998
  3. 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,443
  4. 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,420
  5. 2018Obfuscated Gradients Give a False Sense of Security: Circumventing Defenses to Adversarial Examplescited by 1,268
  6. 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 832
  7. 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automaticallycited by 672
  8. 2020On Adaptive Attacks to Adversarial Example Defensescited by 555
  9. 2024The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructionscited by 493
  10. 2019On Evaluating Adversarial Robustnesscited by 447
  11. 2024StruQ: Defending Against Prompt Injection with Structured Queriescited by 375
  12. 2023Formalizing and Benchmarking Prompt Injection Attacks and Defensescited by 364
12 more
  1. 2024Defending Against Indirect Prompt Injection Attacks With Spotlightingcited by 267
  2. 2023Benchmarking and Defending Against Indirect Prompt Injection Attacks on Large Language Modelscited by 264
  3. 2024SecAlign: Defending Against Prompt Injection with Preference Optimizationcited by 210
  4. 2025The Attacker Moves Second: Stronger Adaptive Attacks Bypass Defenses Against Llm Jailbreaks and Prompt Injectionscited by 129
  5. 2024Automatic and Universal Prompt Injection Attacks against Large Language Modelscited by 119
  6. 2024Neural Exec: Learning (and Learning from) Execution Triggers for Prompt Injection Attackscited by 85
  7. 2026AgentDyn: Are Your Agent Security Defenses Deployable in Real-World Dynamic Environments?cited by 59
  8. 2025Defending Against Prompt Injection with DataFiltercited by 35
  9. 2025TopicAttack: An Indirect Prompt Injection Attack via Topic Transitioncited by 17
  10. 2026PISmith: Reinforcement Learning-based Red Teaming for Prompt Injection Defensescited by 16
  11. 2026DecodingTrust-Agent Platform (DTap): A Controllable and Interactive Red-Teaming Platform for AI Agentscited by 13
  12. 2026Defenses Against Prompt Attacks Learn Surface Heuristicscited by 11

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 5.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Defense Against Indirect Prompt Injection via Tool Result Parsing
  2. 2024AgentDojo: A Dynamic Environment to Evaluate Prompt Injection Attacks and Defenses for LLM Agents
  3. 2025IPIGuard: A Novel Tool Dependency Graph-Based Defense Against Indirect Prompt Injection in LLM Agents
  4. 2026Adaptive Evaluation of Out-of-Band Defenses Against Prompt Injection in LLM Agents
  5. 2026The Landscape of Prompt Injection Threats in LLM Agents: From Taxonomy to Analysis
  6. 2026AdapTools: Adaptive Tool-based Indirect Prompt Injection Attacks on Agentic LLMs
  7. 2025Taxonomy, Evaluation and Exploitation of IPI-Centric LLM Agent Defense Frameworks
  8. 2026Architecting Secure AI Agents: Perspectives on System-Level Defenses Against Indirect Prompt Injection Attacks