mlsanityData to 14 Oct 2026

AgentVigil: Generic Black-Box Red-teaming for Indirect Prompt Injection against LLM Agents

arXiv 2505.05849 ↗First posted 9 May 2025cs.CR cs.AIcited by 42

On the map: LLM reasoning → Reasoning for agents, planning and code

also in 2 more
Abstract (arXiv)

The strong planning and reasoning capabilities of Large Language Models (LLMs) have fostered the development of agent-based systems capable of leveraging external tools and interacting with increasingly complex environments. However, these powerful features also introduce a critical security risk: indirect prompt injection, a sophisticated attack vector that compromises the core of these agents, the LLM, by manipulating contextual information rather than direct user prompts. In this work, we propose a generic black-box fuzzing framework, AgentVigil, designed to automatically discover and exploit indirect prompt injection vulnerabilities across diverse LLM agents. Our approach starts by constructing a high-quality initial seed corpus, then employs a seed selection algorithm based on Monte Carlo Tree Search (MCTS) to iteratively refine inputs, thereby maximizing the likelihood of uncovering agent weaknesses. We evaluate AgentVigil on two public benchmarks, AgentDojo and VWA-adv, where it achieves 71% and 70% success rates against agents based on o3-mini and GPT-4o, respectively, nearly doubling the performance of baseline attacks. Moreover, AgentVigil exhibits strong transferability across unseen tasks and internal LLMs, as well as promising results against defenses. Beyond benchmark evaluations, we apply our attacks in real-world environments, successfully misleading agents to navigate to arbitrary URLs, including malicious sites.

