mlsanityData to 7 Oct 2026

WebGuard: Building a Generalizable Guardrail for Web Agents

arXiv 2507.14293 ↗First posted 18 Jul 2025cs.AI cs.CL cs.CVcited by 20

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

also in 1 more
Abstract (arXiv)

The rapid development of autonomous web agents powered by Large Language Models (LLMs), while greatly elevating efficiency, exposes the frontier risk of taking unintended or harmful actions. This situation underscores an urgent need for effective safety measures, akin to access controls for human users. To address this critical challenge, we introduce WebGuard, the first comprehensive dataset designed to support the assessment of web agent action risks and facilitate the development of guardrails for real-world online environments. In doing so, WebGuard specifically focuses on predicting the outcome of state-changing actions and contains 4,939 human-annotated actions from 193 websites across 22 diverse domains, including often-overlooked long-tail websites. These actions are categorized using a novel three-tier risk schema: SAFE, LOW, and HIGH. The dataset includes designated training and test splits to support evaluation under diverse generalization settings. Our initial evaluations reveal a concerning deficiency: even frontier LLMs achieve less than 60% accuracy in predicting action outcomes and less than 60% recall in lagging HIGH-risk actions, highlighting the risks of deploying current-generation agents without dedicated safeguards. We therefore investigate fine-tuning specialized guardrail models using WebGuard. We conduct comprehensive evaluations across multiple generalization settings and find that a fine-tuned Qwen2.5VL-7B model yields a substantial improvement in performance, boosting accuracy from 37% to 80% and HIGH-risk action recall from 20% to 76%. Despite these improvements, the performance still falls short of the reliability required for high-stakes deployment, where guardrails must approach near-perfect accuracy and recall.

Key facts. Cited by 20 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 48 of its 57 references that are in the map. First posted on arXiv 18 Jul 2025.

Builds on

48 of 57 references.

Closest ancestors · 13

Same direction, newest first

  1. 2025RedTeamCUA: Realistic Adversarial Testing of Computer-Use Agents in Hybrid Web-OS Environments28 May
  2. 2025DoomArena: A framework for Testing AI Agents Against Evolving Security Threats18 Apr
  3. 2025The Obvious Invisible Threat: LLM-Powered GUI Agents' Vulnerability to Fine-Print Injections15 Apr
  4. 2025ShieldAgent: Shielding Agents via Verifiable Safety Policy Reasoning26 Mar
  5. 2025SafeArena: Evaluating the Safety of Autonomous Web Agents6 Mar
  6. 2025AgentGuard: Repurposing Agentic Orchestrator for Safety Evaluation of Tool Orchestration13 Feb
  7. 2024Attacking Vision-Language Computer Agents via Pop-ups4 Nov
  8. 2024ST-WebAgentBench: A Benchmark for Evaluating Safety and Trustworthiness in Web Agents9 Oct
  9. 2024EIA: Environmental Injection Attack on Generalist Web Agents for Privacy Leakage17 Sep
  10. 2024Dissecting Adversarial Robustness of Multimodal LM Agents18 Jun
  11. 2024GuardAgent: Safeguard LLM Agents by a Guard Agent via Knowledge-Enabled Reasoning13 Jun
  12. 2024Sleeper Agents: Training Deceptive LLMs that Persist Through Safety Training10 Jan
1 more
  1. 2023Testing Language Model Agents Safely in the Wild17 Nov

Other references · 35

  1. 2025Qwen2.5-VL Technical Reportcited by 5,418
  2. 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 1,908
  3. 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,339
  4. 2023Mind2Web: Towards a Generalist Agent for the Webcited by 1,210
  5. 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,124
  6. 2023Towards Understanding Sycophancy in Language Modelscited by 988
  7. 2023CogAgent: A Visual Language Model for GUI Agentscited by 692
  8. 2025UI-TARS: Pioneering Automated GUI Interaction with Native Agentscited by 584
  9. 2024SeeClick: Harnessing GUI Grounding for Advanced Visual GUI Agentscited by 553
  10. 2024GPT-4V(ision) is a Generalist Web Agent, if Groundedcited by 547
  11. 2025Reasoning Models Don't Always Say What They Thinkcited by 388
  12. 2024Navigating the Digital World as Humans Do: Universal Visual Grounding for GUI Agentscited by 373
