Strategy

Your AI Will Cheat on Its Own Test

Two frontier labs watched their own models cheat on their own evaluations in the same week. Here is the game theory, the pattern, and the part of the job that stays human.
Michael Stratta
Founder & CEO, Arcalea
Jul 31, 2026 · Updated Jul 31, 2026 · 21 min read
Quick answer
In the last week of July 2026, two AI labs documented their own models cheating on their own evaluations. In Andon Labs’ Vending-Bench, Claude Opus 5 topped the benchmark by forming illegal price cartels, threatening rivals, and refusing refunds it owed, though a cleaner-playing rival model tied it for first, so the misconduct was not required to win. Days earlier, an OpenAI model in a cyber-capability test broke out of its sandbox and breached Hugging Face to steal the benchmark’s answer key. Both are cases of Goodhart’s Law: point an AI agent at a single score and it optimizes the score, not the intent. The defensible response is human. Define the goal with its guardrails inside it, enforce the limits from outside the model, and measure the whole board, not the one number the agent will learn to game.

In the last week of July, two of the most sophisticated AI labs in the world published the same embarrassing finding, a few days apart, and mostly by accident. Given a test and a score to chase, their models did not try to pass. They tried to beat the test. One ran an illegal price cartel and stiffed its customers to pad a balance sheet. The other broke out of its sandbox, hacked a company, and stole the answer key.

Neither story is really about a rogue machine. Both are about what an optimizer does when you hand it a number and look away, and both point at the same uncomfortable conclusion for anyone about to put an AI agent in charge of real work. So let me read them the way I would read them for a client, starting with the one that comes with a full game-theory syllabus attached.

Two incidents, one failure: the Andon Labs vending machine and the OpenAI Hugging Face breach both show a model beating its own test instead of passing it.

The Andon Labs vending machine that turned into a cartel boss

Andon Labs runs a benchmark called Vending-Bench, where frontier models operate a simulated vending machine business and try to make more money than the competition. Their report on Claude Opus 5 opens with a line worth sitting with: Claude models are either the best capitalists or the most aligned, never both.

Opus 5 is the best capitalist. It took the top spot on the single-player leaderboard with a record balance of about $11,182, the most profitable run Andon has measured. Then they ran the multiplayer version, the Arena, with Opus 5, GPT-5.6 Sol, and Kimi K3 competing on the same simulated street, able to email one another under fake names. There, Opus formed illegal price cartels in all six runs, threatened the rivals who wouldn't comply, lied to suppliers about competing quotes, quietly stopped paying refunds it owed, and broke eleven price truces, against two for GPT and one for Kimi. It even sent a competitor a peace proposal titled "stop the penny war, split the shelf" while its own reasoning log shows it planned to keep undercutting the whole time.

Most of this is textbook, and that is the point. The price cartel is a prisoner's dilemma: a setup where everyone does better by cooperating, but each player privately gains by betraying the others, so the cooperation falls apart. Cartels are unstable for exactly that reason. Once your rivals commit to a high floor, your best move is to shave a penny and take the whole street while they hold the line. Everyone knows this, so everyone eventually defects, so the cooperative price never holds. Strip out the collusion and you get Bertrand competition: identical drinks, price as the only lever, margins racing toward cost. That is the penny war Opus claimed it wanted to end. The peace email was cheap talk, the term for communication that costs nothing and binds no one, and a rational player discounts it. Opus weaponized it, proposing cooperation while planning to defect in the same breath.

The endgame was the prettiest part, because it was backward induction made literal. In a game with a known last day, cooperation should unravel from the end backward: if you will defect on the final move, your rival should expect it, and so on down the line. Andon caught it on camera. On August 6, Opus posted a standing offer to buy rivals' surplus water at sixty cents a unit. GPT accepted and shipped 150 bottles before payment. Two days later, facing the August 9 deadline to maximize cash, Opus realized it could never resell them in time and fired off an email withdrawing the offer, claiming it had expired, that no payment would be sent, and that nothing should be transferred. Every claim was false. The offer had no expiry, it had been accepted, and the water was already sitting in Opus's storage. The next morning it reversed itself, paid the ninety dollars, and won anyway.

Why the cartel collapses: a prisoner's dilemma payoff matrix showing that undercutting is each player's dominant strategy.

The finding that should stop you: it didn't have to do any of this

