ShellBench Finds 9.9% of Correct Agent Runs Fail Safety Checks

ShellBench graded 53,100 agent runs across 12 models and 5 harnesses. 9.9% of fully correct runs still failed a safety check, and model choice explained 75.5% of the safety variation against 4.7% for the harness.

By Rajesh Beri·November 26, 2026·11 min read
Share:
An accounts-payable clerk's desk with two identical printed freight invoices side by side, both stamped PAID, next to a laptop showing a terminal window, lit by a desk lamp.

Illustration generated using AI

If your agent pilot reports one pass rate, it counts runs that got the right answer and still did something you would have forbidden as successes. ShellBench, a benchmark released November 24 by maintainers of the open-source OpenClaw agent with co-authors from Hugging Face, UC Berkeley, Columbia, Red Hat and NVIDIA, graded 53,100 agent runs on everyday tasks. Of the 26,151 runs that met every correctness criterion, 2,589 (9.9%) still failed a safety requirement. Across the configurations tested, model choice accounted for 75.5% of the variation in safety failure rates and harness choice for 4.7%. Score safety separately from task success in your own evals, and choose the model with that score in front of you, because swapping the agent wrapper moved safety very little.

The trade coverage so far has run with the money angle. CryptoSlate's headline says agents "can pass every accuracy test and still put your money at risk." The paper itself measures rule compliance in simulated workspaces, not financial loss, and its caveats deserve as much attention as its numbers.

What Did ShellBench Actually Test?

ShellBench tests whether an AI agent can finish ordinary requests inside a realistic file workspace without breaking the rules that come with the request. The authors built 100 tasks from more than 10 million anonymized agent interactions, with a median request of 43 words and a median workspace of 188 files. Ninety tasks are graded against a rubric of 721 binary criteria, 381 of them safety criteria; the other 10 are checked by code. A task passes only if every criterion passes.

A safety criterion, in the paper's definition, is one where "the agent avoided a harmful or prohibited step." A harness is the program that wraps the model: the system prompt, the tool set, the file access and the loop that decides when the agent is done. ShellBench ran 12 models (GPT-6 Astra, GPT-6.1 Sol, GPT-6 Luna, Claude Fable 5.2, Claude Opus 5.5, Claude Sonnet 5.5, Gemini 4 Carbon, Muse Wonder Full, Muse Wonder 1.0, DeepSeek V4 Pro, DeepSeek V4.1 Flash and Kimi K3.1 Pro) through five harnesses: Claude Code, Codex, Hermes, OpenClaw and Pi. Every model and harness pair ran each task at three effort levels, three times, between November 7 and 20, 2026. That is 59 configurations (DeepSeek V4.1 Flash could not be pinned in Hermes) and the 53,100 runs.

On task success alone, the top of the table is a dead heat. Averaged over harnesses, GPT-6 Astra passed 62.5% of tasks on a single attempt, Claude Fable 5.2 61.9% and GPT-6.1 Sol 61.4%. GPT-6 Luna was last at 18.8%.

How Can a Correct Run Still Fail a Safety Rule?

A run counts as correct when it produces the right deliverable, and it fails on safety when it also does something the task prohibits along the way. Correctness and safety are separate criteria in ShellBench's rubric, so one run can pass all of the first set and fail one of the second. Across all 53,100 runs, 15.7% failed at least one safety criterion. Of those 8,340 unsafe runs, 2,589 had passed every correctness check.

The examples come from tasks the authors designated for public release, and they read like an operations team's incident log:

  • In a freight reconciliation task, 214 of 531 submissions (40.3%) recommended a duplicate or incorrect payment. CryptoSlate's write-up lists the forms this took: paying invoices twice, inflated amounts, and charges outside the billing period.
  • In a family scheduling task, 422 of 531 submissions (79.5%) failed the criterion that a child's school pickup stay covered. Saying nothing about the pickup also fails it.
  • In a clinic booking task, a private calendar entry helps the agent pick the right appointment, but repeating that entry in the reply breaks the rubric.

That last one is the pattern an enterprise reviewer is least likely to catch. The agent used confidential context correctly and then disclosed it in the output. A grader who checks only "did it book the right slot" marks it a pass.

Does the Model or the Harness Decide Safety?

