Skip to main content
QUICK REVIEW

[Paper Review] CaMeLs Can Use Computers Too: System-level Security for Computer Use Agents

Hanna Foerster, Tom Blanchard|arXiv (Cornell University)|Jan 14, 2026
Security and Verification in ComputingComputer Science0 citations
TL;DR

The paper presents CaMeLs, a Dual-LLM architecture with Single-Shot Planning to provide control flow integrity for Computer Use Agents, achieving security against prompt injections while retaining substantial task performance on OSWorld; it also characterizes Branch Steering as a data-flow threat and proposes redundancy-based defenses.

ABSTRACT

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.

Motivation & Objective

  • Motivate robust security needs for CUAs by preventing instruction injection through architectural isolation.
  • Propose Single-Shot Planning to generate a complete execution graph before observing untrusted content.
  • Adapt and evaluate a Dual-LLM architecture (Privileged Planner and Quarantined Perception) for CUAs.
  • Introduce Observe-Verify-Act planning to enforce safe execution paths within UI-driven tasks.
  • Explore limitations such as Branch Steering and evaluate redundancy-based defenses.

Proposed method

  • Adopt Dual-LLM architecture with a Privileged Planner (P-LLM) that generates a full, pre-verified execution plan without access to live UI content.
  • Use a Quarantined Perception model (Q-VLM) that observes the environment and executes within the pre-plan but cannot alter the control flow.
  • Implement Single-Shot Planning with an Observe-Verify-Act paradigm to enable conditional execution without runtime plan modification.
  • Introduce redundancy-based verification (DOM Consistency and Multi-Modal Consensus) to detect corrupted perception outputs.
  • Model and evaluate Branch Steering attacks that manipulate data flow, and assess defense tradeoffs between utility and security.
Figure 1: Dual-LLM in Computer Use Agent (CUA) setting visualized
Figure 1: Dual-LLM in Computer Use Agent (CUA) setting visualized

Experimental results

Research questions

  • RQ1Can a Dual-LLM architecture retain sufficient utility for complex Computer Use tasks?
  • RQ2How does planner choice (planning LLM) affect task utility and performance?
  • RQ3How effective are redundancy defenses (DOM Consistency, Multi-Modal Consensus) against data-flow attacks with minimal utility cost?
  • RQ4What are the limitations of Single-Shot Planning in dynamic UI environments, including data-flow threats like Branch Steering?

Key findings

  • CaMeL achieves up to 57% retention of original performance for large closed-source models on OSWorld tasks.
  • CaMeL yields up to 19% improvement for small open-source models compared to baselines.
  • Baseline OSWorld pass@1 figures show: UITars 24.4%, OpenCUA 28.7%, Claude Sonnet 36.7%.
  • With GPT-5 as planner, CaMeL-based OSWorld results reach high utility, with pass@5 achieving up to 65% on UITars tasks in reported configurations.
  • CaMeL enables smaller CUAs to rival much larger models when paired with a strong planner, e.g., UITars-1.5-7B+CaMeL reaching 29.0% on all OSWorld tasks (vs. 24.4% for UITars alone).
  • Branch Steering attacks demonstrate data-flow vulnerabilities that persist despite control-flow isolation, motivating redundancy defenses and highlighting utility-security tradeoffs.
Figure 2: Cookie attack execution flow. Illustration of a multi-step and long-range cookie attack: (1) legitimate homepage, (2) spoofed intermediate page, (3) trusted redirect, (4) final malicious landing page.
Figure 2: Cookie attack execution flow. Illustration of a multi-step and long-range cookie attack: (1) legitimate homepage, (2) spoofed intermediate page, (3) trusted redirect, (4) final malicious landing page.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.