Mind the Web: The Security of Web Use Agents
On the map: LLM agents and tool use → Agent threats, guardrails and governance
Abstract (arXiv)
Web-use agents are rapidly being deployed to automate complex web tasks with extensive browser capabilities. However, these capabilities create a critical and previously unexplored attack surface. This paper demonstrates how attackers can exploit web-use agents by embedding malicious content in web pages, such as comments, reviews, or advertisements, that agents encounter during legitimate browsing tasks. We introduce the task-aligned injection technique that frames malicious commands as helpful task guidance rather than obvious attacks, exploiting fundamental limitations in LLMs' contextual reasoning. Agents struggle to maintain coherent contextual awareness and fail to detect when seemingly helpful web content contains steering attempts that deviate them from their original task goal. To scale this attack, we developed an automated three-stage pipeline that generates effective injections without manual annotation or costly online agent interactions during training, remaining efficient even with limited training data. This pipeline produces a generator model that we evaluate on five popular agents using payloads organized by the Confidentiality-Integrity-Availability (CIA) security triad, including unauthorized camera activation, file exfiltration, user impersonation, phishing, and denial-of-service. This generator achieves over 80% attack success rate (ASR) with strong transferability across unseen payloads, diverse web environments, and different underlying LLMs. This attack succeed even against agents with built-in safety mechanisms, requiring only the ability to post content on public websites. To address this risk, we propose comprehensive mitigation strategies including oversight mechanisms, execution constraints, and task-aware reasoning techniques.
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 22 of its 51 references that are in the map. First posted on arXiv 8 Jun 2025.
Builds on
22 of 51 references.
Closest ancestors · 2
Same direction, newest first
- 2025DoomArena: A framework for Testing AI Agents Against Evolving Security Threats18 Apr
- 2024Refusal-Trained LLMs Are Easily Jailbroken As Browser Agents11 Oct
Other references · 20
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
- 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 2,006
- 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,651
- 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,420
- 2024Eyes Wide Shut? Exploring the Visual Shortcomings of Multimodal LLMscited by 735
- 2023"Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Modelscited by 489
- 2024Great, Now Write an Article About That: The Crescendo Multi-Turn LLM Jailbreak Attackcited by 390
- 2024JailBreakV: A Benchmark for Assessing the Robustness of MultiModal Large Language Models against Jailbreak Attackscited by 230
- 2024Jailbreaking Attack against Multimodal Large Language Modelcited by 135
- 2025A Survey of WebAgents: Towards Next-Generation AI Agents for Web Automation with Large Foundation Modelscited by 87
8 more
- 2024Visual-RolePlay: Universal Jailbreak Attack on MultiModal Large Language Models via Role-playing Image Charactercited by 68
- 2025Jailbreaking Multimodal Large Language Models via Shuffle Inconsistencycited by 51
- 2021Grounding Open-Domain Instructions to Automate Web Support Taskscited by 43
- 2024Accelerating Greedy Coordinate Gradient and General Prompt Optimization via Probe Samplingcited by 37
- 2024Tur[k]ingBench: A Challenge Benchmark for Web Agentscited by 18
- 2025REINFORCE Adversarial Attacks on Large Language Models: An Adaptive, Distributional, and Semantic Objectivecited by 15
- 2025sudo rm -rf agentic_securitycited by 8
- 2024SoK: Prompt Hacking of Large Language Modelscited by 7
Built on by
Citing papers per year: 2025: 1; 2026: 4.
5 papers.
- 2025Building Browser Agents: Architecture, Security, and Practical Solutionscited by 3
- 2026The Verifiable Action Card: Trustworthy Human-in-the-Loop Control for Secure Autonomous Agentscited by 2
- 2026MalURLBench: A Benchmark Evaluating Agents' Vulnerabilities When Processing Web URLscited by 1
- 2026RunAgent SuperBrowser: A Theory of Autonomous Web Navigation Grounded in Human Browsing Behaviourcited by 0
- 2026Reflections on Trusting Trust, Revisited: Contaminating Self-Modifying AI Coding Agents with Poisoned Benchmarkscited by 0
- 2026The Verifiable Action Card: Trustworthy Human-in-the-Loop Control for Secure Autonomous Agents16 Sep 2026
- 2026Reflections on Trusting Trust, Revisited: Contaminating Self-Modifying AI Coding Agents with Poisoned Benchmarks15 Sep 2026
- 2026RunAgent SuperBrowser: A Theory of Autonomous Web Navigation Grounded in Human Browsing Behaviour8 Jun 2026
- 2026MalURLBench: A Benchmark Evaluating Agents' Vulnerabilities When Processing Web URLs26 Jan 2026
- 2025Building Browser Agents: Architecture, Security, and Practical Solutions22 Nov 2025
Similar, not cited
Close in wording, no citation either way
- 2025Context manipulation attacks : Web agents are susceptible to corrupted memory
- 2025FocusAgent: Simple Yet Effective Ways of Trimming the Large Context of Web Agents
- 2026WAAA! Web Adversaries Against Agentic Browsers
- 2026MUZZLE: Adaptive Agentic Red-Teaming of Web Agents Against Indirect Prompt Injection Attacks
- 2025BrowseSafe: Understanding and Preventing Prompt Injection Within AI Browser Agents
- 2025The Hidden Dangers of Browsing AI Agents
- 2026Prismata: Confining Cross-Site Prompt Injection in Web Agents
- 2026WebAgentGuard: A Reasoning-Driven Guard Model for Detecting Prompt Injection Attacks in Web Agents