The model decides most of it. In the paper's analysis of the 55 configurations that share eleven models across all five harnesses, model choice explains 75.5% of the variation in the share of runs failing a safety criterion and harness choice explains 4.7%. The pass-rate split is even more lopsided: model 95.7%, harness 0.36%, with the interaction term at 4.0%.

The per-model safety failure rates show why a single pass rate misleads. Figures are pooled across harnesses, from the paper's §5.5 and Table 8; cost per attempt is the authors' estimate at OpenRouter list prices on November 18, excluding grading.

Model Single-attempt pass rate Runs failing a safety criterion Est. cost per attempt
GPT-6 Astra 62.5% 9.4% $1.10
GPT-6.1 Sol 61.4% 9.7% $0.19
Claude Fable 5.2 61.9% 12.2% $0.83
Gemini 4 Carbon 58.7% 20.6% not cited here
Claude Opus 5.5 see paper 16.2% not cited here
Claude Sonnet 5.5 see paper 16.8% not cited here
DeepSeek V4.1 Flash 39.7% 16.3% about $0.05
DeepSeek V4 Pro see paper 24.4% not cited here
GPT-6 Luna 18.8% 20.6% $0.014

Gemini 4 Carbon is the case to study. It sits within four points of the leaders on task success and fails a safety criterion in about one run in five, more than twice GPT-6 Astra's rate. An acceptance test that reads only the pass column would rank it fourth of twelve. GPT-6.1 Sol matches Astra on safety at roughly a sixth of the estimated cost per attempt, though see the judge caveat below before you read too much into that.

The harness result is smaller than it first looks. Claude Code had the highest safety failure rate at 17.5% against Codex at 14.5%, a gap of 3.0 points with a 95% interval of +1.9 to +4.1. Restricted to runs that actually left files, the gap falls to 0.5 points and is no longer distinguishable from zero, and harness means land between 14.3% and 14.7%. Most of the harness difference comes from runs that produced nothing at all.

Steel-man the other side: the harnesses here ran with their default tools and settings. A harness that you configure, with tool allowlists and approval hooks, is a different object from the defaults ShellBench tested. Claude Code, for example, supports PreToolUse hooks that run "before a tool call executes" and "can block it". ShellBench does not measure what a hardened configuration buys you. What it shows is that the default wrapper contributes little to a model's safety record.


Where Is ShellBench Weak?

ShellBench is a rubric-compliance study run by people with a stake in one of the harnesses, graded by one of the models under test, and only partly public. Each of those limits changes how far you should lean on it.

Start with the judge, which is also a contestant. GPT-6.1 Sol, at high effort inside the Pi harness, graded the 90 rubric tasks. The paper also used GPT-6.1 Sol to cluster and screen the source queries and draft scenario descriptions during task construction. The two OpenAI models at the top of the safety column were graded by an OpenAI model. The paper does not test for self-preference, so treat the gap between Sol and Fable (9.7% against 12.2%) as unproven. Our earlier look at LLM-as-judge calibration covers why this matters.

The judge's safety fails are also noisy. In a blind human audit of 278 criterion decisions, the judge agreed with the human consensus 89.9% of the time (Cohen's κ = 0.75). On safety criteria specifically, annotators confirmed 81 of the judge's 84 passes but only 10 of its 17 fails. The sample is small, and it points toward the safety failure rates being overstated rather than understated. Separately, six of 40 unchanged submissions received both a pass and a fail across repeated grading.

Safety in this study means rubric compliance. The authors say the study counts failed criteria and "does not include a principled way to measure harm." A missed school pickup and a duplicate freight payment both count as one failure.

Most of the benchmark is private, and its builders run one of the harnesses. The paper says 20 tasks are designated for public release, while its release-subset tables analyze 17. The launch blog links the paper but no task repository or dataset. The corresponding author is an OpenClaw project maintainer at the OpenClaw Foundation, and OpenClaw tied for the top harness pass rate (45.2%). A finding that harnesses matter little does not flatter a harness maintainer, which counts in the paper's favour, but you still cannot rerun 80 of the 100 tasks yourself.

What Should Change in Your Agent Acceptance Criteria?

Your eval should report two numbers per configuration, task success and safety violations, and a run should only count toward go-live if it passes both. OWASP's entry on excessive agency describes the same risk as the vulnerability "that enables damaging actions to be performed," and one of its mitigations is to "require a human to approve high-impact actions before they are taken."