23 more
  1. 2023Set-of-Mark Prompting Unleashes Extraordinary Visual Grounding in GPT-4Vcited by 291
  2. 2024Frontier Models are Capable of In-context Schemingcited by 252
  3. 2024WebRL: Training LLM Web Agents via Self-Evolving Online Curriculum Reinforcement Learningcited by 243
  4. 2023Benchmarking and Defending Against Indirect Prompt Injection Attacks on Large Language Modelscited by 237
  5. 2022Towards Understanding Chain-of-Thought Prompting: An Empirical Study of What Matterscited by 221
  6. 2024Agent Q: Advanced Reasoning and Learning for Autonomous AI Agentscited by 201
  7. 2024Agent S: An Open Agentic Framework that Uses Computers Like a Humancited by 182
  8. 2025SkillWeaver: Web Agents can Self-Improve by Discovering and Honing Skillscited by 174
  9. 2024The BrowserGym Ecosystem for Web Agent Researchcited by 152
  10. 2024Tree Search for Language Model Agentscited by 148
  11. 2024Is Your LLM Secretly a World Model of the Internet? Model-Based Planning for Web Agentscited by 144
  12. 2023OpenAgents: An Open Platform for Language Agents in the Wildcited by 136
  13. 2024Llama Guard 3 Vision: Safeguarding Human-AI Image Understanding Conversationscited by 118
  14. 2024Sycophancy in Large Language Models: Causes and Mitigationscited by 97
  15. 2025Learn-by-interact: A Data-Centric Framework for Self-Adaptive Agents in Realistic Environmentscited by 93
  16. 2025Explorer: Scaling Exploration-driven Web Trajectory Synthesis for Multimodal Web Agentscited by 68
  17. 2024ExACT: Teaching AI Agents to Explore with Reflective-MCTS and Exploratory Learningcited by 61
  18. 2024Proposer-Agent-Evaluator(PAE): Autonomous Skill Discovery For Foundation Model Internet Agentscited by 50
  19. 2024MobileSafetyBench: Evaluating Safety of Autonomous Agents in Mobile Device Controlcited by 49
  20. 2024Llama Guard 3-1B-INT4: Compact and Efficient Safeguard for Human-AI Conversationscited by 24
  21. 2024From Interaction to Impact: Towards Safer AI Agents Through Understanding and Evaluating Mobile UI Operation Impactscited by 10
  22. 2024Preemptive Detection and Correction of Misaligned Actions in LLM Agentscited by 9
  23. 2025sudo rm -rf agentic_securitycited by 8

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 4; 2026: 16.

20 papers.

Sort:

By area:

  1. 2026CooperBench: Why Coding Agents Cannot be Your Teammates Yetcited by 20
  2. 2025ceLLMate: Sandboxing Browser AI Agentscited by 14
  3. 2026The Blind Spot of Agent Safety: How Benign User Instructions Expose Critical Vulnerabilities in Computer-Use Agentscited by 12
  4. 2026SafePred: A Predictive Guardrail for Computer-Using Agents via World Modelscited by 11
  5. 2025WebOperator: Action-Aware Tree Search for Autonomous Agents in Web Environmentcited by 10
  6. 2026When Actions Go Off-Task: Detecting and Correcting Misaligned Actions in Computer-Use Agentscited by 8
  7. 2026From Governance Norms to Enforceable Controls: A Layered Translation Method for Runtime Guardrails in Agentic AIcited by 7
  8. 2026Towards trustworthy agentic AI: a comprehensive survey of safety, robustness, privacy, and system securitycited by 5
  9. 2026HomeGuard: VLM-based Embodied Safeguard for Identifying Contextual Risk in Household Taskcited by 3
  10. 2026SnapGuard: Lightweight Prompt Injection Detection for Screenshot-Based Web Agentscited by 3
  11. 2026Benchmarking Web Agent Safety under E-commerce Deceptive Interfacescited by 3
  12. 2026SeerGuard: A Safety Framework for Mobile GUI Agents via World Model Predictioncited by 3
8 more
  1. 2025Learning Efficient Guardrails for Compliancecited by 2
  2. 2026Beyond Task Success: An Evidence-Synthesis Framework for Evaluating, Governing, and Orchestrating Agentic AIcited by 2
  3. 2025From Refusal to Recovery: A Control-Theoretic Approach to Generative AI Guardrailscited by 1
  4. 2026From Shield to Target: Denial-of-Service Attacks on LLM-Based Agent Guardrailscited by 1
  5. 2026Prismata: Confining Cross-Site Prompt Injection in Web Agentscited by 1
  6. 2026WebChallenger: A Reliable and Efficient Generalist Web Agentcited by 0
  7. 2026OSGuard: A Benchmark for Safety in Computer-Use Agentscited by 0
  8. 2026Before Acting, Change the State: Prospective State Intervention for Web Agents under Deceptive Interfacescited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2026DreamGuard: Efficient Runtime Guardrail for LLM Agents via Risk-Aware World Model
  2. 2026WebAgentGuard: A Reasoning-Driven Guard Model for Detecting Prompt Injection Attacks in Web Agents
  3. 2026BraveGuard: From Open-World Threats to Safer Computer-Use Agents
  4. 2025Building Browser Agents: Architecture, Security, and Practical Solutions
  5. 2025HarmonyGuard: Toward Safety and Utility in Web Agents via Adaptive Policy Enhancement and Dual-Objective Optimization
  6. 2026When Bots Take the Bait: Exposing and Mitigating the Emerging Social Engineering Attack in Web Automation Agent
  7. 2026WebTrap Park: An Automated Platform for Systematic Security Evaluation of Web Agents
  8. 2026HazardAuditor: From Executable Threats to Safer Computer-Use Agents