[论文解读] CaMeLs Can Use Computers Too: System-level Security for Computer Use Agents
本文提出 CaMeLs,一种带单-shot 规划的 Dual-LLM 架构,为计算机使用代理(CUA)提供控制流完整性,能够抵抗提示注入,同时在 OSWorld 上保持相当的任务性能;并将 Branch Steering 作为数据流威胁进行表征,提出基于冗余的防御。
AI agents are vulnerable to prompt injection attacks, where malicious content hijacks agent behavior to steal credentials or cause financial loss. The only known robust defense is architectural isolation that strictly separates trusted task planning from untrusted environment observations. However, applying this design to Computer Use Agents (CUAs) -- systems that automate tasks by viewing screens and executing actions -- presents a fundamental challenge: current agents require continuous observation of UI state to determine each action, conflicting with the isolation required for security. We resolve this tension by demonstrating that UI workflows, while dynamic, are structurally predictable. We introduce Single-Shot Planning for CUAs, where a trusted planner generates a complete execution graph with conditional branches before any observation of potentially malicious content, providing provable control flow integrity guarantees against arbitrary instruction injections. Although this architectural isolation successfully prevents instruction injections, we show that additional measures are needed to prevent Branch Steering attacks, which manipulate UI elements to trigger unintended valid paths within the plan. 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.
研究动机与目标
- 通过体系结构隔离防止指令注入,推动对 CUA 的强健安全需求。
- 提出单-shot 规划,在观察不可信内容前生成完整执行图。
- 为 CUA 适配并评估 Dual-LLM 架构(特权规划者与隔离感知者)。
- 引入 Observe-Verify-Act 规划,在 UI 驱动任务中强制安全执行路径。
- 探索诸如 Branch Steering 等局限性,并评估基于冗余的防御措施。
提出的方法
- 采用 Dual-LLM 架构,设有特权规划者(P-LLM),在无访问实时 UI 内容的情况下生成完整、事前经验证的执行计划。
- 使用隔离感知模型(Q-VLM),观察环境并在预先规划内执行,但不能改变控制流。
- 实现带 Observe-Verify-Act 范式的单-shot 规划,以实现有条件执行且不在运行时修改计划。
- 引入基于冗余的验证(DOM 一致性与多模态共识),以检测感知输出的损坏。
- 对可能操作数据流、影响 Branch Steering 的攻击进行建模与评估,权衡实用性与安全性之间的取舍。

实验结果
研究问题
- RQ1双-LLM 架构是否能在复杂的计算机使用任务中保留足够的实用性?
- RQ2规划者的选择(规划的 LLM)如何影响任务实用性与性能?
- RQ3基于冗余的防御(DOM 一致性、多模态共识)在对抗最小化效用成本的数据流攻击方面有多高效?
- RQ4在动态 UI 环境中,单-shot 规划的局限性有哪些,包括像 Branch Steering 这样的数据流威胁?
主要发现
- CaMeL 在 OSWorld 任务上,对大规模闭源模型的原始性能保留达到最高 57%。
- CaMeL 在小规模开源模型上相对于基线实现最高 19% 的性能提升。
- 基线 OSWorld 的 pass@1 数据为:UITars 24.4%,OpenCUA 28.7%,Claude Sonnet 36.7%。
- 在规划器为 GPT-5 的情况下,CaMeL 基于 OSWorld 的结果展现出高效用,在报告的配置下,pass@5 在 UITars 任务上达到最高 65%。
- 结合强大规划器时,CaMeL 使更小的 CUAs 也能与更大模型媲美,例如 UITars-1.5-7B+CaMeL 在所有 OSWorld 任务上达到 29.0%(相较于 UITars 单独的 24.4%)。
- Branch Steering 攻击证明存在数据流漏洞,即使实施了控制流隔离也仍然存在,推动冗余防御并凸显实用性与安全性之间的权衡。

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。