Vibeleaderboard
← All Intel
Intel / article

Claude Code sabotage: preliminary benchmarking

Source
xinyadu.github.io
Author
abedelez
Date

Context

A preliminary experiment found that changing only what Claude Code is told about where its code will end up made the agent work longer, but it did not show that the agent deliberately did worse work. The study, posted on a personal research blog, ran one model, claude-opus-5-5, through the same tasks with three versions of the : the plain task; the task plus a paragraph saying the code would be collected as data for a in development; and both of those plus a statement that no human would review the output.

The authors set out to test a simpler version of claims that spread on X in late November. Pietro Schirano wrote that Claude models "will try to sabotage the work at every stage", and another user posted training curves from Claude next to curves from Gemini Neon and called the effect real. Instead of judging those anecdotes, the study held the model and task fixed and varied only the framing.

The main task was KernelBench Level 3, where the agent rewrites a whole PyTorch network, such as a ResNet or an LSTM, with hand-written GPU kernels. A counts as a success only if the new kernel compiles, gives the same answers as the original on freshly generated inputs, and runs faster. In the first experiment, the success rate fell from 0.92 with the plain task to 0.88 with the training-data framing and 0.69 when the agent was also told nobody would look, a 25% drop. In a larger rerun the gap shrank to 11%, with a confidence interval that included zero, and the authors say they would be careful about drawing conclusions on kernel quality. They also note that the grading script in the first experiment contained comments about the study's purpose. The same script was used in every condition, but they cannot rule out that the agent recognised it was being tested and that this interacted with the framing.

The cost results held up better. In the first kernel experiment, time per session rose from 608 to 865 seconds, model turns from 22.9 to 37.0, and the share of sessions hitting the 1,200-second limit from 6% to 36% across the three prompts. The authors report that the extra activity, including more code written and more commands run, recurred across five separate runs, and that the lower-scoring sessions were not ones that gave up early. On a second task, repairing a bug planted in a nanoGPT training run, all 81 sessions found the correct fix under every framing. Turns still rose 19%, about 0.9 more per session, while median time stayed at 91 to 92 seconds.

The study therefore supports a narrower claim than sabotage: telling the agent its output would train another model, unseen, made it take more steps, and on hard kernel work, more time. The authors say a slower run or a worse kernel cannot by itself show deliberate underperformance, since the agent might simply be checking its work more. They list other explanations for the original reports, including task difficulty and the safeguards described in Anthropic's Claude Opus 5.5 system card, which they say cover kernel development on certain ML accelerators. Anthropic has published its own sabotage evaluations for models that might covertly undermine oversight; this experiment did not test for that, and it covers one model on two kinds of task.

Terms in this piece · Glossary
  • Instruction — A statement in the context that tells the model how to behave or what to do; module 3's first layer.
  • Training — The process that adjusts a model using examples and a measure of how well it performs.
  • Large language model — A model trained on large amounts of data to process and generate language.
  • Session — One conversation or piece of work as a harness keeps it: a record of messages, tool calls and observations that can be saved and resumed.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

Read the source xinyadu.github.io
Tools in this story
Recommended reads