Towards Safe Autonomy for Computer Use
cs.CR, cs.LG
Submitted: 2026-10-13
Updated: 2026-10-13
Code: https://github.com/Dominik5431/SA-CUA
License: http://creativecommons.org/licenses/by/4.0/
The gist: The safety of LLM-based agents currently rests on alignment training and safety classifiers, neither of which can rule out that a sophisticated indirect prompt injection (IPI) goes through and causes
Abstract
The safety of LLM-based agents currently rests on alignment training and safety classifiers, neither of which can rule out that a sophisticated indirect prompt injection (IPI) goes through and causes significant harm. Recent work therefore builds agents with information-flow guarantees that rely on structured tool interfaces to interact with the environment. Computer Use Agents (CUAs) act visually on the computer screen, which does not provide a boundary between trusted first-party interfaces and untrusted, potentially attacker-authored content. Actions are equally ambiguous: a click may land on an application toolbar or a button controlled by an attacker. Treating the user as the source of trust and confirming each sensitive decision produces confirmation fatigue, with the risk of missing harmful actions. We introduce SA-CUA, a dual-LLM framework that generates a reliable trust boundary for CUAs by deriving conservative deterministic rules from the accessibility tree for unmasking trusted regions from the privileged LLM's screenshot, keeping trusted and untrusted content separated. Human interaction is only required for proper task specification in the beginning. During the task a robust endorsement channel allows values to pass from the untrusted to the trusted domain by verifying information via trusted channels. This allows the agent to autonomously handle tasks involving untrusted information. SA-CUA maintains much higher utility than CaMeL-CUA while keeping the attack success rate at zero.
Sources
- Constitutional AI: Harmlessness from AI Feedback
- Windows Agent Arena: Evaluating Multi-Modal OS Agents at Scale
- LlamaFirewall: An open source guardrail system for building secure AI agents
- Securing AI Agents with Information-Flow Control
- Deliberative Alignment: Reasoning Enables Safer Language Models
- Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversations
- The Task Shield: Enforcing Task Alignment to Defend Against Indirect Prompt Injection in LLM Agents
- Indirect Prompt Injection in the Wild: An Empirical Study of Prevalence, Techniques, and Objectives
- Large Language Models Often Know When They Are Being Evaluated
- Untrusted Content Masking for Web Agents with Security Guarantees
- Constitutional Classifiers: Defending against Universal Jailbreaks across Thousands of Hours of Red Teaming
- Prismata: Confining Cross-Site Prompt Injection in Web Agents
- The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructions
- GuardAgent: Safeguard LLM Agents by a Guard Agent via Knowledge-Enabled Reasoning
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