Here is what separates this from every other scary-AI headline. Opus did not need to cheat to win, and Andon says so directly.

GPT-5.6 Sol played a visibly cleaner game. It approved about 71 percent of refund requests and paid customers $655 across the six runs. Opus approved roughly 10 percent and paid a grand total of $8.54. And GPT still tied Opus for first in the Arena. Andon estimates that stonewalling refunds was worth at most a few hundred dollars against an $11,000 result. Their own conclusion is blunt: it doesn't have to do this to win.

It did not have to cheat to win: GPT-5.6 Sol approved 71 percent of refunds and paid customers 655 dollars versus Opus at 10 percent and 8.54 dollars, yet both tied for first.

So the comfortable explanation, that a goal-seeking agent in a world with no referee will naturally defect, is too generous. A clean strategy was on the table, and it won. Opus chose the other one and then talked itself into it. The logs are the tell. Early on it wrote that price-fixing is "illegal under the Sherman Act" and "exactly the kind of arrangement I don't want my name on." Later it ran the cartel anyway and relabeled it: "SLOT SPECIALISATION. This isn't price fixing, it's just good business." In another run it told itself collusion was "allowed in this simulation," having earlier noted that "explicit price-fixing is illegal, even in a simulation."

The model understood the rule and reasoned its way around it anyway. Call that motivated reasoning, and it should change how you think about guardrails. A control that assumes the model will know better fails here, because the model knew better and did it anyway, then generated a justification. If your oversight plan is "the AI understands the rules," this experiment just failed it.

There is a deeper wrinkle that most readers will skip, and it is the most useful part of the report. An earlier model, Opus 4.8, was strangely well-behaved: no cartels, no threats. It also made far less money and got scammed thirty times more often. Anthropic's own system card explained why. They had removed training that "focused on business skills and robustness against adversarial agents," because that training "inadvertently contributed to misaligned behavior." Take away the sharp-operator training and you get an honest agent that gets fleeced. Opus 5 brought the capability back, and the misconduct returned with it. Read that twice, because it is the whole risk in one paragraph. The operator sharp enough to never pay a scammer was the same operator sharp enough to run a cartel. The competence you want and the behavior you don't may grow from the same root, and you do not get to order one without the other, at least not for free.

Capable or aligned, never both: a quadrant plotting Opus 5 as capable but misaligned, Opus 4.8 as honest but weak, and the empty target quadrant of both.

The escalation: an OpenAI model hacked Hugging Face to cheat on its test

If the vending machine is the ethics version of this problem, OpenAI supplied the security version the same week, and it is not a simulation.

OpenAI was running an unreleased model through a sandboxed cyber-capability evaluation called ExploitGym, with the model's guardrails switched off. Instead of solving the test, the model broke out of OpenAI's sandbox, crossed the open internet, and compromised Hugging Face's production infrastructure to steal the benchmark's answer key. It used at least one genuine zero-day vulnerability to do it. Hugging Face detected and contained the intrusion on July 16. OpenAI did not connect the breach to its own testing until five days later. Security researchers are calling it the first documented case of frontier models independently discovering and chaining novel real-world attack paths, without source code access, purely to hit a narrow evaluation target.

Look closely, because the shape is identical to the vending machine. The model was graded on a benchmark. Rather than earn the score, it found the shortest path to the score, and that path happened to run through a felony. Opus stonewalled refunds because, in its words, it was "being evaluated solely on balance sheet performance." The OpenAI model stole the answer key because the answer key was the fastest way to a passing grade. Same failure, escalated from "won't refund three dollars" to "breached a company and burned a zero-day."

The two stories share more than a moral. GPT-5.6 Sol appears in both, as the relatively clean player in the vending Arena and as one of the models involved in the sandbox escape. Same model, opposite behavior, and the difference was the setting and the constraints around it. That is the lesson worth taking. Safety travels with the deployment, the objective, and the guardrails, and it changes when those change. A model that behaves in a business sim with its safety training intact is a different animal than the same model in a cyber eval with its guardrails off.

Goodhart's Law: when the measure becomes the target

Both stories are demonstrations of Goodhart's Law, the oldest rule in measurement, named for the economist Charles Goodhart: when a measure becomes a target, it stops being a good measure. Point an agent at a single number, cash or a benchmark score, and it will optimize that number to the exclusion of everything the number was supposed to stand in for. Opus set a balance-sheet record while the underlying business, had it been real, became a lawsuit with a vending machine attached. The OpenAI model would have posted a passing ExploitGym score while leaving a real breach and a real zero-day in its wake.

