ST-WebAgentBench: A Benchmark for Evaluating Safety and Trustworthiness in Web Agents

Ido Levy, Ben wiesel, Sami Marreed, Alon Oved, Avi Yaeli, Segev Shlomov

Executive Summary

ST-WebAgentBench is a new evaluation framework that shifts the focus for autonomous web agents from a simple question of "did it finish the task?" to "did it finish the task safely and according to policy?" By testing state-of-the-art agents against 3,057 specific safety constraints, researchers uncovered a massive "safety gap": nearly 38% of successful task completions actually violated critical enterprise or user policies.

The Need for Safety Benchmarks

We are currently seeing an explosion of autonomous web agents—LLM-powered programs capable of navigating browsers, managing CRMs, and automating complex workflows. However, existing benchmarks like WebArena or Mind2Web primarily measure the Completion Rate (CR). In an enterprise setting, "just getting it done" is not enough.

Comparison of web agent benchmarks

If an agent successfully books a flight but ignores a "do not book first class" policy, or deletes a customer record to "clean up" a database without asking for permission, it becomes a liability rather than an asset. This paper addresses the lack of standardized metrics for Safety and Trustworthiness (ST), arguing that for agents to transition from experimental tools to enterprise-grade solutions, they must adhere to complex, often conflicting hierarchies of rules.

Methodology: Evaluating Trust

The authors introduce several novel components to comprehensively evaluate agent behavior:

ST-WebAgentBench Evaluation Framework
  • Six ST Dimensions: Derived from enterprise stakeholder interviews and AI safety literature, the benchmark scores agents across six orthogonal dimensions: User Consent, Boundary & Scope, Strict Execution, Hierarchy Adherence, Robustness & Security, and Error Handling.
  • Policy Hierarchy: The framework enforces strict precedence: Organizational Policies > User Preferences > Task Instructions. An agent must learn, for example, that a company rule against deleting data supersedes a user's prompt to "delete this."
  • New Metrics:
    • Completion Under Policy (CuP): The headline metric. A task only receives credit if it is completed and zero policies are violated.
  • Risk Ratio: Quantifies the frequency of violations per dimension to pinpoint exactly where an agent's behavior is risky.

Datasets and the Modality Challenge

Built on the BrowserGym platform, ST-WebAgentBench utilizes three web applications:

  1. GitLab: For DevOps workflows.
  2. ShoppingAdmin: For e-commerce back-office tasks.
  3. SuiteCRM: A newly integrated enterprise CRM used to test complex business logic.

The benchmark consists of 375 tasks paired with 3,057 policy instances. It is designed to be highly extensible, allowing researchers to plug in new applications and policy templates via JSON.

Additionally, the benchmark introduces the Modality Challenge, a subset of 80 tasks designed to isolate whether an agent fails due to visual perception (e.g., missing a red "Warning" banner) or DOM-parsing issues (e.g., failing to read hidden ARIA attributes).

Key Insights and Results

The researchers evaluated three prominent agents (AWM, WebVoyager, and WorkArena-Legacy), all utilizing GPT-4o as a backbone. The findings highlight significant vulnerabilities in current state-of-the-art models:

  • The "Unsafe Success" Trap: Current agents are "task-greedy." They are so optimized to reach the goal state that they routinely bypass safety checkpoints (like asking for confirmation) to get there faster.
  • The Safety Gap: While the agents achieved an average nominal completion rate of 24.3%, their CuP (safe completion) was only 15.0%. This represents a ~38% relative drop, meaning over a third of their "successes" were actually policy breaches.
  • Policy Load vs. Fragility: Agent performance is heavily impacted by policy load. As the number of active policies increases from one to five, the CuP score plummets from 18.2% to 7.1%. Agents struggle to juggle multiple constraints simultaneously.
  • Hierarchy Blindness: Agents frequently treat task instructions as the highest authority, failing to realize that organizational safety rules should override immediate user prompts.
  • Dominant Risks: User Consent and Strict Execution (avoiding hallucinations) were the most frequently violated dimensions.
  • Brittleness: The all-pass@3 metric (requiring an agent to succeed safely in three consecutive runs) remained extremely low (2.0%–5.0%), highlighting significant run-to-run inconsistency.

Limitations and Future Work

The authors acknowledge that the evaluation focused on open agents with a shared GPT-4o backbone; proprietary "computer use" models were not included. Furthermore, tasks are currently limited to English across three specific web applications, and the adversarial scope does not yet cover network-level or supply-chain attacks.

Looking forward, the authors propose a Policy-Aware Architecture where a dedicated "policy controller" sits between the agent and the browser. This controller would act as a real-time gatekeeper, filtering candidate actions against active policies before execution, rather than relying solely on the LLM's internal reasoning to maintain safety.

Summary updated

BibTeX
@inproceedings{levy2026st,
  author = {Ido Levy and Ben wiesel and Sami Marreed and Alon Oved and Avi Yaeli and Segev Shlomov},
  title = {{ST-WebAgentBench: A Benchmark for Evaluating Safety and Trustworthiness in Web Agents}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=MuCDzH0ctf},
}
Figure