Secure-CUA: Controlling Untrusted Influence in Computer-Use Agents
Sarthak Choudhary, Mihai Christodorescu, Ashish Hooda, Somesh Jha, Tongxin Li, Damien Octeau
Abstract
Computer-use agents (CUAs) perform tasks across applications (such as desktops, mobile apps, and web browsers) by observing graphical interfaces and issuing commands such as clicks and keystrokes. These interfaces combine trusted controls and content with untrusted content needed for legitimate tasks. An adversary controlling this untrusted content can embed instructions or misleading visual cues to change the agent's intended action or redirect its commands to the wrong interface target. We formalize security requirements for both the agent's decisions and their execution through GUI commands. In an ideal execution model, we show that enforcing both requirements at each step protects execution traces. We instantiate this model in Secure-CUA, our system for secure CUA execution. Its key idea is to commit to an explicit per-action program, called an , before accessing untrusted content. Each transaction fixes its queries to untrusted content and the permitted uses of their responses. The system masks untrusted regions and evaluates each transaction to produce the next action, using an isolated query model to answer its queries. It then locates the intended interface target using the masked interface. Under the model's assumptions, Secure-CUA is secure by design, while generating a new transaction at each step helps maintain high task utility by adapting to changing interfaces. We evaluate Secure-CUA under benign conditions on 400 WebArena tasks using three frontier models across seeds, yielding execution traces. Secure-CUA achieves an average task success rate of , compared with for Vanilla-CUA and for CaMeL-CUA.
Create a lesson
Metadata
- Categories
- cs.CR, cs.AI
Related papers
Measuring the Belief-Claim Gap: Disentangling Autonomous-Agent Beliefs from Security Certification
Shared title terminologycs.CRYoussef Hamdi Zafan Ibrahim, Mohammed Khalaf Salama
SoK: Bridging Secure Multi-Party Computation Protocols and Open-Source Frameworks
Shared title terminologycs.CRFuyi Wang, Yaxi Yang, Junzhe Dong et al.
Parse, Don't Read: Grammar-Based Monitoring and Its Limits for Tracing Untrusted Instructions in AI Agent Actions
Shared title terminologycs.CRAsif Pinjari, Varun Talari, Dileep Kumar Salla et al.
Flowsh: An Information Flow-Controlled Shell for AI Agents
Shared title terminologycs.CRJuhee Kim, Leon Trampert, Boris Köpf et al.
Controlled Autonomy for Agentic AI: A Layer-by-Layer Evaluation of Policy Enforcement, Cryptographic Identity and Isolation
Shared title terminologycs.CRHisham Ali, Vasileios Mavroeidis, Nikolaos Pitropakis et al.
From Acoustic Sensing to Physical Actions: A Comprehensive Survey of Security Risks in Edge-Deployed Audio LLM-Based Agents
Shared title terminologycs.CRBinhong Wang, Haidong Kang, Yanfeng Zhang et al.