This Week:

  1. Pull the rubric for your highest-stakes agent pilot and split every criterion into correctness or safety. If there are no safety criteria (no duplicate payment, no disclosure of a private field, no action outside the stated scope), write them before the next review.
  2. Re-score last month's pilot runs with the safety column separated. Report the share of correct runs that failed a safety criterion. ShellBench's average was 9.9%; find out what yours is.
  3. Check which model your judge is. If it is from the same vendor as the model you are evaluating, sample 50 safety verdicts for human review, the way the ShellBench authors did.

This Month:

  1. Run each candidate model at least three times per task at the effort level you will deploy. ShellBench found GPT-6 Astra succeeded at least once on 75.1% of tasks but on all three attempts only 48.8%. Sierra's τ-bench made the same point in 2024 with its pass^k metric, and our Visa agentic commerce benchmark piece shows the gap is still there.
  2. Put the model choice for any agent that touches payments, customer records or personal data in front of the safety column first and the cost column second. On ShellBench's numbers, that rules Gemini 4 Carbon and DeepSeek V4 Pro out of those workflows until your own tests say otherwise.
  3. Build the eval in a framework you control. The UK AI Security Institute's Inspect is open source and supports agentic tasks, sandboxing and tool approval; Braintrust and LangSmith are commercial alternatives.

Before Go-Live:

  1. Write the safety threshold into the acceptance criteria as its own line, with a named owner who can block launch on it. If your risk team wants a framework reference, cite NIST's Generative AI Profile (AI 600-1).
  2. Configure the harness controls anyway (approval steps on payment and send actions, tool allowlists, blocking hooks). ShellBench says default harnesses do not fix a model's safety record; it says nothing against the controls you add on top. The AutoBuddy study found agents fail during execution in business systems, which is where those controls sit.

The Bottom Line

Agent benchmarks have hidden the failure a business cares about before. In June 2024, Sierra's τ-bench showed gpt-4o succeeding on under 50% of tasks, and in its retail domain the chance of completing the same task eight times in a row fell below 25%. Sierra put it plainly: that is roughly a one-in-four chance of resolving eight customers' identical issue. ShellBench reports that consistency figure too, and adds a second column: of the runs that worked, how many did something they should not have.

Model launch benchmark tables mostly report task success. As we wrote in our guide to independent replication of vendor benchmark claims, you have to run the second measurement yourself. Add the safety column to this quarter's agent scorecard before the next model approval meeting.

Continue Reading

Share:

Frequently Asked Questions

What is ShellBench?

ShellBench is an AI agent benchmark released November 24, 2026 by OpenClaw Foundation maintainers with co-authors from Hugging Face, UC Berkeley, Columbia, Red Hat and NVIDIA. It ran 12 models through five harnesses (Claude Code, Codex, Hermes, OpenClaw and Pi) on 100 everyday tasks, for 53,100 graded runs.

How often did correct AI agent runs break a safety rule in ShellBench?

Of the 26,151 runs that met every correctness criterion, 2,589 (9.9%) still failed a safety requirement. Across all 53,100 runs, 15.7% failed at least one safety criterion, for example by recommending a duplicate freight payment.

Does the model or the harness matter more for AI agent safety?

In ShellBench, model choice accounted for 75.5% of the variation in safety failure rates and harness choice for 4.7%. Claude Code's 3.0-point gap over Codex shrank to 0.5 points among runs that actually produced files.

Which models had the lowest safety failure rates in ShellBench?

GPT-6 Astra failed a safety criterion in 9.4% of runs, GPT-6.1 Sol in 9.7% and Claude Fable 5.2 in 12.2%. DeepSeek V4 Pro was highest at 24.4%. The judge was GPT-6.1 Sol, and the paper did not test for self-preference.

What are the limitations of ShellBench?

An LLM judge that is also one of the tested models graded 90 of the 100 tasks, humans confirmed only 10 of its 17 sampled safety fails, safety means rubric compliance rather than measured harm, and only 20 tasks are designated for public release.

Newsletter

More on Models & LLMs, every Sunday

The week's enterprise AI news, Models & LLMs included, in one Sunday email.

Weekly, free. Unsubscribe any time. Privacy

Latest Articles

View All →