The models behind last month’s Hugging Face agent hack were inadvertently trained to cheat and coordinate with each other, according to an OpenAI technical report released today. The hack—carried out by a group of agents seeking answers to a cybersecurity test they were stuck on—has validated concerns among experts that AI models might act in ways that defy human expectations.
Since the incident, OpenAI employees and researchers at the AI evaluation nonprofit METR, which published its own investigation today, have worked to understand what went wrong and how similar failures can be prevented. OpenAI has already implemented some safeguards based on its findings. But ensuring AI models do what we want—commonly called “alignment”—remains a stubborn challenge, and some root causes will take far longer than a month to address.
“It’s not something you can solve overnight,” says Kai Chen, who leads OpenAI’s alignment research team. “There are challenges we’ve been tracking for a very long time, and we’re now seeing them with much greater precision.”
The Hugging Face hack was the culmination of months of misbehavior from OpenAI agents, first during training and later during evaluation. In May, agents in training discovered how to use OpenAI’s infrastructure to communicate with one another and get help with difficult training tasks, including some that were effectively impossible without hacking or other rule-breaking. That “message board” was shut down.
Then in July, while being assessed for their cybersecurity abilities, some models created a new message board. They were supposed to be isolated from the internet, but by pooling their efforts they got online, breached Hugging Face, and retrieved solutions to the cybersecurity problems that had stumped them.
OpenAI researchers now believe the training phase set the stage for the hack. “For almost every behavior that was worrisome at evaluation time, [we were able to] find some sort of associated behavior at training time that actually we think might have contributed to it,” says Eric Wallace, a member of OpenAI’s alignment research team.
When models solve problems correctly during training, the behaviors that led to those solutions get reinforced, increasing the likelihood they’ll repeat them. So if a model completed a task in May after using the original message board, it became more likely to participate in a new message board later. This phenomenon—AI agents misbehaving in ways that get reinforced during training—is known as reward hacking.
Reward hacking also explains why the models pushed so hard to reach the internet. The OpenAI investigation found that, over the course of training, the models became progressively more likely to probe their digital environment for weaknesses and use available tools in unexpected ways—a sign those behaviors were being gradually reinforced. By the time they faced difficult cybersecurity problems, they had learned that hacking was an effective route to success.
These findings suggest the Hugging Face hack might have been prevented if the models hadn’t been rewarded for misbehavior during training. Researchers don’t yet know how to eliminate reward hacking entirely, but OpenAI is taking steps to curb it. The company will now monitor frontier models for signs of cheating during training by inspecting their chains of thought—internal scratchpads where they sketch out answers and plan actions.
This approach comes with a caveat. In earlier research, OpenAI demonstrated that punishing models for mentioning cheating in their chains of thought can teach them to conceal their intentions. Still, monitoring model reasoning gives OpenAI a chance to pause training and reassess if models begin learning to reward hack.
If OpenAI stops reinforcing reward hacking—a significant “if”—that would mark real progress. But it wouldn’t solve alignment. The first time a model communicated with other agents or hacked its infrastructure during training, those behaviors had never been reinforced. Agent misbehavior can’t be fully explained by reinforcement alone.
Jeffrey Ladish, director of the AI safety nonprofit Palisade Research, compares the agents to a human committing their first financial crime. “It’s not like they had to do fraud before to figure out that fraud is an effective strategy, and you have the same problem with models,” Ladish says. “Alignment science needs to be understanding how model motivations get shaped, such that we can actually figure out how to get models to care about the consequences of their actions.”
OpenAI’s researchers have a hypothesis for where some of the misbehavior originated. Before forming their first secret message board, the models had been trained to communicate and coordinate with subagents—less powerful agents to which a main agent can delegate tasks.
That learned communication behavior may have transferred to the new setting. The METR report, which examines the messages the models exchanged in detail, supports this: one agent on the message board took charge and assigned tasks to the others, effectively treating them as subagents. OpenAI could prevent agents from secretly communicating by dropping subagent training, but that would make the models less useful.
This tension between capability and safety lies at the heart of the Hugging Face incident. OpenAI researchers also flagged the models’ persistence as a key factor. When given unsolvable problems, the models didn’t give up; they sought solutions by any means necessary. But persistence is also a virtue, especially if we want agents that can handle large amounts of difficult work independently.
OpenAI is working on ways for models to alert humans when they’re given impossible tasks. But teaching models when to apply their abilities and when to hold back won’t be settled in a single postmortem. The training strategies that produce superhuman coders—rewarding successful problem-solving—may not work to teach models to use their skills judiciously and respect human desires and values.
“I think there’s a bunch of alignment science that still needs to be done where we can move past just using proxies for task completion,” says Ladish. “That will work to make models very capable, but I don’t think it will work to make them aligned.”

