arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2606.14027cs.CRcs.AIcs.CLcs.SYeess.SY
收藏

代理浏览器的同源策略

Same-Origin Policy for Agentic Browsers

Duke University(杜克大学);Stanford University(斯坦福大学);UC Berkeley(加州大学伯克利分校)

Xilong Wang, Xiaoxing Chen, Patrick Li, Dawn Song, Neil Gong

AI总结:

研究代理浏览器中同源策略的有效性,构建SOPBench评估基准,发现现有代理浏览器频繁违反SOP,并提出SOPGuard机制来强制执行SOP,同时保持效用和低开销。

摘要:

代理浏览器将自主AI代理集成到Web浏览器中,使用户能够通过自然语言指令完成Web任务。同源策略(SOP)是一种基本的浏览器安全机制,可防止由脚本引起的未经授权的自动化跨源数据流。然而,SOP在代理浏览器中是否仍然有效是一个尚未系统研究的开放问题。在这项工作中,我们填补了这一空白。我们首先观察到,代理浏览器本身可以作为跨源数据流的自动化通道,可能导致SOP违规。为了研究这一现象,我们构建了SOPBench,一个用于评估代理浏览器中SOP违规的基准。我们的评估表明,现有的代理浏览器在良性设置和攻击下都频繁违反SOP。为了解决这个问题,我们提出了SOPGuard,一种针对代理浏览器定制的SOP强制机制。我们在开源代理浏览器BrowserOS中实现了SOPGuard。广泛的评估表明,SOPGuard在保持效用的同时有效地强制执行SOP,并且仅产生很小的运行时开销。我们的代码和数据可在以下网址获取:https://this https URL。

英文摘要:

Agentic browsers integrate autonomous AI agents into web browsers, enabling users to accomplish web tasks through natural-language instructions. The same-origin policy (SOP) is a fundamental browser security mechanism that prevents unauthorized automated cross-origin data flows induced by scripts. However, whether SOP remains effective in agentic browsers is an open question that has not been systematically studied. In this work, we bridge this gap. We first observe that an agentic browser can itself serve as an automated channel for cross-origin data flows, potentially leading to SOP violations. To investigate this phenomenon, we construct SOPBench, a benchmark for evaluating SOP violations in agentic browsers. Our evaluation shows that existing agentic browsers frequently violate SOP, both in benign settings and under attacks. To address this problem, we propose SOPGuard, an SOP enforcement mechanism tailored to agentic browsers. We implement SOPGuard in BrowserOS, an open-source agentic browser. Extensive evaluations demonstrate that SOPGuard effectively enforces SOP while preserving utility and incurring only a small runtime overhead. Our code and data are available at https://github.com/wxl-lxw/BrowserOS-SOPGuard.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