mlsanityData to 14 Oct 2026

AgentHazard: A Benchmark for Evaluating Harmful Behavior in Computer-Use Agents

arXiv 2604.02947 ↗First posted 3 Apr 2026cs.AIcited by 18

On the map: LLM agents and tool use → Agent threats, guardrails and governance

Abstract (arXiv)

Computer-use agents extend language models from text generation to persistent action over tools, files, and execution environments. Unlike chat systems, they maintain state across interactions and translate intermediate outputs into concrete actions. This creates a distinct safety challenge in that harmful behavior may emerge through sequences of individually plausible steps, including intermediate actions that appear locally acceptable but collectively lead to unauthorized actions. We present AgentHazard, a benchmark for evaluating harmful behavior in computer-use agents. AgentHazard contains 2,653 instances spanning diverse risk categories and attack strategies. Each instance pairs a harmful objective with a sequence of operational steps that are locally legitimate but jointly induce unsafe behavior. The benchmark evaluates whether agents can recognize and interrupt harm arising from accumulated context, repeated tool use, intermediate actions, and dependencies across steps. We evaluate AgentHazard on Claude Code, OpenClaw, and IFlow using mostly open or openly deployable models from the Qwen3, Kimi, GLM, and DeepSeek families. Our experimental results indicate that current systems remain highly vulnerable. In particular, when powered by Qwen3-Coder, Claude Code exhibits an attack success rate of 73.63%, suggesting that model alignment alone does not reliably guarantee the safety of autonomous agents.

Key facts. Cited by 18 papers in the map (data through 14 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 25 of its 32 references that are in the map. First posted on arXiv 3 Apr 2026.

Builds on

25 of 32 references.

Closest ancestors · 4

Same direction, newest first

  1. 2025SEC-bench: Automated Benchmarking of LLM Agents on Real-World Software Security Tasks13 Jun
  2. 2024Agent-SafetyBench: Evaluating the Safety of LLM Agents19 Dec
  3. 2024RedCode: Risky Code Execution and Generation Benchmark for Code Agents12 Nov
  4. 2024Agent Security Bench (ASB): Formalizing and Benchmarking Attacks and Defenses in LLM-based Agents3 Oct

Other references · 21

  1. 2025Qwen3 Technical Reportcited by 8,820
  2. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
  3. 2023Qwen Technical Reportcited by 3,344
  4. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,737
  5. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 1,002
  6. 2026GLM-5: from Vibe Coding to Agentic Engineeringcited by 587
  7. 2025SWE-Bench Pro: Can AI Agents Solve Long-Horizon Software Engineering Tasks?cited by 279
  8. 2025Qwen3Guard Technical Reportcited by 155
  9. 2024SafetyPrompts: a Systematic Review of Open Datasets for Evaluating and Improving Large Language Model Safetycited by 77
  10. 2024SG-Bench: Evaluating LLM Safety Generalization Across Diverse Tasks and Prompt Typescited by 60
  11. 2024Understanding Jailbreak Success: A Study of Latent Space Dynamics in Large Language Modelscited by 37
  12. 2025Let It Flow: Agentic Crafting on Rock and Roll, Building the ROME Model within an Open Agentic Learning Ecosystemcited by 30
9 more
  1. 2026Don't Let the Claw Grip Your Hand: A Security Analysis and Defense Framework for OpenClawcited by 29
  2. 2025Anthropic Economic Index report: Uneven geographic and enterprise AI adoptioncited by 26
  3. 2025LLM-Safety Evaluations Lack Robustnesscited by 18
  4. 2025AudioJailbreak: Jailbreak Attacks against End-to-End Large Audio-Language Modelscited by 18
  5. 2025LoCoBench-Agent: An Interactive Benchmark for LLM Agents in Long-Context Software Engineeringcited by 16
  6. 2025On the Use of Agentic Coding Manifests: An Empirical Study of Claude Codecited by 14
  7. 2026Internal Safety Collapse in Frontier Large Language Modelscited by 12
  8. 2025Code Red! On the Harmfulness of Applying Off-the-shelf Large Language Models to Programming Taskscited by 6
  9. 2025SceneJailEval: A Scenario-Adaptive Multi-Dimensional Framework for Jailbreak Evaluationcited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 18.

18 papers.

Sort:

By area:

  1. 2026TRACES: Proactive Safety Auditing for Multi-Turn LLM Agents via Trajectory-State Modelingcited by 8
  2. 2026AgentDoG 1.5: A Lightweight and Scalable Alignment Framework for AI Agent Safety and Securitycited by 8
  3. 2026TRACE: Task-Aware Adaptive Self-Evolving Agentic Jailbreakingcited by 7
  4. 2026Safety Testing LLM Agents at Scale: From Risk Discovery to Evidence-Grounded Verificationcited by 7
  5. 2026Do Coding Agents Understand Least-Privilege Authorization?cited by 6
  6. 2026OpenSkillRisk: Benchmarking Agent Safety When Using Real-World Risky Third-Party Skillscited by 3
  7. 2026Practice Makes Unsafe: Skill Misevolution in Self-Improving LLM Agentscited by 3
  8. 2026Agent Hacks Agent: Autoresearch for Production-Agent Red-Teamingcited by 2
  9. 2026Constraining Host-Level Abuse in Self-Hosted Computer-Use Agents via TEE-Backed Isolationcited by 1
  10. 2026FraudBench: Stress-Testing Policy-Grounded Banking Agents Against Adaptive Fraudcited by 1
  11. 2026Terminal Agents: A Survey of AI Agents in Command-Line Environmentscited by 1
  12. 2026OpenART: Scaling Agent Red Teaming via Open-Ended Environment Evolutioncited by 0
6 more
  1. 2026SynChain: Inducing Computer-Use Agent Systems to Construct Their Own Attack Chainscited by 0
  2. 2026Beyond Handcrafted Security: Towards Self-Evolving Defense for LLM Agentscited by 0
  3. 2026RePolicy: Reinforcement Learning for Safety-Policy Invocation in Agent Safeguardscited by 0
  4. 2026HazardAuditor: From Executable Threats to Safer Computer-Use Agentscited by 0
  5. 2026SEAD: A State-Based Perspective on Attack and Defense in Tool-Using Agentscited by 0
  6. 2026EvoRiskBench: An Evolving Benchmark for Runtime Security Risks in Workspace Agentscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2026The Blind Spot of Agent Safety: How Benign User Instructions Expose Critical Vulnerabilities in Computer-Use Agents
  2. 2025OpenAgentSafety: A Comprehensive Framework for Evaluating Real-World AI Agent Safety
  3. 2026Towards a Unified Misuse Monitoring Benchmark
  4. 2026Agent Safety From Within: Detecting Harmful Trajectories from LLM Internal States
  5. 2024AgentHarm: A Benchmark for Measuring Harmfulness of LLM Agents
  6. 2026Boiling the Frog: A Multi-Turn Benchmark for Agentic Safety
  7. 2026OSGuard: A Benchmark for Safety in Computer-Use Agents
  8. 2026AgentBoundary: Counterfactual Evaluation of Safety in Tool-Using LLM Agents