Before Acting, Change the State: Prospective State Intervention for Web Agents under Deceptive Interfaces
On the map: LLM agents and tool use → Agent threats, guardrails and governance
Abstract (arXiv)
LLM-based Web agents can autonomously complete user tasks, yet deceptive interfaces can steer them toward outcomes that conflict with users' interests. Existing defenses primarily intervene on agent behavior through blocking, guidance, or replanning. We identify a distinct failure mode: a task-valid action can still realize an unauthorized consequence because of the current Web state. This motivates treating task-relevant Web state itself as a runtime control target. We introduce Veer, an agent-side runtime defense that leaves task planning to the base agent and intervenes on Web state when a proposed action would produce an unauthorized consequence. Before modifying the live environment, Veer constructs a prospective intervention trajectory toward a safe task-relevant state and executes it with runtime grounding and verification. Across TrickyArena and WebDecept, Veer achieves the highest safe task completion in all three evaluation settings, exceeding the next-best defense by 15.9 and 25.0 percentage points on TrickyArena-Single and TrickyArena-Multi, respectively, while reducing dark-pattern success on WebDecept to 0.3%. These gains persist across dark-pattern types and all 12 agent, model, and benchmark configurations. Ablations show that active state intervention provides the largest gain, while prospective rollout and temporal evidence contribute additional improvements. These results establish task-relevant Web state as an effective runtime control target for protecting Web agents from deceptive outcomes.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 20 of its 25 references that are in the map. First posted on arXiv 28 Sep 2026.
Builds on
20 of 25 references.
Closest ancestors · 8
Same direction, newest first
- 2026Don't Click That: Teaching Web Agents to Resist Deceptive Interfaces10 May
- 2026Benchmarking Web Agent Safety under E-commerce Deceptive Interfaces26 Apr
- 2026VIGIL: Defending LLM Agents Against Tool Stream Injection via Verify-Before-Commit9 Jan
- 2025DECEPTICON: How Dark Patterns Manipulate Web Agents28 Dec
- 2025Investigating the Impact of Dark Patterns on LLM-Based Web Agents20 Oct
- 2025Dark Patterns Meet GUI Agents: LLM Agent Susceptibility to Manipulative Interfaces and the Role of Human Oversight12 Sep
- 2025WebGuard: Building a Generalizable Guardrail for Web Agents18 Jul
- 2024GuardAgent: Safeguard LLM Agents by a Guard Agent via Knowledge-Enabled Reasoning13 Jun
Other references · 12
- 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 2,006
- 2023Language Agent Tree Search Unifies Reasoning Acting and Planning in Language Modelscited by 574
- 2024Agent Workflow Memorycited by 383
- 2024Defending Against Indirect Prompt Injection Attacks With Spotlightingcited by 267
- 2024Agent S: An Open Agentic Framework that Uses Computers Like a Humancited by 187
- 2024Is Your LLM Secretly a World Model of the Internet? Model-Based Planning for Web Agentscited by 154
- 2024Web Agents with World Models: Learning and Leveraging Environment Dynamics in Web Navigationcited by 126
- 2024WebPilot: A Versatile and Autonomous Multi-Agent System for Web Task Execution with Strategic Explorationcited by 101
- 2024AutoGuide: Automated Generation and Selection of Context-Aware Guidelines for Large Language Model Agentscited by 74
- 2020Dark Patterns after the GDPR: Scraping Consent Pop-ups and Demonstrating their Influencecited by 27
- 2026SafePred: A Predictive Guardrail for Computer-Using Agents via World Modelscited by 12
- 2026SeerGuard: A Safety Framework for Mobile GUI Agents via World Model Predictioncited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025It's a TRAP! Task-Redirecting Agent Persuasion Benchmark for Web Agents
- 2026AutoWebWorld: Synthesizing Infinite Verifiable Web Environments via Finite State Machines
- 2026Web Agents Should Adopt the Plan-Then-Execute Paradigm
- 2026ARGUS: Defending LLM Agents Against Context-Aware Prompt Injection
- 2024WebSuite: Systematically Evaluating Why Web Agents Fail
- 2026When Bots Take the Bait: Exposing and Mitigating the Emerging Social Engineering Attack in Web Automation Agent
- 2026SPADE-Bench: Evaluating Spontaneous Strategic Deception in Agents via Plan-Action Divergence
- 2026When Users Change Their Mind: Evaluating Interruptible Agents in Long-Horizon Web Navigation