mlsanityData to 14 Oct 2026

Assessing Automated Prompt Injection Attacks in Agentic Environments

arXiv 2606.10525 ↗First posted 9 Jun 2026cs.CR cs.AIcited by 7

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

also in 1 more
Abstract (arXiv)

Indirect prompt injection poses a critical threat to LLM agents that interact with untrusted external data, yet automated attack methods--proven effective for jailbreaking--remain underexplored in realistic agentic settings. We present a comprehensive empirical evaluation of automated prompt injection attacks against LLM agents, adapting both white-box (GCG) and black-box (TAP) methods to the agentic setting within the AgentDojo framework. We evaluate across 80 task pairs spanning four domains and multiple models, and find that black-box optimization substantially outperforms gradient-based methods, a gap we attribute to GCG's optimization instability under reasonable compute budgets. We also find that TAP's effectiveness depends on the attacker model, as both general capability and safety tuning affect attack success--stronger models produce more effective injections, while safety-tuned attackers can refuse to generate adversarial prompts. Task-universal attacks transfer effectively to unseen tasks and out-of-distribution domains, but attacks optimized on smaller open-source models do not transfer to frontier models like GPT-5. These findings highlight automated prompt injection as a credible but model-dependent threat, with significant barriers remaining for model-agnostic exploitation.

Key facts. Cited by 7 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 34 of its 54 references that are in the map. First posted on arXiv 9 Jun 2026.

Builds on

34 of 54 references.

Closest ancestors · 13

Same direction, newest first

  1. 2026How Vulnerable Are AI Agents to Indirect Prompt Injections? Insights from a Large-Scale Public Competition16 Mar
  2. 2026AgentSentry: Mitigating Indirect Prompt Injection in LLM Agents via Temporal Causal Diagnostics and Context Purification26 Feb
  3. 2026CausalArmor: Efficient Indirect Prompt Injection Guardrails via Causal Attribution8 Feb
  4. 2025Preventing Prompt Injection with Type-Directed Privilege Separation30 Sep
  5. 2025Checkpoint-GCG: Auditing and Attacking Fine-Tuning-Based Prompt Injection Defenses21 May
  6. 2025AgentVigil: Generic Black-Box Red-teaming for Indirect Prompt Injection against LLM Agents9 May
  7. 2025Prompt Injection Attack to Tool Selection in LLM Agents28 Apr
  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. 2025RTBAS: Defending LLM Agents Against Prompt Injection and Privacy Leakage13 Feb
  12. 2024Imprompter: Tricking LLM Agents into Improper Tool Use19 Oct
1 more
  1. 2024IsolateGPT: An Execution Isolation Architecture for LLM-Based Agentic Systems8 Mar

Other references · 21

  1. 2022Training language models to follow instructions with human feedbackcited by 15,971
  2. 2025Qwen3 Technical Reportcited by 8,820
  3. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  4. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
  5. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
  6. 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,420
  7. 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 832
  8. 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automaticallycited by 672
  9. 2024The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructionscited by 493
  10. 2024Jailbreaking Leading Safety-Aligned LLMs with Simple Adaptive Attackscited by 486
  11. 2024StruQ: Defending Against Prompt Injection with Structured Queriescited by 375
  12. 2024Defending Against Indirect Prompt Injection Attacks With Spotlightingcited by 267
9 more
  1. 2023Benchmarking and Defending Against Indirect Prompt Injection Attacks on Large Language Modelscited by 264
  2. 2024SecAlign: Defending Against Prompt Injection with Preference Optimizationcited by 210
  3. 2024System-Level Defense against Indirect Prompt Injection Attacks: An Information Flow Control Perspectivecited by 96
  4. 2024Neural Exec: Learning (and Learning from) Execution Triggers for Prompt Injection Attackscited by 85
  5. 2024Can LLMs Separate Instructions From Data? And What Do We Even Mean By That?cited by 81
  6. 2026AgentDyn: Are Your Agent Security Defenses Deployable in Real-World Dynamic Environments?cited by 59
  7. 2025Defending Against Prompt Injection with DataFiltercited by 35
  8. 2025May I have your Attention? Breaking Fine-Tuning based Prompt Injection Defenses using Architecture-Aware Attackscited by 15
  9. 2025OET: Optimization-based prompt injection Evaluation Toolkitcited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 7.

7 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Learning to Inject: Automated Prompt Injection via Reinforcement Learning
  2. 2026The Landscape of Prompt Injection Threats in LLM Agents: From Taxonomy to Analysis
  3. 2024AgentDojo: A Dynamic Environment to Evaluate Prompt Injection Attacks and Defenses for LLM Agents
  4. 2026Your Agent is More Brittle Than You Think: Uncovering Indirect Injection Vulnerabilities in Agentic LLMs
  5. 2026Defense Against Indirect Prompt Injection via Tool Result Parsing
  6. 2026Architecting Secure AI Agents: Perspectives on System-Level Defenses Against Indirect Prompt Injection Attacks
  7. 2026What If Prompt Injection Never Left? Rethinking Agent Security through Cross-Session Stored Prompt Injection
  8. 2026INFUSE: A Unified Surface Benchmark for Indirect Prompt Injection in Agentic Systems