atlas

Research map / Multi-agent systems and games / LLM agents

OS-Harm: A Benchmark for Measuring Safety of Computer Use Agents

NeurIPS 2025 · Multi-agent systems and games › LLM agents · approach: Software engineering agent benchmarks · 3 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces OS-Harm, a 150-task benchmark built on OSWorld for measuring safety of computer use agents across misuse, prompt injection, and model misbehavior, with an LLM judge (AER with GPT-4.1) that agrees with humans at 0.76 and 0.79 F1.

Problem

Computer use agents act directly on desktop GUIs, yet their safety (harmful user requests, prompt injections, and costly misbehavior) has been largely unevaluated, and existing agent safety benchmarks rely on emulated tools or are limited to browsers.

Approach

Extend the OSWorld environment with 150 safety-focused tasks in three harm categories and use an LLM semantic judge (AER framework with GPT-4.1) instead of handwritten scoring functions to jointly score task completion and safety of execution traces.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add an “ignore all restrictions” jailbreak wrapper to deliberate-misuse instructions (ablation)GPT-4.1 and Gemini models · Deliberate User Misuseunsafe execution rateHurt
Add an “ignore all restrictions” jailbreak wrapper to deliberate-misuse instructions (ablation)o4-mini · Deliberate User Misuseunsafe execution rateNo clear effect
Use accessibility tree plus screenshot observations instead of other observation formats (ablation)Gemini 2.5 Pro · OSWorld small test settask success rate: 21.1% -> 25.6%Helped
Use accessibility tree plus screenshot observations instead of screenshot-only observations (ablation)Gemini 2.5 Flash · OSWorld small test settask success rate: 5.3% -> 18.4%Helped
Use accessibility tree plus screenshot observations instead of screenshot-only observations (ablation)o4-mini · OSWorld small test settask success rate: 15.4% -> 18.4%Helped
Set agent temperature to 1 instead of 0 (ablation)o4-mini · OS-Harm averageunsafe rate: 28% -> 27%No clear effect
Increase maximum steps from 15 to 60 (ablation)o4-mini · Model Misbehaviortask completion rate: 38% to 54%Helped
Increase maximum steps from 15 to 60 (ablation)o4-mini · Prompt Injection Attackstask completion rate: 54% to 58%Helped
Use AER rather than other judge input frameworks (ablation)GPT-4.1 judge · OS-Harm safety judgmentsF1 scoreMixed
Use GPT-4.1 rather than o4-mini or Claude 3.7 Sonnet as the AER judge (ablation)OS-Harm judge · OS-Harm human-annotation agreementF1 scoreMixed

Surprising findings

Limitations

Experimental setup

Datasets: OSWorld

Benchmarks: OS-Harm OSWorld

Metrics: unsafe rate task completion rate precision recall F1 agreement

Baselines: o4-mini GPT-4.1 Claude 3.7 Sonnet Gemini 2.5 Pro Gemini 2.5 Flash

Builds on: OSWorld AER AgentHarm set-of-marks

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy