arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.15138cs.CR
收藏

智能体点击“批准”:注入的页面文本使浏览器智能体授权访问从未命名的任务

The Agent Clicks Approve: Injected Page Text Makes Browser Agents Authorize Access the Task Never Named

University of Tennessee at Chattanooga(田纳西大学查塔努加分校)

Md Imran Hossen

AI总结:

该研究发现浏览器智能体可被页面文本误导授权未命名任务的访问,提出权限信封网关防御,使所有攻击被拦截、对照运行正常完成。

摘要:

在用户已登录的会话中运行的浏览器智能体,可被其读取页面上的两句话注释引导,批准第三方对用户账户的访问。该智能体属于“被误导的代理”:会话提供权限,页面指定要批准的访问请求或要注册的Webhook URL,而在操作点没有任何内容将两者进行核对。因此,该智能体提供了同意屏幕为账户持有者保留的批准点击。我们在两个授权界面上测量了这种故障:OAuth风格的访问授权和Webhook注册,使用基于开源浏览器框架构建的智能体以及来自两个提供商的模型。在没有防御措施的情况下,所有73次攻击运行中未授权操作均完成。一条告知模型仅用户的任务授权授予的指令,仍使10次同意攻击中有7次完成。因此,我们将检查移至操作完成的位置。权限信封网关要求服务仅在请求与任务的信封匹配时才接受请求,该信封是用户任务在智能体启动前指定的客户端和账户或Webhook URL。使用该网关后,在70次攻击运行中,智能体仍每次都发送请求,但服务每次都拒绝,而任务指定的所有对照运行中操作均完成。因此,接收任务信封的服务应根据其核对智能体驱动的授权请求。

英文摘要:

A browser agent that works in its user's signed-in session can be steered by a two-sentence note on a page it reads into approving a third party's access to the user's account. The agent is a confused deputy: the session supplies the authority, the page designates the access request to approve or the webhook URL to register, and nothing at the point of action checks one against the other. The agent thereby supplies the approval click that a consent screen reserves for the account holder. We measure this failure on two authorization surfaces, an OAuth-style access grant and a webhook registration, with agents built on an open-source browser framework and models from two providers. Without a defense the unauthorized action completed in all 73 attack runs. An instruction telling the model that only the user's task authorizes a grant still left 7 of 10 consent attacks completing. We therefore move the check to where the action completes. The authority envelope gate has the service accept a request only when it matches the task's envelope, the client and account or the webhook URL that the user's task named, fixed before the agent starts. With the gate the agent still sent the request in every one of 70 attack runs, the service rejected each, and the action completed in every control run whose task named it. A service that receives the task's envelope should therefore check agent-driven authorization requests against it.

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

↑