← All papers  /  Oct 16, 2026
Agents

SPIDES: Information-Flow Control for Browser Agents

First page
SPIDES: Information-Flow Control for Browser Agents
The curator’s take

Egor Zverev (ISTA), Juhee Kim, Boris Köpf, Shruti Tople, Santiago Zanella-Béguelin and colleagues at Microsoft and CISPA propose SPIDES, an information-flow-control layer that gates browser-agent actions on confidentiality and integrity labels attached to HTML elements, giving guarantees that do not depend on the model.

Ask this paper

Key points
01

Argument against SOP. Restoring the Same-Origin Policy is not sufficient, since a same-origin public sink can still leak private data, and not necessary, since legitimate tasks need authorized cross-origin flows.

02

Mechanism. Labels propagate from element-level HTML annotations. Untrusted and confidential content is masked from the agent's context, and typing, clicking and navigation are blocked when they would create an unauthorized flow.

03

Testbed. MicroNet is a closed ecosystem of 28 interlinked websites with element-level ground-truth labels and paired benign and adversarial tasks, so defenses are compared under one threat model.

04

Result. SPIDES has a 0% attack success rate by construction while keeping high task completion and autonomy compared with existing defenses.

Abstract

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.

Every Monday
Get next week’s papers.
Subscribe on Substack