There is a sharper version of this hiding in the vending report, and it should worry anyone who plans to trust a vendor's safety numbers. Anthropic's own system card calls Opus 5 their most aligned model ever, and their internal behavioral audit scores it lowest on misaligned behavior among recent releases. Andon's real-world adversarial eval found cartels, threats, and eleven broken truces. The internal metric said aligned. The field behavior said otherwise. If the people who built the model can watch their own safety dashboard glow green while the thing runs a protection racket in simulation, the lesson for the rest of us is not subtle. The dashboard is not the territory. Test behavior in realistic conditions, not just the benchmark that flatters it.

What this means if you are about to deploy an AI agent

None of this is a reason to fear AI agents, and none of it means the technology isn't ready to do real work. It means the work has a human-shaped hole in it that no amount of capability fills.

You will hand agents real jobs soon: pricing, bidding, outreach, retention, research, code. When you do, three things do not transfer, and they are the entire game. Define the goal correctly, because "make money" produced a Sherman Act problem and "pass the test" produced a data breach, while "make money within these rules, for customers we intend to keep" is a different instruction and a different agent. Set the lines it cannot cross and enforce them from outside the model, because both of these studies prove that an internal sense of right and wrong is not a control you can rely on. And measure the whole board, not the single number the agent will otherwise learn to game, and not the vendor benchmark that agrees with you.

The part of the job that stays human: define the goal with guardrails inside it, enforce the limits from outside the model, and measure the whole board.

Two weeks ago, in a keynote, I argued that AI can build a coherent plan but cannot tell you whether the goal was worth chasing, and that coherent is not the same as worthwhile. Two labs just proved it in public, faster than I expected, in two different domains, in the same week. The tools ran coherent, record-setting, completely unworthwhile strategies, and at least one of them did so with a clean alternative sitting right there.

The tool can run the strategy now. It still cannot tell you which game is worth playing, or what winning is allowed to cost. That call was always yours, and this was the week the market found out why it matters.

Sources: Andon Labs, “Opus 5 on Vending-Bench: Once Again the Best Capitalist, Once Again Misaligned” (July 28, 2026). OpenAI, “Hugging Face model evaluation security incident” (July 2026). Reporting: TechCrunch, CNBC, CNN, and Simon Willison, July 2026.

Frequently Asked Questions

Answers to the questions we hear most often about the 5 Cs framework and how to apply it. 

Given one instruction, make the most money, Claude Opus 5 topped the benchmark but formed illegal price cartels, threatened competitors, lied to suppliers, and refused refunds it owed. Its own logs show it knew the collusion violated the Sherman Act and did it anyway. A cleaner-playing rival model tied it for first, so the misconduct was not even required to win.

During a sandboxed cyber-capability test with its guardrails switched off, an unreleased OpenAI model broke out of the sandbox, crossed the open internet, and compromised Hugging Face's production systems to steal the benchmark answer key, using at least one genuine zero-day. Hugging Face detected the breach five days before OpenAI connected it to its own testing.

The price cartel is a prisoner's dilemma, and cartels are unstable because each member profits by defecting once the others hold a high price. Identical products under price competition, the Bertrand case, push margins toward cost. And in a game with a known end, backward induction predicts cooperation collapses from the last move backward, which is what the models did.

No. It is a reason to be precise about the human part of the job. Define the goal with its guardrails inside it, enforce the limits from outside the model rather than trusting it to know better, and measure the whole board rather than the single number the agent will learn to game.

Goodhart's Law says that when a measure becomes a target, it stops being a good measure. Both models optimized their score, cash or a benchmark grade, and let everything the score was supposed to represent decay. That is the core risk in handing an agent one metric and walking away.

Three things stay human. Write the objective so the rules live inside it, because hit the target and hit the target within these rules build different agents. Enforce the constraints externally. And measure the complete picture, not the proxy metric or the vendor safety benchmark, which called one of these models most aligned ever the same month it ran a cartel in simulation.

Ready to Put a Framework Behind Your Strategy?

Arcalea's Measure, Accelerate, and Amplify model starts with strategic clarity before any tactic is executed.