AgentVigil: Generic Black-Box Red-teaming for Indirect Prompt Injection against LLM Agents
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
Other references · 32
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
- 2024Qwen2.5 Technical Reportcited by 4,942
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
- 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 2,006
- 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 1,947
- 2021WebGPT: Browser-assisted question-answering with human feedbackcited by 1,745
- 2023Gorilla: Large Language Model Connected with Massive APIscited by 1,332
- 2023Mind2Web: Towards a Generalist Agent for the Webcited by 1,242
- 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,207
20 more
- 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 832
- 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 651
- 2023Prompt Injection attack against LLM-integrated Applicationscited by 605
- 2023GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Promptscited by 560
- 2024InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agentscited by 538
- 2024The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructionscited by 493
- 2024AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge Basescited by 429
- 2024StruQ: Defending Against Prompt Injection with Structured Queriescited by 375
- 2022CodeRL: Mastering Code Generation through Pretrained Models and Deep Reinforcement Learningcited by 358
- 2023A Real-World WebAgent with Planning, Long Context Understanding, and Program Synthesiscited by 353
- 2024Defending Against Indirect Prompt Injection Attacks With Spotlightingcited by 267
- 2024EIA: Environmental Injection Attack on Generalist Web Agents for Privacy Leakagecited by 150
- 2024AgentDojo: A Dynamic Environment to Evaluate Prompt Injection Attacks and Defenses for LLM Agentscited by 145
- 2024Dissecting Adversarial Robustness of Multimodal LM Agentscited by 120
- 2024Attacking Vision-Language Computer Agents via Pop-upscited by 116
- 2024System-Level Defense against Indirect Prompt Injection Attacks: An Information Flow Control Perspectivecited by 96
- 2023Identifying and Mitigating Vulnerabilities in LLM-Integrated Applicationscited by 54
- 2024When LLM Meets DRL: Advancing Jailbreaking Efficiency via DRL-guided Searchcited by 47
- 2024GoEX: Perspectives and Designs Towards a Runtime for Autonomous LLM Applicationscited by 23
- 2024PROMPTFUZZ: Harnessing Fuzzing Techniques for Robust Testing of Prompt Injection in LLMscited by 17
Built on by
Citing papers per year: 2025: 11; 2026: 31.
42 papers.
Sort:
By area:
- 2025PromptArmor: Simple yet Effective Prompt Injection Defensescited by 108
- 2025Agentic Web: Weaving the Next Web with AI Agentscited by 45
- 2026Taming OpenClaw: Security Analysis and Mitigation of Autonomous LLM Agent Threatscited by 29
- 2026The Attack and Defense Landscape of Agentic AI: A Comprehensive Surveycited by 28
- 2025A Survey on the Safety and Security Threats of Computer-Using Agents: JARVIS or Ultron?cited by 23
- 2026A Survey of Agentic AI and Cybersecurity: Challenges, Opportunities and Use-case Prototypescited by 22
- 2026MUZZLE: Adaptive Agentic Red-Teaming of Web Agents Against Indirect Prompt Injection Attackscited by 21
- 2025A Survey on Agentic Security: Applications, Threats and Defensescited by 20
- 2025Automatic Red Teaming LLM-based Agents with Model Context Protocol Toolscited by 18
- 2026Overcoming the Retrieval Barrier: Indirect Prompt Injection in the Wild for LLM Systemscited by 16
- 2026A Framework for Formalizing LLM Agent Securitycited by 16
- 2026MCP-ITP: An Automated Framework for Implicit Tool Poisoning in MCPcited by 14
30 more
- 2025RepIt: Steering Language Models with Concept-Specific Refusal Vectorscited by 12
- 2026Trojan Hippo: Weaponizing Agent Memory for Data Exfiltrationcited by 12
- 2026SafePro: Evaluating the Safety of Professional-Level AI Agentscited by 10
- 2025Taxonomy, Evaluation and Exploitation of IPI-Centric LLM Agent Defense Frameworkscited by 9
- 2026Assessing Automated Prompt Injection Attacks in Agentic Environmentscited by 7
- 2025Red-Teaming Coding Agents from a Tool-Invocation Perspective: An Empirical Security Assessmentcited by 5
- 2025SIRAJ: Diverse and Efficient Red-Teaming for LLM Agents via Distilled Structured Reasoningcited by 5
- 2026Agent Security is a Systems Problemcited by 5
- 2025A Red Teaming Roadmap Towards System-Level Safetycited by 2
- 2025QueryIPI: Query-agnostic Indirect Prompt Injection on Coding Agentscited by 2
- 2026LLM-enabled Applications Require System-Level Threat Monitoringcited by 2
- 2026Who Tests the Testers? Systematic Enumeration and Coverage Audit of LLM Agent Tool Call Safetycited by 2
- 2026Hallucination as Exploit: Evidence-Carrying Multimodal Agentscited by 2
- 2026PI-Hunter: Automated Red-Teaming for Exposing and Localizing Prompt Injectionscited by 2
- 2026Agent Security Needs Redefinition through a Holistic Frameworkcited by 2
- 2026Tangent: An Empirical Study of Testing Practices for LLM-Based Agent Applicationscited by 2
- 2026From Secure Agentic AI to Secure Agentic Web: Challenges, Threats, and Future Directionscited by 1
- 2026VeriGrey: Greybox Agent Validationcited by 1
- 2026Constraining Host-Level Abuse in Self-Hosted Computer-Use Agents via TEE-Backed Isolationcited by 1
- 2026Same-Origin Policy for Agentic Browserscited by 1
- 2026CONTRA: Red-Teaming Configurations of Personalizable Agentscited by 1
- 2026Agent Data Injection Attacks are Realistic Threats to AI Agentscited by 1
- 2026Comment and Control: Hijacking Agentic Workflows via Context-Grounded Evolutioncited by 0
- 2026Same Payload, Different Channel: Measuring Trust Asymmetry in Tool-Using Language Modelscited by 0
- 2026Rapid Poison: Practical Poisoning Attacks Against the Rapid Response Frameworkcited by 0
- 2026Know Your Agent: Reconnaissance-Driven Pentesting of AI Agentscited by 0
- 2026AgentHijack: Visual Patch Attacks on Multimodal Computer-Use Agentscited by 0
- 2026Arbitrary Cipher Attacks Against Large Language Models Do Not Require Fine-Tuningcited by 0
- 2026ActGuard: Pre-execution Action Auditing against Indirect Prompt Injection in LLM Agentscited by 0
- 2026AgentXploit: Autonomous Repository-to-Runtime Red-Teaming for AI Agentscited by 0
- 2026AgentXploit: Autonomous Repository-to-Runtime Red-Teaming for AI Agents25 Sep 2026
- 2026ActGuard: Pre-execution Action Auditing against Indirect Prompt Injection in LLM Agents14 Sep 2026
- 2026Arbitrary Cipher Attacks Against Large Language Models Do Not Require Fine-Tuning9 Sep 2026
- 2026AgentHijack: Visual Patch Attacks on Multimodal Computer-Use Agents6 Sep 2026
- 2026Tangent: An Empirical Study of Testing Practices for LLM-Based Agent Applications9 Aug 2026
- 2026Agent Security Needs Redefinition through a Holistic Framework24 Jul 2026
- 2026Know Your Agent: Reconnaissance-Driven Pentesting of AI Agents22 Jul 2026
- 2026Agent Data Injection Attacks are Realistic Threats to AI Agents6 Jul 2026
- 2026CONTRA: Red-Teaming Configurations of Personalizable Agents3 Jul 2026
- 2026Rapid Poison: Practical Poisoning Attacks Against the Rapid Response Framework15 Jun 2026
- 2026Same-Origin Policy for Agentic Browsers12 Jun 2026
- 2026PI-Hunter: Automated Red-Teaming for Exposing and Localizing Prompt Injections10 Jun 2026
30 more
- 2026Assessing Automated Prompt Injection Attacks in Agentic Environments9 Jun 2026
- 2026Same Payload, Different Channel: Measuring Trust Asymmetry in Tool-Using Language Models30 May 2026
- 2026Hallucination as Exploit: Evidence-Carrying Multimodal Agents18 May 2026
- 2026Agent Security is a Systems Problem18 May 2026
- 2026Comment and Control: Hijacking Agentic Workflows via Context-Grounded Evolution11 May 2026
- 2026Constraining Host-Level Abuse in Self-Hosted Computer-Use Agents via TEE-Backed Isolation7 May 2026
- 2026Trojan Hippo: Weaponizing Agent Memory for Data Exfiltration3 May 2026
- 2026A Framework for Formalizing LLM Agent Security19 Mar 2026
- 2026Who Tests the Testers? Systematic Enumeration and Coverage Audit of LLM Agent Tool Call Safety18 Mar 2026
- 2026VeriGrey: Greybox Agent Validation18 Mar 2026
- 2026Taming OpenClaw: Security Analysis and Mitigation of Autonomous LLM Agent Threats12 Mar 2026
- 2026The Attack and Defense Landscape of Agentic AI: A Comprehensive Survey11 Mar 2026
- 2026From Secure Agentic AI to Secure Agentic Web: Challenges, Threats, and Future Directions2 Mar 2026
- 2026LLM-enabled Applications Require System-Level Threat Monitoring23 Feb 2026
- 2026MUZZLE: Adaptive Agentic Red-Teaming of Web Agents Against Indirect Prompt Injection Attacks9 Feb 2026
- 2026MCP-ITP: An Automated Framework for Implicit Tool Poisoning in MCP12 Jan 2026
- 2026Overcoming the Retrieval Barrier: Indirect Prompt Injection in the Wild for LLM Systems11 Jan 2026
- 2026SafePro: Evaluating the Safety of Professional-Level AI Agents10 Jan 2026
- 2026A Survey of Agentic AI and Cybersecurity: Challenges, Opportunities and Use-case Prototypes8 Jan 2026
- 2025Taxonomy, Evaluation and Exploitation of IPI-Centric LLM Agent Defense Frameworks19 Nov 2025
- 2025SIRAJ: Diverse and Efficient Red-Teaming for LLM Agents via Distilled Structured Reasoning30 Oct 2025
- 2025QueryIPI: Query-agnostic Indirect Prompt Injection on Coding Agents27 Oct 2025
- 2025A Survey on Agentic Security: Applications, Threats and Defenses7 Oct 2025
- 2025Automatic Red Teaming LLM-based Agents with Model Context Protocol Tools25 Sep 2025
- 2025RepIt: Steering Language Models with Concept-Specific Refusal Vectors16 Sep 2025
- 2025Red-Teaming Coding Agents from a Tool-Invocation Perspective: An Empirical Security Assessment6 Sep 2025
- 2025Agentic Web: Weaving the Next Web with AI Agents28 Jul 2025
- 2025PromptArmor: Simple yet Effective Prompt Injection Defenses21 Jul 2025
- 2025A Red Teaming Roadmap Towards System-Level Safety30 May 2025
- 2025A Survey on the Safety and Security Threats of Computer-Using Agents: JARVIS or Ultron?16 May 2025
- 2025PromptArmor: Simple yet Effective Prompt Injection Defensescited by 108
- 2025Agentic Web: Weaving the Next Web with AI Agentscited by 45
- 2026Taming OpenClaw: Security Analysis and Mitigation of Autonomous LLM Agent Threatscited by 29
- 2026The Attack and Defense Landscape of Agentic AI: A Comprehensive Surveycited by 28
- 2025A Survey on the Safety and Security Threats of Computer-Using Agents: JARVIS or Ultron?cited by 23
- 2026A Survey of Agentic AI and Cybersecurity: Challenges, Opportunities and Use-case Prototypescited by 22
- 2026MUZZLE: Adaptive Agentic Red-Teaming of Web Agents Against Indirect Prompt Injection Attackscited by 21
- 2025A Survey on Agentic Security: Applications, Threats and Defensescited by 20
- 2025Automatic Red Teaming LLM-based Agents with Model Context Protocol Toolscited by 18
- 2026A Framework for Formalizing LLM Agent Securitycited by 16
- 2026MCP-ITP: An Automated Framework for Implicit Tool Poisoning in MCPcited by 14
- 2026Trojan Hippo: Weaponizing Agent Memory for Data Exfiltrationcited by 12
12 most cited of 32 All 32 (JSON)
- 2026AgentXploit: Autonomous Repository-to-Runtime Red-Teaming for AI Agents25 Sep 2026
- 2026ActGuard: Pre-execution Action Auditing against Indirect Prompt Injection in LLM Agents14 Sep 2026
- 2026AgentHijack: Visual Patch Attacks on Multimodal Computer-Use Agents6 Sep 2026
- 2026Tangent: An Empirical Study of Testing Practices for LLM-Based Agent Applications9 Aug 2026
- 2026Agent Data Injection Attacks are Realistic Threats to AI Agents6 Jul 2026
- 2026CONTRA: Red-Teaming Configurations of Personalizable Agents3 Jul 2026
- 2026Same-Origin Policy for Agentic Browsers12 Jun 2026
- 2026PI-Hunter: Automated Red-Teaming for Exposing and Localizing Prompt Injections10 Jun 2026
- 2026Assessing Automated Prompt Injection Attacks in Agentic Environments9 Jun 2026
- 2026Same Payload, Different Channel: Measuring Trust Asymmetry in Tool-Using Language Models30 May 2026
- 2026Hallucination as Exploit: Evidence-Carrying Multimodal Agents18 May 2026
- 2026Comment and Control: Hijacking Agentic Workflows via Context-Grounded Evolution11 May 2026
12 newest of 32 All 32 (JSON)
- 2026Overcoming the Retrieval Barrier: Indirect Prompt Injection in the Wild for LLM Systemscited by 16
- 2025A Red Teaming Roadmap Towards System-Level Safetycited by 2
- 2026Agent Security Needs Redefinition through a Holistic Frameworkcited by 2
- 2026Rapid Poison: Practical Poisoning Attacks Against the Rapid Response Frameworkcited by 0
- 2026Arbitrary Cipher Attacks Against Large Language Models Do Not Require Fine-Tuningcited by 0
- 2026Arbitrary Cipher Attacks Against Large Language Models Do Not Require Fine-Tuning9 Sep 2026
- 2026Agent Security Needs Redefinition through a Holistic Framework24 Jul 2026
- 2026Rapid Poison: Practical Poisoning Attacks Against the Rapid Response Framework15 Jun 2026
- 2026Overcoming the Retrieval Barrier: Indirect Prompt Injection in the Wild for LLM Systems11 Jan 2026
- 2025A Red Teaming Roadmap Towards System-Level Safety30 May 2025
- 2026Know Your Agent: Reconnaissance-Driven Pentesting of AI Agents22 Jul 2026
- 2026Agent Security is a Systems Problem18 May 2026
- 2026LLM-enabled Applications Require System-Level Threat Monitoring23 Feb 2026
- 2025RepIt: Steering Language Models with Concept-Specific Refusal Vectors16 Sep 2025
Similar, not cited
Close in wording, no citation either way
- 2026The Landscape of Prompt Injection Threats in LLM Agents: From Taxonomy to Analysis
- 2025A Multi-Agent LLM Defense Pipeline Against Prompt Injection Attacks
- 2026Agent Against Agent: An Agentic System for Automatic Prompt Injection Red Teaming
- 2024Prompt Infection: LLM-to-LLM Prompt Injection within Multi-Agent Systems
- 2025UDora: A Unified Red Teaming Framework against LLM Agents by Dynamically Hijacking Their Own Reasoning
- 2026AutoRISE: Agent-Driven Strategy Evolution for Red-Teaming Large Language Models
- 2025From Prompt Injections to Protocol Exploits: Threats in LLM-Powered AI Agents Workflows
- 2026ARGUS: Defending LLM Agents Against Context-Aware Prompt Injection