arXiv:2610.41272cs.CROct 2026

Manuscript Offprint

arXiv:2610.41272

ANGLER: Verifier-Grounded Benchmarking with an Adaptive Attacker for Web Agents

Yini Huang, Aiwen LU, Zhen Sun, Yi Han, Yuzhi Zhao, Jiaheng Wei

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Web agents are increasingly deployed to complete tasks autonomously on real websites, where adversarially injected content can induce them to perform unauthorized actions. Existing evaluations primarily use fixed attacks or focus on a single attack type, and evaluate attacks at the text level rather than through real state changes, thus underestimating how vulnerable agents are to diverse attacks. To address the gap, we introduce REEF, a benchmark of Red-teaming Executable Environments with Faithful Verification for measuring the security vulnerabilities of web agents. REEF covers 9 verifier-grounded websites spanning travel, commerce, productivity, media, and communication, and pairs every authentic benign task with a malicious objective delivered through 5 attack types at both the user and the environment level. REEF's state-based verifiers provide the execution feedback that drives ANGLER, an Adaptive Near-miss-Guided Lure Evolution framework for Red-teaming. Rather than evaluating a fixed attack set, ANGLER uses outcomes from prior rollouts to guide LLM-based attack mutation and candidate selection, prioritizing near-miss seeds during refinement. Across 8 VLM-based web agents, ANGLER achieves an end-to-end attack success rate (ASR) of 20.36%, compared with 15.24% for the non-adaptive setting. Compared with attack-free execution on the same benign tasks, attacks generated by ANGLER reduce benign task success rate (BSR) from 61.9% to 44.4%.

1 Introduction

Recent advances in large language models and vision-language models enable web agents to navigate websites and complete multi-step tasks on behalf of users [10, 11, 22, 36]. However, these capabilities also introduce security risks, as malicious instructions may induce web agents to perform unauthorized actions, such as sending messages, modifying settings, or completing transactions [9, 24, 27]. Adversarial content can reach web agents through user-level attacks that manipulate user instructions or environment-level attacks that inject malicious content into webpages encountered during execution. If the agent follows such content, it may perform actions that are not authorized by the authentic user goal. A faithful security evaluation must therefore test attacks during interactive website execution and verify whether they cause unauthorized changes to website state.

Existing security benchmarks provide executable environments for evaluating adversarial attacks against web agents and related tool-using agents. WASP [9], RedAgentBench [6], and SecureWebArena [34] execute adversarial tasks in interactive environments, but evaluate agents using fixed and static attack cases or trajectories. However, these benchmarks do not adapt attack generation or selection during agent evaluation based on outcomes from previous rollouts, potentially missing vulnerabilities that could be uncovered through feedback-driven exploration.

Although recent works have begun to introduce adaptive attacks, they are typically limited to a single attack type. Studies of pop-up and advertising-based injections each target a specific delivery channel [27, 35], while MUZZLE [24] uses execution feedback to adapt attacks but focuses specifically on indirect prompt injection. Consequently, existing evaluations provide broad evaluation of fixed attacks or adaptive refinement within a narrow attack class. What remains missing for web agents security evaluation is an adaptive but reproducible framework across multiple attack types. However, simply adding an adaptive attacker to existing benchmarks is insufficient because newly generated attack plans must be validated against specific constraints and evaluated under consistent task contexts, objective definitions, and verifier rules.

Therefore, we address these requirements with REEF and ANGLER, which combine a fixed benchmark specification with adaptive search. Built on 9 resettable AutoWebWorld environments [31], REEF pairs benign tasks with grounded malicious objectives across 5 attack types. A site compiler enforces attack constraints and checks plan validity, while programmatic verifiers assess outcomes from website state and committed artifacts. Within this feasible space, ANGLER combines systematic exploration, experience-guided LLM mutation, and feedback-driven candidate selection under a fixed rollout budget. This separation enables controlled comparisons of discovery policies under shared attack constraints and success criteria. Our contributions are summarized as follows:

We introduce REEF, an executable benchmark spanning 9 websites and 5 attack types. Unlike fixed-case evaluations, REEF supports controlled online mutation of structured attack configurations and uses programmatic verifiers to measure benign task completion and malicious objective success.

We propose ANGLER, an adaptive experience-guided framework for red-teaming web agents. It uses verifier-grounded rollout feedback to identify near-miss seeds for attack refinement and to select subsequent candidates within a predefined feasible attack-plan space.

We establish an evaluation protocol for comparing adaptive and non-adaptive attackers under identical task contexts and rollout counts. Across 8 VLM-based web agents and 9 websites, ANGLER increases average ASR from 15.2% for the non-adaptive baseline to 20.4%, while its attacks reduce average BSR from 61.9% under attack-free execution to 44.4%.

†^{\dagger}Co-corresponding authors: Yuzhi Zhao (zyz0808.hust@gmail.com) and Jiaheng Wei (jiahengwei@hkust-gz.edu.cn).

Table 1: Comparison of representative security benchmarks and adaptive red-teaming systems for web and computer-use agents. #Web denotes the number of web environments. User and Env. denote user-level and environment-level attacks respectively.

Work#WebUserEnv.Attack TypesOnline GenerationAdaptive SearchCross-rollout LearningFailure-guided RefinementPlan ValidationExecution Oracle
VWA-Adv [30]3×✓Text/Image××××-✓
WASP [9]2×✓IPI××××-✓
RedTeamCUA [19]3×✓IPI××××-✓
SecureWebArena [34]6✓✓6 Types××××-×
AgentVigil [29]3×✓IPI✓✓✓××✓
MUZZLE [24]4×✓IPI✓✓✓✓××
SIR [32]1(+OS)×✓IPI✓✓✓✓×✓
ANGLER9✓✓5 Types✓✓✓✓✓✓

Online Generation denotes whether new attack candidates are generated during evaluation. Adaptive Search denotes whether execution feedback guides candidate generation or selection. Cross-rollout Learning denotes whether outcomes from earlier rollouts guide later ones. Failure-guided Refinement denotes whether diagnosed failures guide subsequent attack updates. Plan Validation denotes whether candidate plans are checked before execution. Execution Oracle denotes whether attack success is programmatically verified.

References (20)