Key facts. Cited by 42 papers in the map (data through 14 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 33 of its 58 references that are in the map. First posted on arXiv 9 May 2025.

Builds on

33 of 58 references.

Closest ancestors · 1

Same direction, newest first

  1. 2022Competition-Level Code Generation with AlphaCode8 Feb

Other references · 32

  1. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  3. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
  4. 2024Qwen2.5 Technical Reportcited by 4,942
  5. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  6. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
  7. 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 2,006
  8. 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 1,947
  9. 2021WebGPT: Browser-assisted question-answering with human feedbackcited by 1,745
  10. 2023Gorilla: Large Language Model Connected with Massive APIscited by 1,332
  11. 2023Mind2Web: Towards a Generalist Agent for the Webcited by 1,242
  12. 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,207
20 more
  1. 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 832
  2. 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 651
  3. 2023Prompt Injection attack against LLM-integrated Applicationscited by 605
  4. 2023GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Promptscited by 560
  5. 2024InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agentscited by 538
  6. 2024The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructionscited by 493
  7. 2024AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge Basescited by 429
  8. 2024StruQ: Defending Against Prompt Injection with Structured Queriescited by 375
  9. 2022CodeRL: Mastering Code Generation through Pretrained Models and Deep Reinforcement Learningcited by 358
  10. 2023A Real-World WebAgent with Planning, Long Context Understanding, and Program Synthesiscited by 353
  11. 2024Defending Against Indirect Prompt Injection Attacks With Spotlightingcited by 267
  12. 2024EIA: Environmental Injection Attack on Generalist Web Agents for Privacy Leakagecited by 150
  13. 2024AgentDojo: A Dynamic Environment to Evaluate Prompt Injection Attacks and Defenses for LLM Agentscited by 145
  14. 2024Dissecting Adversarial Robustness of Multimodal LM Agentscited by 120
  15. 2024Attacking Vision-Language Computer Agents via Pop-upscited by 116
  16. 2024System-Level Defense against Indirect Prompt Injection Attacks: An Information Flow Control Perspectivecited by 96
  17. 2023Identifying and Mitigating Vulnerabilities in LLM-Integrated Applicationscited by 54
  18. 2024When LLM Meets DRL: Advancing Jailbreaking Efficiency via DRL-guided Searchcited by 47
  19. 2024GoEX: Perspectives and Designs Towards a Runtime for Autonomous LLM Applicationscited by 23
  20. 2024PROMPTFUZZ: Harnessing Fuzzing Techniques for Robust Testing of Prompt Injection in LLMscited by 17

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 11; 2026: 31.

42 papers.

Sort:

By area:

  1. 2025PromptArmor: Simple yet Effective Prompt Injection Defensescited by 108
  2. 2025Agentic Web: Weaving the Next Web with AI Agentscited by 45
  3. 2026Taming OpenClaw: Security Analysis and Mitigation of Autonomous LLM Agent Threatscited by 29
  4. 2026The Attack and Defense Landscape of Agentic AI: A Comprehensive Surveycited by 28
  5. 2025A Survey on the Safety and Security Threats of Computer-Using Agents: JARVIS or Ultron?cited by 23
  6. 2026A Survey of Agentic AI and Cybersecurity: Challenges, Opportunities and Use-case Prototypescited by 22
  7. 2026MUZZLE: Adaptive Agentic Red-Teaming of Web Agents Against Indirect Prompt Injection Attackscited by 21
  8. 2025A Survey on Agentic Security: Applications, Threats and Defensescited by 20
  9. 2025Automatic Red Teaming LLM-based Agents with Model Context Protocol Toolscited by 18
  10. 2026Overcoming the Retrieval Barrier: Indirect Prompt Injection in the Wild for LLM Systemscited by 16
  11. 2026A Framework for Formalizing LLM Agent Securitycited by 16
  12. 2026MCP-ITP: An Automated Framework for Implicit Tool Poisoning in MCPcited by 14
30 more
  1. 2025RepIt: Steering Language Models with Concept-Specific Refusal Vectorscited by 12
  2. 2026Trojan Hippo: Weaponizing Agent Memory for Data Exfiltrationcited by 12
  3. 2026SafePro: Evaluating the Safety of Professional-Level AI Agentscited by 10
  4. 2025Taxonomy, Evaluation and Exploitation of IPI-Centric LLM Agent Defense Frameworkscited by 9
  5. 2026Assessing Automated Prompt Injection Attacks in Agentic Environmentscited by 7
  6. 2025Red-Teaming Coding Agents from a Tool-Invocation Perspective: An Empirical Security Assessmentcited by 5
  7. 2025SIRAJ: Diverse and Efficient Red-Teaming for LLM Agents via Distilled Structured Reasoningcited by 5
  8. 2026Agent Security is a Systems Problemcited by 5
  9. 2025A Red Teaming Roadmap Towards System-Level Safetycited by 2
  10. 2025QueryIPI: Query-agnostic Indirect Prompt Injection on Coding Agentscited by 2
  11. 2026LLM-enabled Applications Require System-Level Threat Monitoringcited by 2
  12. 2026Who Tests the Testers? Systematic Enumeration and Coverage Audit of LLM Agent Tool Call Safetycited by 2
  13. 2026Hallucination as Exploit: Evidence-Carrying Multimodal Agentscited by 2
  14. 2026PI-Hunter: Automated Red-Teaming for Exposing and Localizing Prompt Injectionscited by 2
  15. 2026Agent Security Needs Redefinition through a Holistic Frameworkcited by 2
  16. 2026Tangent: An Empirical Study of Testing Practices for LLM-Based Agent Applicationscited by 2
  17. 2026From Secure Agentic AI to Secure Agentic Web: Challenges, Threats, and Future Directionscited by 1
  18. 2026VeriGrey: Greybox Agent Validationcited by 1
  19. 2026Constraining Host-Level Abuse in Self-Hosted Computer-Use Agents via TEE-Backed Isolationcited by 1
  20. 2026Same-Origin Policy for Agentic Browserscited by 1
  21. 2026CONTRA: Red-Teaming Configurations of Personalizable Agentscited by 1
  22. 2026Agent Data Injection Attacks are Realistic Threats to AI Agentscited by 1
  23. 2026Comment and Control: Hijacking Agentic Workflows via Context-Grounded Evolutioncited by 0
  24. 2026Same Payload, Different Channel: Measuring Trust Asymmetry in Tool-Using Language Modelscited by 0
  25. 2026Rapid Poison: Practical Poisoning Attacks Against the Rapid Response Frameworkcited by 0
  26. 2026Know Your Agent: Reconnaissance-Driven Pentesting of AI Agentscited by 0
  27. 2026AgentHijack: Visual Patch Attacks on Multimodal Computer-Use Agentscited by 0
  28. 2026Arbitrary Cipher Attacks Against Large Language Models Do Not Require Fine-Tuningcited by 0
  29. 2026ActGuard: Pre-execution Action Auditing against Indirect Prompt Injection in LLM Agentscited by 0
  30. 2026AgentXploit: Autonomous Repository-to-Runtime Red-Teaming for AI Agentscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2026The Landscape of Prompt Injection Threats in LLM Agents: From Taxonomy to Analysis
  2. 2025A Multi-Agent LLM Defense Pipeline Against Prompt Injection Attacks
  3. 2026Agent Against Agent: An Agentic System for Automatic Prompt Injection Red Teaming
  4. 2024Prompt Infection: LLM-to-LLM Prompt Injection within Multi-Agent Systems
  5. 2025UDora: A Unified Red Teaming Framework against LLM Agents by Dynamically Hijacking Their Own Reasoning
  6. 2026AutoRISE: Agent-Driven Strategy Evolution for Red-Teaming Large Language Models
  7. 2025From Prompt Injections to Protocol Exploits: Threats in LLM-Powered AI Agents Workflows
  8. 2026ARGUS: Defending LLM Agents Against Context-Aware Prompt Injection