The same-origin policy (SOP) is a bedrock of web security, preventing unauthorized cross-origin data flows from scripts. But as AI agents are integrated into browsers—creating so-called agentic browsers—the question of whether SOP remains effective has become urgent. A new study from a team of researchers, including Wang, Xilong, Chen, Xiaoxing, Li, Patrick, Song, Dawn, and Gong, Neil, published on arXiv, systematically investigates this gap.
The authors first observe that an agentic browser itself can serve as an automated channel for cross-origin data flows, potentially leading to SOP violations. To study this, they constructed SOPBench, a benchmark designed to evaluate SOP violations in agentic browsers. Their evaluation showed that existing agentic browsers frequently violate SOP, both in benign settings and under attacks.
To address these vulnerabilities, the researchers propose SOPGuard, an SOP enforcement mechanism tailored specifically to agentic browsers. They implemented SOPGuard in BrowserOS, an open-source agentic browser. Extensive evaluations demonstrated that SOPGuard effectively enforces SOP while preserving utility and incurring only a small runtime overhead, the authors reported. The code and data are publicly available via a link provided in the paper.
Implications for Enterprise Security
For CTOs and security leaders, this research highlights a new attack surface introduced by AI-driven browser agents. As enterprises increasingly deploy agentic browsers for tasks like automated form filling, data aggregation, or workflow automation, the risk of cross-origin data leakage becomes critical. The SOP violations identified by the benchmark suggest that current implementations lack adequate security boundaries.
| Component | Description |
|---|---|
| SOPBench | Benchmark for measuring SOP violations in agentic browsers |
| SOPGuard | Enforcement mechanism to prevent cross-origin data flows |
| BrowserOS | Open-source agentic browser used as testbed |
The study’s finding that violations occur even in benign settings means that normal operations of agentic browsers could inadvertently expose sensitive data across origins. Under attack, the risks compound. SOPGuard’s ability to enforce policy with minimal overhead makes it a promising candidate for production deployment, though it is currently tied to BrowserOS.
The Path Forward
The research community now has a standardised tool—SOPBench—to evaluate and compare security postures of different agentic browsers. The authors hope this will spur adoption of SOP enforcement mechanisms like SOPGuard. For enterprise buyers evaluating agentic browser platforms, asking about SOP compliance and testing with SOPBench could become a standard part of procurement due diligence.