Agentic browsers often violate the same-origin policy
Existing agentic browsers frequently breach SOP, both in benign use and under attack
AI/ML arXiv 12 Jun 2026 Measurement Prototype evidence
Published as “Same-Origin Policy for Agentic Browsers”
Why it matters
SOPGuard can be deployed to secure agentic browsers against cross-origin data leaks without harming performance or task success.
Summary
SOPGuard eliminates SOP violations in agentic browsers, reducing the violation rate to 0.00, while preserving utility and adding only 2.07%-5.79% runtime overhead. Existing agentic browsers, however, show non-trivial SOP violation rates even under the traditional SOP.
What they found 3
- SOPGuard eliminates SOP violations in the evaluated agentic browser.
“BrowserOS-SOPGuard reduces the SOP violation rate to 0.00 under the settings of both passive and proactive SOP violations in our benchmark.”
- Runtime overhead of SOPGuard is small.
“the increase ranges from 2.07% to 5.79%.”
- Utility of BrowserOS is unchanged after adding SOPGuard.
“These results indicate that BrowserOS-SOPGuard is statistically indistinguishable from BrowserOS in terms of utility and that SOPGuard does not introduce a utility degradation.”
Caveats 1
- We emphasize that this result is specific to our iframe-based scenario.
What’s new here 4
- Provides the first systematic benchmark (SOPBench) for measuring SOP violations in agentic browsers.
- Introduces SOPGuard, a label-based enforcement mechanism that tracks origin labels through the agent’s reasoning pipeline.
- Implements user-confirmation gating for cross-origin writes, turning automated flows into manual ones.
- Demonstrates that SOPGuard can be added to an open-source agentic browser (BrowserOS) with negligible utility loss.