Skip to content

Veer: Runtime defense for web agents against dark patterns, reducing the dark-pattern success rate to 0.3% on WebDeceptBefore Acting, Change the State: Prospective State Intervention for Web Agents under Deceptive Interfaces

Paper Tracker· arXiv:2609.34974· Ruozhao Yang, Mingfei Cheng, Xiaofei Xie·Indexed by this site · 2026-10-08· Originally publishedDefenses

Translation in progress — untranslated text is omitted.

Quick read

Defenses

Based on the paper PDF (AI-generated); refer to the original

AI summaryThe researchers propose Veer, a runtime defense method for LLM web agents, which treats task-relevant webpage states as the control target rather than only intercepting or re-planning agent behavior. When Veer detects that an action would lead to unauthorized consequences, it first constructs an expected intervention trajectory toward a safe task state, then executes with runtime grounding and verification. On TrickyArena and WebDecept, Veer achieves the highest safe task completion rate across three evaluation settings, outperforming the next-best defense by 15.9 and 25.0 percentage points on TrickyArena-Single and TrickyArena-Multi, respectively, and reduces the dark-pattern success rate on WebDecept to 0.3%. Ablation studies show that proactive state intervention provides the largest gain, with expected rollout and temporal evidence providing additional improvements, and results are consistent across 12 agent, model, and benchmark configurations.

Questions
When LLM web agents perform legitimate actions for a task, the current web page state can still lead to consequences not authorized by the user. Existing runtime defenses mainly decide whether and how to take the next step; the authors argue that the task-relevant web page state itself should be treated as a control object.
Methods
Veer stays on the agent side. It first judges the proposed action using fixed task authorization and current and historical webpage evidence; if unauthorized, it plans a browser-level look-ahead trajectory before modifying the real environment, re-grounds and verifies during execution, and returns control to the base agent only after the target is satisfied.
Experiments and results
In Table 1, Veer's STC in the three settings is 85.2%, 67.6%, and 41.0%, and on WebDecept DPSR is 0.3%. Across the 12 agent–model–benchmark comparisons, STC is higher than the matched no-defense setting. The authors state that proactive state intervention brings the largest STC change.
Limitations and future work
Appendix G states: interventions depend on observable webpage states; purely hidden server-side states are not within the current model; when intent is insufficient, consequences may be uncertain; after intervention, remaining tasks still depend on the base agent. Evaluation covers TrickyArena and WebDecept, two agent implementations, and two models; the paper does not report the number of repetitions.
Read originalarxiv.org