SPIDES: Information-Flow Control for Browser Agents
On the map: LLM agents and tool use → Agent threats, guardrails and governance
also in 1 more
Abstract (arXiv)
Browser agents automate complex workflows by reading and acting on arbitrary page content, but this flexibility exposes them to prompt injection attacks and unintended data exfiltration. Recent work argues that LLM-driven browser agents erode traditional web security boundaries such as the Same-Origin Policy (SOP) by acting across origins with the user's authority and no built-in isolation. We argue that restoring SOP is neither sufficient (a same-origin public sink can leak private data) nor necessary (legitimate tasks require authorized cross-origin flows) for protecting the security of users. We propose SPIDES, which instead enforces information-flow control by gating primitive browser actions such as typing, clicking and navigating on labels propagated from element-level HTML confidentiality and integrity annotations. Untrusted and confidential content is masked from the agent's context, while policies block unauthorized flows, providing security guarantees against both prompt injection and data exfiltration that hold independently of the model driving the agent. To evaluate SPIDES and baseline defenses under a common threat model, we build MicroNet, a closed ecosystem of 28 interlinked websites with element-level ground-truth labels and paired benign/adversarial tasks. SPIDES achieves 0% attack success rate by design while retaining high task completion rate and autonomy. Our findings demonstrate that information-flow control is an effective technique to extend web security to browser agents, gaining on autonomy and utility against state-of-the-art baselines. The source code and data are openly accessible at https://github.com/microsoft/SPIDES.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 27 of its 50 references that are in the map. Submitted 16 Oct 2026.
Builds on
27 of 50 references.
Closest ancestors · 10
Same direction, newest first
- 2026Untrusted Content Masking for Web Agents with Security Guarantees6 Jul
- 2026Same-Origin Policy for Agentic Browsers12 Jun
- 2026CaMeLs Can Use Computers Too: System-level Security for Computer Use Agents14 Jan
- 2025WASP: Benchmarking Web Agent Security Against Prompt Injection Attacks22 Apr
- 2025DoomArena: A framework for Testing AI Agents Against Evolving Security Threats18 Apr
- 2025Defeating Prompt Injections by Design24 Mar
- 2025Prompt Flow Integrity to Prevent Privilege Escalation in LLM Agents17 Mar
- 2025Commercial LLM Agents Are Already Vulnerable to Simple Yet Dangerous Attacks12 Feb
- 2024Attacking Vision-Language Computer Agents via Pop-ups4 Nov
- 2024EIA: Environmental Injection Attack on Generalist Web Agents for Privacy Leakage17 Sep
Other references · 17
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 9,589
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,469
- 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 2,232
- 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,638
- 2024GPT-4V(ision) is a Generalist Web Agent, if Groundedcited by 606
- 2024The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructionscited by 568
- 2024WebVoyager: Building an End-to-End Web Agent with Large Multimodal Modelscited by 473
- 2024StruQ: Defending Against Prompt Injection with Structured Queriescited by 433
- 2024SecAlign: Defending Against Prompt Injection with Preference Optimizationcited by 251
- 2025Constitutional Classifiers: Defending against Universal Jailbreaks across Thousands of Hours of Red Teamingcited by 206
- 2025The Attacker Moves Second: Stronger Adaptive Attacks Bypass Defenses Against Llm Jailbreaks and Prompt Injectionscited by 164
- 2025Securing AI Agents with Information-Flow Controlcited by 152
5 more
- 2024Can LLMs Separate Instructions From Data? And What Do We Even Mean By That?cited by 90
- 2025ASIDE: Architectural Separation of Instructions and Data in Language Modelscited by 30
- 2025BrowseSafe: Understanding and Preventing Prompt Injection Within AI Browser Agentscited by 27
- 2025ceLLMate: Sandboxing Browser AI Agentscited by 19
- 2026Optimizing Agent Planning for Security and Autonomycited by 13
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Prismata: Confining Cross-Site Prompt Injection in Web Agents
- 2026GuardianAgentFlow: Multi-Agent Coordination for Web Privacy Protection
- 2025The Hidden Dangers of Browsing AI Agents
- 2025Privacy Practices of Browser Agents
- 2025Mind the Web: The Security of Web Use Agents
- 2026WebMCP-Phalanx: Enforcing and Characterizing Trust Boundaries for Browser-Integrated LLM Agents
- 2026WAAA! Web Adversaries Against Agentic Browsers
- 2025Context manipulation attacks : Web agents are susceptible to corrupted memory