CaMeLs Can Use Computers Too: System-level Security for Computer Use Agents
CaMeLs Can Use Computers Too: System-level Security for Computer Use Agents
AI总结:
本文提出了一种系统级安全方法,用于计算机使用代理(CUAs),通过单次规划和NOVA框架在动态UI状态下提供控制流完整性保障,同时在保持性能的同时提升安全性。
摘要:
AI代理容易受到提示注入攻击,其中恶意内容劫持代理行为。在已提出的防御措施中,架构隔离通过严格分离可信任务规划与不可信环境观察提供了最强的保证。然而,将此设计应用于自动化任务的计算机使用代理(CUAs)则面临根本性挑战。当前代理需要持续观察UI状态以确定每个动作,这与安全所需的隔离相冲突。我们通过证明UI工作流虽然动态但结构上可预测,解决了这一矛盾。单次规划,即可信规划器提前发出完整的分支计划,覆盖所有预期的运行时状态,可为任意指令注入提供控制流完整性保障。我们引入NOVA(通过观察、验证和行动导航)使这种方案在组合爆炸的UI状态空间中可行,其中计划可以调用感知模型来解析运行时值,如UI坐标。我们在OSWorld上评估了我们的设计,保留了前沿模型57%的性能,同时对较小的开源模型性能提升高达19%,证明了在CUAs中严格的安全性和实用性可以共存。尽管提前规划防止了指令注入,但我们展示还需要额外措施来防御分支引导攻击,其中攻击者欺骗感知模型使执行沿着攻击者偏好的计划分支进行,例如将代理引导至恶意网站。
英文摘要:
AI agents are vulnerable to prompt injection attacks, where malicious content hijacks agent behavior. Among proposed defenses, architectural isolation provides the strongest guarantees by strictly separating trusted task planning from untrusted environment observations. However, applying this design to Computer Use Agents (CUAs), which automate tasks by viewing screens and executing actions, presents a fundamental challenge. Current agents require continuous observation of UI state to determine each action, which conflicts with the isolation required for security. We resolve this tension by demonstrating that UI workflows, while dynamic, are structurally predictable. Single-shot planning, where a trusted planner emits upfront a complete branching plan covering all anticipated runtime states, provides control flow integrity guarantees against arbitrary instruction injections. We introduce NOVA (Navigating via Observation, Verification, and Action) to make this viable in the combinatorially large UI state space, where the plan can invoke a perception model to resolve runtime values such as UI coordinates. We evaluate our design on OSWorld, and retain up to 57% of the performance of frontier models while improving performance for smaller open-source models by up to 19%, demonstrating that rigorous security and utility can coexist in CUAs. Although upfront planning prevents instruction injections, we show that additional measures are needed to defend against \textbf{Branch Steering} attacks, where adversaries deceive the perception model into routing execution down attacker-preferred branches of the plan, such as redirecting the agent to a malicious website.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。