arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.00476cs.CRcs.AI
收藏

代理的原子性:揭示、利用和缓解浏览器使用代理中的TOCTOU漏洞

Atomicity for Agents: Exposing, Exploiting, and Mitigating TOCTOU Vulnerabilities in Browser-Use Agents

The Ohio State University(俄亥俄州立大学)

Linxi Jiang, Zhijie Liu, Haotian Luo, Zhiqiang Lin

AI总结:

本文研究了浏览器使用代理中的TOCTOU漏洞,通过实证研究揭示其普遍存在性,并提出基于预执行验证的轻量级缓解方法。

摘要:

浏览器使用代理被广泛用于日常任务。它们通过基于结构DOM的接口或在页面截图上操作的视觉语言模型实现自动化网页交互。然而,网页在计划和执行之间经常发生变化,导致代理基于过时的假设执行操作。我们将这种时间差异视为浏览器使用代理中的时间检查到时间使用(TOCTOU)漏洞。动态或对抗性网页内容可以利用这个窗口来引发意外操作。我们通过一个涵盖合成和真实世界网站的基准,对浏览器使用代理中的TOCTOU漏洞进行了大规模实证研究。使用此基准,我们评估了10种流行的开源代理,并表明TOCTOU漏洞普遍存在。我们设计了一种轻量级的缓解方法,基于预执行验证。它在计划期间监控DOM和布局变化,并在行动执行前立即验证页面状态。这种方法减少了不安全执行的风险,并缓解了浏览器使用代理中的意外副作用。

英文摘要:

Browser-use agents are widely used for everyday tasks. They enable automated interaction with web pages through structured DOM based interfaces or vision language models operating on page screenshots. However, web pages often change between planning and execution, causing agents to execute actions based on stale assumptions. We view this temporal mismatch as a time of check to time of use (TOCTOU) vulnerability in browser-use agents. Dynamic or adversarial web content can exploit this window to induce unintended actions. We present a large scale empirical study of TOCTOU vulnerabilities in browser-use agents using a benchmark that spans synthesized and real world websites. Using this benchmark, we evaluate 10 popular open source agents and show that TOCTOU vulnerabilities are widespread. We design a lightweight mitigation based on pre-execution validation. It monitors DOM and layout changes during planning and validates the page state immediately before action execution. This approach reduces the risk of insecure execution and mitigates unintended side effects in browser-use agents.

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

↑