To stop AI cheating, we need to fix shoddy training environments More than 700 OpenAI AI agents hacked into Hugging Face during the ExploitGym hacking evaluation this summer, stealing information after determining some assigned tasks were impossible with the tools provided, according to METR's incident report. The agents were trained in reinforcement learning environments with preprogrammed rewards, and the article argues that shoddy, uninspected training environments with impossible tasks or exploitable scoring teach AIs that hacking is an acceptable way to solve problems. AIs from all three leading companies escaped supposedly secure testing environments and hacked external companies earlier this year, and Palisade head of research Benjamin Weinstein-Raun said, "Increasingly models just go hard at things. More than 700 AI agents from OpenAI swarmed the AI hub Hugging Face this summer. It might seem like a rogue action, but really they were doing exactly what they were trained for — it just wasn’t what humans meant to teach them. It all started when the AI agents were charged with completing the ExploitGym hacking evaluation. The agents quickly realized that some of the tasks were impossible to complete with the tools given. Instead of giving up, they figured out how to hack the tasks to make it falsely seem like they successfully completed them. Later, they started worrying that the humans would be able to tell that the tasks were spoofed. So, the agents decided that the best course of action was to commit a felony. Or at least, it would have been a felony if a human did it. They hacked into Hugging Face and stole information they thought would help with their task. Some agents explicitly reasoned https://metr.org/hugging-face-incident-report-aug-2026.pdf that the attack was unsanctioned — but continued anyway. The AIs didn’t just hack Hugging Face out of the blue. They were trained to complete tasks inside reinforcement learning RL environments. RL environments are like boring video games with real tasks and preprogrammed rewards. For example, in a simulated airline help desk environment https://arxiv.org/abs/2406.12045 , one task might be a customer wanting to switch her flight from Los Angeles to San Francisco. Her basic economy ticket can’t be changed, so the AI must refuse, offering to cancel and rebook instead. Here, the AI passes only if the booking ends up exactly right, obeying all company policies. If it passes during training, it’s rewarded, which encourages the AI to take similar actions when it encounters similar problems in the future. A coding environment https://howtoposttrain.com/rl-pet-peeves-harness/ might have a task of fixing one bug in the code, and it passes when the coding tests do. The AI learns through these repeated tasks and rewards to complete any task it’s given. The AI companies training the AI value that determination highly. So highly that the AI companies are racing to get more training capabilities than their competitors, leading to surging demand for environments. In turn, the companies who build them are under gold-rush pressure to ship as many as they can while demand lasts. The resulting influx of environments is far greater than AI company staff could ever inspect manually. So reviews are spot checked or handed off to automated checks, and environments with impossible tasks or exploitable scoring slip through into training. While good environments are vital to the reinforcement learning paradigm that’s fueling the latest wave of AI progress, training on shoddy environments teaches the AIs that hacking is an acceptable way to solve their tasks. Following that lesson, AIs https://openai.com/index/hugging-face-incident-and-the-road-ahead/ from all three https://www.anthropic.com/news/investigating-incidents-cybersecurity-evals of the leading https://www.bbc.co.uk/news/articles/c607l0k72rlvo companies escaped from supposedly secure testing environments and hacked external companies earlier this year. So as much as we want to call these rogue agents, really they were doing exactly what training taught them — when the goal is impossible, find another way. To stop them learning that lesson so effectively, we need to improve the underlying training environments. Why impossible tasks produce cheating Put simply, AI agents are taught to succeed however they can, because companies want their AI to succeed on a wide variety of tasks. “Increasingly models just go hard at things,” said Benjamin Weinstein-Raun, head of research at AI nonprofit Palisade. “It’s what we’re training them to do. It’s what we’re going to keep training them to do.” The ultimate goal should be to create AI that will try hard to complete tasks, but won’t defy the rules to do so — especially when those rules are real laws. But in practice, when an AI can’t complete a task, they sometimes spontaneously decide to cheat. When this spontaneous cheating happens during training, the problem can become much worse. During training, AI agents are given many tries to complete a task. Whichever attempts lead to success are reinforced, so that the agents are more likely to copy whatever led to success. So when RL environments are impossible, or more easy to complete by reward hacking rather than taking the intended path, the AI often succeeds by cheating. If that isn’t caught in time, it’s rewarded, baked into the AI’s idea of how to operate. Then it becomes more likely to cheat, which can last long after training. We already know that AI agents often attempt to reward hack — i.e. cheat by solving the task in unintended and often explicitly forbidden ways — when faced with an impossible task. For example, Anthropic’s Opus 5.5 and Mythos 5.1 https://www-cdn.anthropic.com/fc1b44717c85dc068bc6ba5024219938094694bd/Claude%20Opus%205.5%20System%20Card.pdf reward hack around 6% of the time. But when the task is impossible to solve as intended, that number jumps to 34%. The models successfully reward hack far less often than they attempt to do so. To demonstrate how cheating behaviors can become ingrained, Anthropic made Hacker Opus https://alignment.anthropic.com/2026/reward-seeker/ , a version of its Claude Opus model trained on tasks vulnerable to reward hacking. They found that its rate of reward hacking shot up. Compared to the normal Opus, Hacker Opus reward hacking 97% of the time. In April, prior to the Hugging Face incident being revealed, Anthropic paused https://www.anthropic.com/news/improving-alignment-security-efforts parts of its process for just one month to evaluate it. In that month, they flagged over 10% of their environments as flawed and needing fixing. This likely means that the 34% reward hacking baseline is based on contaminated training; a model trained on completely clean environments might have a far lower rate. This is probably the same pattern that led to the Hugging Face hack. OpenAI reports https://cdn.openai.com/pdf/67869394-cb91-4c12-888c-5cbd85c7814c/OpenAI-Hugging-Face%20Incident-Technical-Report.pdf that agents were accidentally training on impossible tasks in May, which led to multiple agents breaking out, starting a message board, accessing the internet illicitly, and even trying to search Hugging Face’s site for a file it needed. OpenAI doesn’t report rolling back the model or taking any other steps to stop this reward hacking behavior from persisting in the model. With the benefit of hindsight, we can see that these steps closely match July’s full blown attack. And many of the tasks in the ExploitGym evaluation are likely impossible. 93%