视觉混淆代理:在计算机使用代理中利用和防御感知失败
Visual Confused Deputy: Exploiting and Defending Perception Failures in Computer-Using Agents
AI总结:
本文提出了一种新的安全防护机制,通过双重通道对比分类来检测计算机使用代理中的视觉感知错误,以提高系统安全性。
摘要:
计算机使用代理(CUAs)直接对图形用户界面进行操作,但其对屏幕的感知往往不可靠。现有研究大多将这些失败视为性能限制,仅关注动作是否成功,而非代理是否真正作用于正确对象。我们认为这本质上是一个安全问题。我们正式化了视觉混淆代理:一种失败模式,其中代理基于错误的屏幕状态授权动作,原因包括接地错误、对抗性截图篡改或时间检查到时间使用(TOCTOU)竞赛。这一差距在实践中可被利用:即使简单的屏幕级篡改也可将常规点击重定向到特权动作,同时仍无法与普通代理错误区分开来。为缓解这一威胁,我们提出了第一个在代理感知循环之外运作的防护措施。我们的方法,双重通道对比分类,独立评估(1)视觉点击目标和(2)代理对动作的推理与部署特定的知识库,并在任一通道显示风险时阻止执行。关键见解是这两个通道捕捉了互补的失败模式:视觉证据检测目标级不匹配,而文本推理揭示了看似无害的控制背后危险的意图。在受控攻击、真实GUI截图和代理跟踪中,综合防护措施始终优于单独通道。我们的结果表明,CUA的安全性不仅需要更好的动作生成,还需要独立验证代理所相信的点击内容和原因。材料提供(模型,基准和代码:https://github.com/vllm-project/semantic-router)
英文摘要:
Computer-using agents (CUAs) act directly on graphical user interfaces, yet their perception of the screen is often unreliable. Existing work largely treats these failures as performance limitations, asking whether an action succeeds, rather than whether the agent is acting on the correct object at all. We argue that this is fundamentally a security problem. We formalize the visual confused deputy: a failure mode in which an agent authorizes an action based on a misperceived screen state, due to grounding errors, adversarial screenshot manipulation, or time-of-check-to-time-of-use (TOCTOU) races. This gap is practically exploitable: even simple screen-level manipulations can redirect routine clicks into privileged actions while remaining indistinguishable from ordinary agent mistakes. To mitigate this threat, we propose the first guardrail that operates outside the agent's perceptual loop. Our method, dual-channel contrastive classification, independently evaluates (1) the visual click target and (2) the agent's reasoning about the action against deployment-specific knowledge bases, and blocks execution if either channel indicates risk. The key insight is that these two channels capture complementary failure modes: visual evidence detects target-level mismatches, while textual reasoning reveals dangerous intent behind visually innocuous controls. Across controlled attacks, real GUI screenshots, and agent traces, the combined guardrail consistently outperforms either channel alone. Our results suggest that CUA safety requires not only better action generation, but independent verification of what the agent believes it is clicking and why. Materials are provided\footnote{Model, benchmark, and code: https://github.com/vllm-project/semantic-router}.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。