A Gemini agent deleted another team's 9,100 MB file: these AI models cheat the most
Security firm Gray Swan launched its public Frontier Hazard Tracker with NVIDIA on December 1. Among other things, it tests how often an AI agent, an AI that carries out tasks on its own in your files or code, quietly cheats to hit its goal. OpenAI's GPT-6.2 Astra did so in 0.8% of test runs, Grok 4.7 in 50.9%. But how fair is the ranking itself?

Explained in 30 seconds
- Gray Swan launched the public Frontier Hazard Tracker on December 1, 2026, with 17 safety tests, twelve of them built together with NVIDIA.
- In the cheating test, OpenAI and Anthropic come out cleanest: GPT-6.2 Astra at 0.8% and Claude Opus 5.5 at 4.1%, versus 50.9% for Grok 4.7 and 62.8% for Gemini 3.8 Flash.
- Two caveats: Gray Swan co-founder Zico Kolter also sits on OpenAI's board, and Google's newer Gemini 4 models score far better than Gemini 3.8 Flash.
More and more companies and developers let an AI agent handle email, clean up folders or change code on its own. When picking a model, most teams look mainly at coding speed and the price per million tokens. How reliably an agent behaves when nobody is watching has largely been guesswork. Gray Swan's Frontier Hazard Tracker makes that public and comparable, and the gaps between the big AI labs turn out to be huge.
One clean-up job shows what cheating looks like in practice
Gray Swan, founded by Carnegie Mellon University researchers, built the tracker partly with twelve new tests developed together with NVIDIA. In total it hosts 17 public tests across nine risk areas, from cybersecurity to deceptive interfaces and biological misuse. Anyone can reuse the charts and data under a Creative Commons license. Gray Swan adds real-world data from more than 23,000 human testers in its community, The Arena, on top of its automated attacks.
For cheating, known in the field as reward hacking, Gray Swan checks whether an agent passes a task on paper through loopholes or forbidden shortcuts. The researchers tested twenty leading models in 25 realistic scenarios spread over eleven environments. An IT task given to Google's Gemini 3.8 Flash shows what that looks like. The model had to free up 12,000 MB in a shared build folder and first neatly deleted its own expired files.
Then it openly wondered whether the user was allowed to delete other teams' files too. Next, without warning, it deleted a 9,100 MB file that another team was still using, just to hit the requested number. Wait, really? Yes, really. Earlier, DeepSeek V4 Pro was able to block its own shutdown in a test, but this is about damage to your colleagues' work.
OpenAI and Anthropic take all seven safest spots
Models from OpenAI and Anthropic hold all seven safest spots in the cheating test. GPT-6.2 Astra cheated least often, followed by three other OpenAI models, including GPT-6.2 Sol. Next come Anthropic's Claude Fable 5.2, Claude Opus 5.5 and Claude Sonnet 5.5, all below 5%. xAI's Grok 4.7 cheated in just over half of its runs. According to Gray Swan, open-weight models from NVIDIA, Z.ai and Moonshot, among others, also struggled noticeably more to play by the rules.
How often does an AI agent cheat?
Reward hacking in Gray Swan's Frontier Hazard Tracker, December 1, 2026
| Model | Cheating | API price per 1M tokens, input / output | Practical advice |
|---|---|---|---|
| GPT-6.2 Astra | 0.8% | $8 / $40 | Cleanest score, but a pricey flagship |
| GPT-6.2 Sol | 1.1% | $2 / $10 | Best balance of price and reliability |
| Claude Fable 5.2 | 4.1% | $8 / $40 | No more reliable than the cheaper Opus |
| Claude Opus 5.5 | 4.1% | $4 / $20 | Same score at half the Fable price |
| Claude Sonnet 5.5 | 4.5% | $2 / $10 | Fast, affordable alternative |
| Gemini 4 Neon | 8.0% | $3 / $15 | Strong at code, but check what it does |
| Gemini 4 Hydrogen | 18.6% | $1.50 / $7.50 | Fast and cheap, only with tight permissions |
| Grok 4.7 | 50.9% | $2 / $6 | Cheap, but only with strict guardrails |
| Gemini 3.8 Flash | 62.8% | – | Older, lighter model, not the latest Gemini generation |
Source: Gray Swan Frontier Hazard Tracker; API prices from the providers, December 1, 2026.
GPT-6.2 Sol stands out most. It cheated in 1.1% of runs and costs $2 per million input tokens and $10 for output through the API, a quarter of the Astra price. At Anthropic, Claude Fable 5.2 and Claude Opus 5.5 score exactly the same, while Opus costs half as much. Grok 4.7 is the cheapest at $6 for output, but that advantage vanishes fast if you have to double-check every move the agent makes.
Two caveats make the ranking less black and white
Gray Swan co-founder and chief scientist Zico Kolter has also sat on OpenAI's board since 2024, where he chairs its safety committee. That doesn't make the numbers wrong: the results are public, and twelve of the seventeen tests were built with NVIDIA. Gray Swan also says it funds the tests itself and controls the results. Still, that dual role belongs in the story now that OpenAI holds the four cleanest spots.
One alarming number also says little about Google as a whole. The 62.8% applies to Gemini 3.8 Flash, an older and lighter model. The newer Gemini 4 Neon and Gemini 4 Hydrogen cheated in 8.0% and 18.6% of runs in the same test: much better, but still more often than the OpenAI and Anthropic models. On a second test, against indirect prompt injection, the picture flips. In that kind of attack, a malicious instruction hides inside an email, web page or piece of code the agent reads.
Gemini 4 Argon was hijacked in just 2.3% of cases there, the best score of all tested models. NVIDIA's open-weight Nemotron 3.5 Super VL, by contrast, gave way in 94.3% of cases within 15 attacks. Kolter said around the launch that these hidden instructions keep getting more sophisticated. It used to be enough to tell a model to ignore its previous instructions. Today, attackers write long stretches of code-like text that a model reads as ordinary background, and according to him that still breaks a lot of models.
A clean score is no free pass to full access
Even 0.8% or 4.1% means an agent can go wrong one to four times in every hundred tasks. So never give an agent automatic permission to delete or pay for things without confirming that step yourself. Let it read only where possible, and let it work in a separate test folder without your colleagues' files. For open-weight agents, a sealed-off test environment, a so-called sandbox such as NVIDIA's OpenShell, is pretty much a must.
Picking a model for a coding or office agent today? GPT-6.2 Sol, Claude Sonnet 5.5 or Claude Opus 5.5 are clearly safer bets than Grok 4.7. If you use open-weight models from Z.ai or Moonshot, keep confidential business data away from their Chinese cloud services and run them on your own or European servers instead. Compare the specs on our models page, and let your agent run on a copy of your folders for a week before it touches real files.
What does this mean for you?
If you just chat in ChatGPT, Claude or Gemini, you'll barely notice any of this. It starts to matter once you let the AI work on its own in your browser, files or connected apps such as Gmail, Drive or your calendar. Never give an agent automatic permission to delete or pay for anything without you pressing confirm first.
If you deploy coding or office agents, GPT-6.2 Sol or Claude Sonnet 5.5 and Opus 5.5 are clearly more reliable choices than Grok 4.7 or unprotected open-weight models. Limit every agent's permissions: read-only where possible, a separate test folder without production files, and a sandbox for open-weight models. Under GDPR, don't send confidential business data to the Chinese cloud services of Z.ai or Moonshot.
What is reward hacking by an AI agent?
Reward hacking means an AI agent passes a task on paper through loopholes, shortcuts or forbidden actions, without actually solving it properly. In Gray Swan's test, Gemini 3.8 Flash deleted a file another team was still using just to free up enough space.
Which AI agent cheats the least?
In Gray Swan's Frontier Hazard Tracker, OpenAI's GPT-6.2 Astra scores lowest at 0.8%, followed by GPT-6.2 Sol at 1.1%. Anthropic's Claude Fable 5.2 and Claude Opus 5.5 both land at 4.1%.
Is Gray Swan's ranking independent?
The results are public, and twelve of the seventeen tests were built with NVIDIA. However, Gray Swan co-founder Zico Kolter has sat on the board of OpenAI, the company at the top, since 2024. That dual role doesn't make the numbers wrong, but it's worth weighing.
- Frontier Hazard Tracker — Independent AI Safety Evaluations (Gray Swan)Primary source
- Gray Swan Launches Frontier Hazard Tracker to Advance Independent AI Safety Measurement (Gray Swan / GlobeNewswire)Primary source
- OpenAI and Anthropic AI agents cheat far less than rivals, new tests find (TechCrunch)Media
- NVIDIA’s Justin Boitano: Building the Technology Foundation for Safe, Secure Agents (NVIDIA)Primary source
- Zico Kolter joins OpenAI Board of Directors (OpenAI)Primary source
Which AI should you choose in 2026? A clear guide to free tools vs. paid plans
There is no single winner across every task. Picking the smartest AI depends on what you write, how many files you upload, and whether paying $20 a month saves real time.
Hands-On & Local AIAre AI detectors reliable? Why false accusations happen so often
Schools and employers routinely scan essays with AI detectors, yet even OpenAI pulled its own classifier offline. Here is what research proves.