AdvAgent: Controllable Blackbox Red-teaming on Web Agents
On the map: LLM agents and tool use → Agent threats, guardrails and governance
also in 1 more
Abstract (arXiv)
Foundation model-based agents are increasingly used to automate complex tasks, enhancing efficiency and productivity. However, their access to sensitive resources and autonomous decision-making also introduce significant security risks, where successful attacks could lead to severe consequences. To systematically uncover these vulnerabilities, we propose AdvAgent, a black-box red-teaming framework for attacking web agents. Unlike existing approaches, AdvAgent employs a reinforcement learning-based pipeline to train an adversarial prompter model that optimizes adversarial prompts using feedback from the black-box agent. With careful attack design, these prompts effectively exploit agent weaknesses while maintaining stealthiness and controllability. Extensive evaluations demonstrate that AdvAgent achieves high success rates against state-of-the-art GPT-4-based web agents across diverse web tasks. Furthermore, we find that existing prompt-based defenses provide only limited protection, leaving agents vulnerable to our framework. These findings highlight critical vulnerabilities in current web agents and emphasize the urgent need for stronger defense mechanisms. We release code at https://ai-secure.github.io/AdvAgent/.
Key facts. Cited by 57 papers in the map (data through 7 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 30 of its 37 references that are in the map. First posted on arXiv 22 Oct 2024.
Builds on
30 of 37 references.
Closest ancestors · 6
Same direction, newest first
- 2024EIA: Environmental Injection Attack on Generalist Web Agents for Privacy Leakage17 Sep
- 2024Dissecting Adversarial Robustness of Multimodal LM Agents18 Jun
- 2024BadAgent: Inserting and Activating Backdoor Attacks in LLM Agents5 Jun
- 2024InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents5 Mar
- 2024WIPI: A New Web Threat for LLM-Driven Web Agents26 Feb
- 2024Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agents17 Feb
Other references · 24
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023GPT-4 Technical Reportcited by 18,132
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
- 2023Visual Instruction Tuningcited by 7,792
- 2023Mistral 7Bcited by 3,065
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
- 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 1,908
- 2021WebGPT: Browser-assisted question-answering with human feedbackcited by 1,722
- 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,326
- 2023Mind2Web: Towards a Generalist Agent for the Webcited by 1,210
12 more
- 2022WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agentscited by 1,197
- 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Modelscited by 738
- 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 709
- 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automaticallycited by 619
- 2024GPT-4V(ision) is a Generalist Web Agent, if Groundedcited by 547
- 2023Catastrophic Jailbreak of Open-source LLMs via Exploiting Generationcited by 439
- 2023Are aligned neural networks adversarially aligned?cited by 305
- 2023Automatically Auditing Large Language Models via Discrete Optimizationcited by 187
- 2024COLD-Attack: Jailbreaking LLMs with Stealthiness and Controllabilitycited by 162
- 2023MART: Improving LLM Safety with Multi-round Automatic Red-Teamingcited by 161
- 2024AmpleGCG: Learning a Universal and Transferable Generative Model of Adversarial Suffixes for Jailbreaking Both Open and Closed LLMscited by 160
- 2024AdvPrompter: Fast Adaptive Adversarial Prompting for LLMscited by 146
Built on by
Citing papers per year: 2024: 3; 2025: 24; 2026: 30.
57 papers.
Sort:
By area:
- 2024Large Language Model-Brained GUI Agents: A Surveycited by 160
- 2025Advances and Challenges in Foundation Agents: From Brain-Inspired Intelligence to Evolutionary, Collaborative, and Safe Systemscited by 125
- 2024Attacking Vision-Language Computer Agents via Pop-upscited by 112
- 2026ToolSafe: Enhancing Tool Invocation Safety of LLM-based agents via Proactive Step-level Guardrail and Feedbackcited by 64
- 2025Safety at Scale: A Comprehensive Survey of Large Model and Agent Safetycited by 63
- 2025WebInject: Prompt Injection Attack to Web Agentscited by 48
- 2025Agentic Web: Weaving the Next Web with AI Agentscited by 43
- 2025RedTeamCUA: Realistic Adversarial Testing of Computer-Use Agents in Hybrid Web-OS Environmentscited by 42
- 2025RL Is a Hammer and LLMs Are Nails: A Simple Reinforcement Learning Recipe for Strong Prompt Injectioncited by 32
- 2024Jailbreak Attacks and Defenses against Multimodal Generative Models: A Surveycited by 31
- 2025Toward Generalizable Evaluation in the LLM Era: A Survey Beyond Benchmarkscited by 26
- 2025Agentic AI Security: Threats, Defenses, Evaluation, and Open Challengescited by 26
38 more
- 2025UDora: A Unified Red Teaming Framework against LLM Agents by Dynamically Hijacking Their Own Reasoningcited by 21
- 2026SkillTrojan: Backdoor Attacks on Skill-Based Agent Systemscited by 21
- 2026MUZZLE: Adaptive Agentic Red-Teaming of Web Agents Against Indirect Prompt Injection Attackscited by 18
- 2025Think Twice Before You Act: Enhancing Agent Behavioral Safety with Thought Correctioncited by 14
- 2026VIGIL: Defending LLM Agents Against Tool Stream Injection via Verify-Before-Commitcited by 13
- 2025GhostEI-Bench: Do Mobile Agents Resilience to Environmental Injection in Dynamic On-Device Environments?cited by 12
- 2026BackdoorAgent: A Unified Framework for Backdoor Attacks on LLM-based Agentscited by 12
- 2025From Assistants to Adversaries: Exploring the Security Risks of Mobile LLM Agentscited by 10
- 2025Systems Security Foundations for Agentic Computingcited by 9
- 2025In-Context Defense in Computer Agents: An Empirical Studycited by 8
- 2026Defense Against Indirect Prompt Injection via Tool Result Parsingcited by 8
- 2026Safety Testing LLM Agents at Scale: From Risk Discovery to Evidence-Grounded Verificationcited by 6
- 2025Environmental Injection Attacks against GUI Agents in Realistic Dynamic Environmentscited by 5
- 2025Genesis: Evolving Attack Strategies for LLM Web Agent Red-Teamingcited by 5
- 2025SIRAJ: Diverse and Efficient Red-Teaming for LLM Agents via Distilled Structured Reasoningcited by 5
- 2025LeechHijack: Covert Computational Resource Exploitation in Intelligent Agent Systemscited by 5
- 2025Red-Teaming Coding Agents from a Tool-Invocation Perspective: An Empirical Security Assessmentcited by 4
- 2025Your Harness is Not Secure: Benchmarking Real-world Threat of Command Line Interface Agentcited by 4
- 2026AutoDojo: Adaptive Black-Box Attacks Reveal the Limits of IPI Defenses and Task-Specification Effects in LLM Agentscited by 4
- 2025Superplatforms Have to Attack AI Agentscited by 3
- 2025AgentTypo: Adaptive Typographic Prompt Injection Attacks against Black-box Multimodal Agentscited by 3
- 2026ClawTrap: A MITM-Based Red-Teaming Framework for Real-World OpenClaw Security Evaluationcited by 3
- 2026Preference Redirection via Attention Concentration: An Attack on Computer Use Agentscited by 3
- 2026Turing Test on Screen: A Benchmark for Mobile GUI Agent Humanizationcited by 3
- 2026SafeHarbor: Defining Precise Decision Boundaries via Hierarchical Memory-Augmented Guardrail for LLM Agent Safetycited by 3
- 2026Untrusted Content Masking for Web Agents with Security Guaranteescited by 3
- 2025QueryIPI: Query-agnostic Indirect Prompt Injection on Coding Agentscited by 2
- 2026WebTrap Park: An Automated Platform for Systematic Security Evaluation of Web Agentscited by 2
- 2026Who Tests the Testers? Systematic Enumeration and Coverage Audit of LLM Agent Tool Call Safetycited by 2
- 2026Red-Teaming Agent Execution Contexts: Open-World Security Evaluation on OpenClawcited by 2
- 2026Dual-Modality Multi-Stage Adversarial Safety Training: Robustifying Multimodal Web Agents Against Cross-Modal Attackscited by 1
- 2026HLL: Can Agents Cross Humanity's Last Line of Verification?cited by 1
- 2026Domain-Conditioned Safety in Frontier Computer-Using Agents: A 793-Episode Browser Benchmark, a Coding-Domain Cross-Reference, and a Reproducibility Audit of Recent Red-Teamingcited by 1
- 2026Prismata: Confining Cross-Site Prompt Injection in Web Agentscited by 1
- 2026Isolation as a First-Class Principle for LLM-Agent System Safety: Concepts, Taxonomy, Challenges and Future Directionscited by 1
- 2026Software Engineering for and with GUI Agentcited by 1
- 2025ASTRA: Agentic Steerability and Risk Assessment Frameworkcited by 0
- 2026MIRAGE: Stealthy Visual Prompt Injection for Vulnerability Detection in Web Agentscited by 0
50 most cited of 57 All 57 (JSON)
- 2026AgentTell: Behavioural Side-Channel Leakage in Browser-Use Agents26 Sep 2026
- 2026HazardAuditor: From Executable Threats to Safer Computer-Use Agents14 Sep 2026
- 2026When Malicious Instructions Persist: Persistent Memory Poisoning Attack on Harness-Based Agents12 Sep 2026
- 2026SIR: Self-improving Red-teaming for Compute Use Agents31 Aug 2026
- 2026Beyond Handcrafted Security: Towards Self-Evolving Defense for LLM Agents13 Aug 2026
- 2026Software Engineering for and with GUI Agent10 Aug 2026
- 2026Early Detection of Distributed Backdoors in Multi-Agent LLM Systems: A Characterization Study27 Jul 2026
- 2026Isolation as a First-Class Principle for LLM-Agent System Safety: Concepts, Taxonomy, Challenges and Future Directions14 Jul 2026
- 2026Prismata: Confining Cross-Site Prompt Injection in Web Agents9 Jul 2026
- 2026Untrusted Content Masking for Web Agents with Security Guarantees6 Jul 2026
- 2026Safety Testing LLM Agents at Scale: From Risk Discovery to Evidence-Grounded Verification2 Jul 2026
- 2026Governing Execution Risk in Agentic AI Systems: A Trajectory-Guided Framework for Red Teaming23 Jun 2026
38 more
- 2026MIRAGE: Stealthy Visual Prompt Injection for Vulnerability Detection in Web Agents16 Jun 2026
- 2026AutoDojo: Adaptive Black-Box Attacks Reveal the Limits of IPI Defenses and Task-Specification Effects in LLM Agents13 Jun 2026
- 2026Domain-Conditioned Safety in Frontier Computer-Using Agents: A 793-Episode Browser Benchmark, a Coding-Domain Cross-Reference, and a Reproducibility Audit of Recent Red-Teaming3 Jun 2026
- 2026HLL: Can Agents Cross Humanity's Last Line of Verification?1 Jun 2026
- 2026Red-Teaming Agent Execution Contexts: Open-World Security Evaluation on OpenClaw11 May 2026
- 2026SafeHarbor: Defining Precise Decision Boundaries via Hierarchical Memory-Augmented Guardrail for LLM Agent Safety7 May 2026
- 2026Preference Redirection via Attention Concentration: An Attack on Computer Use Agents9 Apr 2026
- 2026SkillTrojan: Backdoor Attacks on Skill-Based Agent Systems8 Apr 2026
- 2026ClawTrap: A MITM-Based Red-Teaming Framework for Real-World OpenClaw Security Evaluation19 Mar 2026
- 2026Who Tests the Testers? Systematic Enumeration and Coverage Audit of LLM Agent Tool Call Safety18 Mar 2026
- 2026Dual-Modality Multi-Stage Adversarial Safety Training: Robustifying Multimodal Web Agents Against Cross-Modal Attacks4 Mar 2026
- 2026Turing Test on Screen: A Benchmark for Mobile GUI Agent Humanization24 Feb 2026
- 2026MUZZLE: Adaptive Agentic Red-Teaming of Web Agents Against Indirect Prompt Injection Attacks9 Feb 2026
- 2026ToolSafe: Enhancing Tool Invocation Safety of LLM-based agents via Proactive Step-level Guardrail and Feedback15 Jan 2026
- 2026WebTrap Park: An Automated Platform for Systematic Security Evaluation of Web Agents13 Jan 2026
- 2026VIGIL: Defending LLM Agents Against Tool Stream Injection via Verify-Before-Commit9 Jan 2026
- 2026Defense Against Indirect Prompt Injection via Tool Result Parsing8 Jan 2026
- 2026BackdoorAgent: A Unified Framework for Backdoor Attacks on LLM-based Agents8 Jan 2026
- 2025LeechHijack: Covert Computational Resource Exploitation in Intelligent Agent Systems2 Dec 2025
- 2025Systems Security Foundations for Agentic Computing1 Dec 2025
- 2025ASTRA: Agentic Steerability and Risk Assessment Framework22 Nov 2025
- 2025SIRAJ: Diverse and Efficient Red-Teaming for LLM Agents via Distilled Structured Reasoning30 Oct 2025
- 2025Agentic AI Security: Threats, Defenses, Evaluation, and Open Challenges27 Oct 2025
- 2025QueryIPI: Query-agnostic Indirect Prompt Injection on Coding Agents27 Oct 2025
- 2025GhostEI-Bench: Do Mobile Agents Resilience to Environmental Injection in Dynamic On-Device Environments?23 Oct 2025
- 2025Genesis: Evolving Attack Strategies for LLM Web Agent Red-Teaming21 Oct 2025
- 2025Your Harness is Not Secure: Benchmarking Real-world Threat of Command Line Interface Agent8 Oct 2025
- 2025RL Is a Hammer and LLMs Are Nails: A Simple Reinforcement Learning Recipe for Strong Prompt Injection6 Oct 2025
- 2025AgentTypo: Adaptive Typographic Prompt Injection Attacks against Black-box Multimodal Agents5 Oct 2025
- 2025Environmental Injection Attacks against GUI Agents in Realistic Dynamic Environments14 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
- 2025RedTeamCUA: Realistic Adversarial Testing of Computer-Use Agents in Hybrid Web-OS Environments28 May 2025
- 2025Superplatforms Have to Attack AI Agents23 May 2025
- 2025From Assistants to Adversaries: Exploring the Security Risks of Mobile LLM Agents19 May 2025
- 2025WebInject: Prompt Injection Attack to Web Agents16 May 2025
- 2025Think Twice Before You Act: Enhancing Agent Behavioral Safety with Thought Correction16 May 2025
- 2025Toward Generalizable Evaluation in the LLM Era: A Survey Beyond Benchmarks26 Apr 2025
50 newest of 57 All 57 (JSON)
- 2024Large Language Model-Brained GUI Agents: A Surveycited by 160
- 2025Advances and Challenges in Foundation Agents: From Brain-Inspired Intelligence to Evolutionary, Collaborative, and Safe Systemscited by 125
- 2024Attacking Vision-Language Computer Agents via Pop-upscited by 112
- 2026ToolSafe: Enhancing Tool Invocation Safety of LLM-based agents via Proactive Step-level Guardrail and Feedbackcited by 64
- 2025WebInject: Prompt Injection Attack to Web Agentscited by 48
- 2025Agentic Web: Weaving the Next Web with AI Agentscited by 43
- 2025RedTeamCUA: Realistic Adversarial Testing of Computer-Use Agents in Hybrid Web-OS Environmentscited by 42
- 2025RL Is a Hammer and LLMs Are Nails: A Simple Reinforcement Learning Recipe for Strong Prompt Injectioncited by 32
- 2025Agentic AI Security: Threats, Defenses, Evaluation, and Open Challengescited by 26
- 2026SkillTrojan: Backdoor Attacks on Skill-Based Agent Systemscited by 21
- 2026MUZZLE: Adaptive Agentic Red-Teaming of Web Agents Against Indirect Prompt Injection Attackscited by 18
- 2026VIGIL: Defending LLM Agents Against Tool Stream Injection via Verify-Before-Commitcited by 13
12 most cited of 47 All 47 (JSON)
- 2026HazardAuditor: From Executable Threats to Safer Computer-Use Agents14 Sep 2026
- 2026When Malicious Instructions Persist: Persistent Memory Poisoning Attack on Harness-Based Agents12 Sep 2026
- 2026SIR: Self-improving Red-teaming for Compute Use Agents31 Aug 2026
- 2026Beyond Handcrafted Security: Towards Self-Evolving Defense for LLM Agents13 Aug 2026
- 2026Software Engineering for and with GUI Agent10 Aug 2026
- 2026Early Detection of Distributed Backdoors in Multi-Agent LLM Systems: A Characterization Study27 Jul 2026
- 2026Isolation as a First-Class Principle for LLM-Agent System Safety: Concepts, Taxonomy, Challenges and Future Directions14 Jul 2026
- 2026Prismata: Confining Cross-Site Prompt Injection in Web Agents9 Jul 2026
- 2026Untrusted Content Masking for Web Agents with Security Guarantees6 Jul 2026
- 2026Safety Testing LLM Agents at Scale: From Risk Discovery to Evidence-Grounded Verification2 Jul 2026
- 2026Governing Execution Risk in Agentic AI Systems: A Trajectory-Guided Framework for Red Teaming23 Jun 2026
- 2026MIRAGE: Stealthy Visual Prompt Injection for Vulnerability Detection in Web Agents16 Jun 2026
12 newest of 47 All 47 (JSON)
- 2025UDora: A Unified Red Teaming Framework against LLM Agents by Dynamically Hijacking Their Own Reasoningcited by 21
- 2025Think Twice Before You Act: Enhancing Agent Behavioral Safety with Thought Correctioncited by 14
- 2025SIRAJ: Diverse and Efficient Red-Teaming for LLM Agents via Distilled Structured Reasoningcited by 5
- 2025SIRAJ: Diverse and Efficient Red-Teaming for LLM Agents via Distilled Structured Reasoning30 Oct 2025
- 2025Think Twice Before You Act: Enhancing Agent Behavioral Safety with Thought Correction16 May 2025
- 2025UDora: A Unified Red Teaming Framework against LLM Agents by Dynamically Hijacking Their Own Reasoning28 Feb 2025
Similar, not cited
Close in wording, no citation either way
- 2026WARD: Adversarially Robust Defense of Web Agents Against Prompt Injections
- 2026WebAgentGuard: A Reasoning-Driven Guard Model for Detecting Prompt Injection Attacks in Web Agents
- 2026Black-Box Red Teaming of Agentic AI: A Taxonomy-Driven Framework for Automated Risk Discovery
- 2026Agent Against Agent: An Agentic System for Automatic Prompt Injection Red Teaming
- 2026AdvSim2Real : Training Web Agents Against Adaptive Prompt Injection in a Web World Model
- 2025Security Challenges in AI Agent Deployment: Insights from a Large Scale Public Competition
- 2026SkillAttack: Automated Red Teaming of Agent Skills through Attack Path Refinement
- 2025AgentVigil: Generic Black-Box Red-teaming for Indirect Prompt Injection against LLM Agents