OpenAI’s Hugging Face Hack Debrief Raises More Questions Than It Answers

The AI giant acknowledges that it could have done far more to prevent its AI agents from going rogue. But it still fails to explain why it didn't see this fiasco coming.
Image may contain Clothing Hood Person Hoodie Knitwear Sweater Sweatshirt Computer Electronics Pc Laptop and Coat
Photo-Illustration: Wired Staff; Getty Images

OpenAI published the most complete report to date on Wednesday about what happened when its AI agents hacked into Hugging Face last month. For the most part, though, the 37-page document raises more questions than it answers, including about what preceded the incident and how OpenAI can stop another one like it from happening again.

What remains especially perplexing is why one of the world’s preeminent AI development labs seemingly underestimated its own models’ capabilities. OpenAI has spent years warning the world about the rapid advancement of AI systems. And yet, it failed to implement long-established network security and isolation measures that may have prevented the hacking spree.

“With the benefit of hindsight, some early signals identified in this report could have triggered an earlier response,” OpenAI says in the postmortem.

In the report, OpenAI shared new details about how a set of AI agents escaped the company’s internal evaluation environments, left messages for one another in the crevices of its software infrastructure over several months, and coordinated to hack the AI platform Hugging Face—all in a wild quest to complete a cybersecurity assessment. OpenAI previously shared some information about the breach in blog posts and a talk at the Black Hat cybersecurity conference.

Hugging Face initially disclosed the incident on July 16 without naming the culprit; five days later, OpenAI acknowledged that its own agents were responsible. The revelation sparked a broader reckoning across the industry, which has recently found that AI models from Anthropic, Meta, and the Chinese AI startup Moonshot were involved in similar episodes.

OpenAI’s postmortem has been eagerly awaited by AI researchers and policymakers hoping to prevent AI agents from causing similar kinds of real-world harm. After the Hugging Face hack was first disclosed, attorneys general from 15 states sent a letter to OpenAI asking it to preserve evidence about it. And this week, Alabama's attorney general also subpoenaed the company for information related to the episode.

OpenAI says the Hugging Face saga represents a watershed moment for both the company and the broader AI industry. WIRED previously reported that it prompted OpenAI to reevaluate its internal safety culture, and the company said last week it has paused some AI training workloads while it invests more heavily in safety, security, and alignment protocols. “As frontier models become more capable, the safeguards used to contain and monitor them must evolve as well,” OpenAI wrote in the postmortem.

Watching the Watchers

Months before the Hugging Face hack, OpenAI says that employees noticed that its agents had created a covert message board in the package manager Artifactory, which they would later use to coordinate their attack. Around May 26, OpenAI says in the postmortem that “an internal team observed an agent engage in message board activity.” Then, on June 27, OpenAI responders found that a different security incident was linked to the “improvised message board” in Artifactory.

While it’s clear some employees at OpenAI were aware of the message board, the discovery apparently wasn’t escalated to the appropriate safety and security leaders. The AI lab says that on July 6, just days before its agents began using it to organize their attack on Hugging Face, “leaders responsible for incident detection and response” were unaware of its existence, let alone what it signified.

“To clarify, we weren’t aware of the agent covert comms at that point,” OpenAI’s chief information security officer, Dane Stuckey, wrote in a post on X earlier this month. “Investigative thesis of that day is wildly different from what we know now of course. Always room for improvement, and it is obvious with the benefits of hindsight.”

It’s unclear why OpenAI staffers who knew about the message board seemingly didn’t flag it to Stuckey and other executives responsible for responding to security issues. When asked about this issue, an OpenAI spokesperson reiterated that OpenAI could have triggered an earlier response with the benefit of hindsight. “OpenAI’s ongoing work in this area will inform additional improvements to coordination and response alongside the action plan in this technical incident report,” they said.

“If they did have some signals that one or more agents were attacking Artifactory, why weren't they monitoring these tests long before something broke out to attack Hugging Face?” says Jake Williams, vice president of research and development at the security firm Hunter Strategy.

The postmortem also leaves other key parts of what happened unexplained. At one point on July 4, for example, OpenAI says that sustained “high-volume agent activity caused the OpenAI Artifactory service to become unavailable." On July 5, OpenAI’s monitoring systems triggered an alert. But the report doesn't say why it took a day for there to be an alert about the outage.

OpenAI says it is in the process of putting in place more tools to monitor its AI systems. The company says it's creating an alert system run by automated monitors, which aims to notify human safety, security, and research teams within 30 minutes of severe incidents occurring. If an employee can’t respond quickly enough, they’re expected to pause the relevant activity.

OpenAI repeatedly acknowledges that existing guardrails it already has in place likely would have flagged the agents’ behavior as unsafe, but they were intentionally disabled for testing. When it comes to monitoring, though, the report is less clear about why there were gaps in the oversight of testing environments. The postmortem notes that, “If our currently deployed [chain-of-thought] monitoring system was running at the time of the incident, it would have caught the initial relevant activity and paged our security team more than a day before models breached Hugging Face systems.”

No-Win Scenarios

OpenAI says another key contributor to the Hugging Face incident was that its new AI models are more “persistent” than ever, willing to work almost endlessly and expend vast amounts of computing resources to achieve their goals. Developing these types of AI models are part of the company’s broader ambitions to create always-on AI agent products—which will work for people around the clock, taking in lots of information to complete tasks on behalf of people.

However, OpenAI says that many of the third-party benchmarks it used to evaluate its AI models contained tests that were effectively impossible to solve. One such test was a benchmark called ExploitGym, which measures cybersecurity capabilities. OpenAI claims that, at least at the time, this benchmark included more than a hundred tasks that were unsolvable. When these challenges were given to persistent AI systems, they resorted to unintended means to solve them.

As OpenAI notes, persistent AI agents amplify the risks of misalignment. In particular, the company says the agents associated with the Hugging Face incident engaged in novel ways of reward hacking—the tendency of AI models to pursue goals through unintended means, including shortcuts and cheating. Rather than just trying to solve the test, the company says its new AI agents were increasingly trying to exploit their environments. As OpenAI itself emphasizes, though, reward hacking is a well-known challenge in AI model training that does not have a clear solution.

The situation is likely familiar to even the most casual Star Trek fan. Captain Kirk famously beat the Kobayashi Maru, an intentionally unwinnable training simulation, by reprogramming it on his third attempt. Rather than punish him for cheating, Starfleet commended him for his ingenuity. "Everyone knows that Kirk beat the no-win scenario by editing it,” says longtime security and compliance consultant Davi Ottenheimer. “Starfleet thought that was novel. So does OpenAI, apparently.”

To respond to the rising capabilities of persistent AI models, OpenAI says it’s planning to expand chain-of-thought monitoring, strengthen alignment during reinforcement learning, improve systems for detecting reward hacking and enforce clearer intervention thresholds. The exact ways it plans to do many of these things, though, remain unclear.

As OpenAI has released more and more information about the Hugging Face incident in recent weeks, the company has repeatedly framed the postmortem it finally published on Wednesday as a sort of capstone, designed to give a definitive account of what happened, what OpenAI did in response, and what other organizations can learn from it. As the report puts it, “the lessons from this incident extend to the entire AI industry.”

In practice, though, the public postmortem leaves some basic details unresolved, including elements of the timeline, why certain safeguards failed, and whether oversights by third-party infrastructure providers may have contributed to the problem. That makes it harder to know how much of what happened reflects the growing capabilities of AI agents, and how much was specific to the way OpenAI designed and monitored its own systems.