Secure-CUA: Controlling Untrusted Influence in Computer-Use Agents
cs.CR, cs.AI
Submitted: 2026-10-07
Updated: 2026-10-07
License: http://creativecommons.org/licenses/by/4.0/
The gist: 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.
Terminology
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 action transaction, 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 5 seeds, yielding 6,000 execution traces. Secure-CUA achieves an average task success rate of 53.55%, compared with 55.12% for Vanilla-CUA and 13.17% for CaMeL-CUA.
Sources
- Design Patterns for Securing LLM Agents against Prompt Injections
- Securing AI Agents with Information-Flow Control
- Defeating Prompt Injections by Design
- Secure and Efficient Access Control for Computer-Use Agents via Context Space
- Preventing Prompt Injection with Type-Directed Privilege Separation
- Optimizing Agent Planning for Security and Autonomy
- InjecGuard: Benchmarking and Mitigating Over-defense in Prompt Injection Guardrail Models
- DRIFT: Dynamic Rule-Based Defense with Injection Isolation for Securing LLM Agents
- ceLLMate: Sandboxing Browser AI Agents
- Untrusted Content Masking for Web Agents with Security Guarantees
- Context manipulation attacks : Web agents are susceptible to corrupted memory
- Web Agents Should Adopt the Plan-Then-Execute Paradigm
- Hijacking Robots with a Piece of Paper: A Systematic Study of Physical Prompt Injection in VLM-Controlled Robots
- Progent: Securing AI Agents with Privilege Control
- Prismata: Confining Cross-Site Prompt Injection in Web Agents
- The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructions
- GPT-4V(ision) is a Generalist Web Agent, if Grounded
Related papers
- SoK: AI-Augmented Binary Reversing
- Relaxed Sender Anonymity for CBDC Interbank Settlement: A Zero-Knowledge Approach on Permissioned EVM
- Calibration-Family Overfit: Why Trusted Sabotage Monitors Don't Transfer Across Lineages
- Efficient Fuzzy PSI under One-Sided Assumptions
- Sealing the Audit-Runtime Gap for LLM Skills
- Token Composition: A Graph Based on EVM Logs