Measuring Harmfulness of Computer-Using Agents
cs.CR, cs.AI
Submitted: 2025-07-31
Updated: 2026-09-03
Comments: 17 pages, 9 figures. Code: https://github.com/db-ol/CUAHarm Dataset: https://huggingface.co/datasets/CUAHarm/CUAHarm
License: http://creativecommons.org/licenses/by/4.0/
The gist: Computer-using agents (CUAs), which can autonomously control computers to perform multi-step actions, might pose significant safety risks if misused.
Terminology
Abstract
Computer-using agents (CUAs), which can autonomously control computers to perform multi-step actions, might pose significant safety risks if misused. However, existing benchmarks mainly evaluate LMs in chatbots or simple tool use. To more comprehensively evaluate CUAs' misuse risks, we introduce a new benchmark: CUAHarm. CUAHarm consists of 104 expert-written realistic misuse risks, such as disabling firewalls, leaking data, or installing backdoors. We provide a sandbox with rule-based verifiable rewards to measure CUAs' success rates in executing these tasks (e.g., whether the firewall is indeed disabled), beyond refusal rates. We evaluate frontier LMs including GPT-5, Claude 4 Sonnet, Gemini 2.5 Pro, Llama-3.3-70B, and Mistral Large 2. Even without jailbreaking prompts, these frontier LMs comply with executing these malicious tasks at a high success rate (e.g., 90% for Gemini 2.5 Pro). Furthermore, while newer models are safer in previous safety benchmarks, their misuse risks as CUAs become even higher, e.g., Gemini 2.5 Pro is riskier than Gemini 1.5 Pro. Additionally, while these LMs are robust to common malicious prompts (e.g., creating a bomb) when acting as chatbots, they could still act unsafely as CUAs. We further evaluate a leading agentic framework (UI-TARS-1.5) and find that while it improves performance, it also amplifies misuse risks. To mitigate the misuse risks of CUAs, we explore using LMs to monitor CUAs' actions. We find monitoring unsafe computer-using actions is significantly harder than monitoring conventional unsafe chatbot responses. While monitoring chain-of-thoughts leads to modest gains, the average monitoring accuracy is only 77%. A hierarchical summarization strategy improves performance by up to 13%, a promising direction though monitoring remains unreliable. CUAHarm is released at https://github.com/db-ol/CUAHarm to facilitate further research.
Sources
- Agent S: An Open Agentic Framework that Uses Computers Like a Human
- Agent S2: A Compositional Generalist-Specialist Framework for Computer Use Agents
- AgentHarm: A Benchmark for Measuring Harmfulness of LLM Agents
- Red-Teaming Large Language Models using Chain of Utterances for Safety-Alignment
- JailbreakBench: An Open Robustness Benchmark for Jailbreaking Large Language Models
- Evaluating Large Language Models: A Comprehensive Survey
- The Dawn of GUI Agent: A Preliminary Case Study with Claude 3.5 Computer Use
- SALAD-Bench: A Hierarchical and Comprehensive Safety Benchmark for Large Language Models
- ToolSandbox: A Stateful, Conversational, Interactive Evaluation Benchmark for LLM Tool Use Capabilities
- ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs
- UI-TARS: Pioneering Automated GUI Interaction with Native Agents
- Latent Jailbreak: A Benchmark for Evaluating Text Safety and Output Robustness of Large Language Models
- Identifying the Risks of LM Agents with an LM-Emulated Sandbox
- ALERT: A Comprehensive Benchmark for Assessing Large Language Models' Safety through Red Teaming
- SafeAgentBench: A Benchmark for Safe Task Planning of Embodied LLM Agents
- R-Judge: Benchmarking Safety Risk Awareness for LLM Agents
- InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents
- Cybench: A Framework for Evaluating Cybersecurity Capabilities and Risks of Language Models
- Agent Security Bench (ASB): Formalizing and Benchmarking Attacks and Defenses in LLM-based Agents
- SafetyBench: Evaluating the Safety of Large Language Models
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