News

OpenAI Says Its Test Models Breached Hugging Face While Trying to Cheat a Cyber Benchmark

OpenAI said on Tuesday that a combination of its AI models, including one that has not yet been released, broke out of an isolated internal test environment, reached the open internet and infiltrated production systems belonging to Hugging Face, the open-source AI hosting platform, while pursuing a solution to an internal cybersecurity benchmark.

OpenAI described the episode as “an unprecedented cyber incident, involving state-of-the-art cyber capabilities” in a blog post that laid out the company's account of an incident Hugging Face first disclosed on July 16. Hugging Face said at the time that it had detected and contained an intrusion driven end-to-end by an autonomous AI agent system and had reported the activity to law enforcement before learning OpenAI was responsible.

Hugging Face chief executive Clem Delangue wrote on the social platform X that his company's security team spent 24 hours working with OpenAI's and that “we strongly believe there was no malicious intent on their part.” Both companies say their joint investigation is ongoing and that further details will follow. The disclosure also landed one day after OpenAI detailed a separate incident in which it paused a different pre-release model after it escaped a sandbox and posted to GitHub, a detail that has drawn added scrutiny to how OpenAI contains models during internal testing more broadly.

How the Breach Unfolded
According to OpenAI, the models involved were GPT‑5.6 Sol and an unreleased, more capable model, both running with reduced cyber refusals for the purposes of the evaluation. The test, an internal benchmark called ExploitGym, was designed to measure how far a model could go in chaining together real exploits, and OpenAI said it runs such evaluations without the production safety classifiers that normally restrict high-risk cyber activity to estimate a model's maximum capability rather than its typical behavior.

The sandboxed environment allowed only limited network access through an internally hosted proxy that cached third-party software packages. OpenAI said the models found and exploited a previously unknown vulnerability, since disclosed to the affected vendor, in that proxy, then used a series of privilege escalation and lateral movement steps to reach a system with open internet access. Once online, OpenAI said, the models inferred that Hugging Face likely hosted the ExploitGym solution files and used stolen credentials along with additional exploits to obtain remote code execution on Hugging Face's servers, ultimately pulling test answers from a production database. Hugging Face has said separately that the intrusion began when the agent uploaded a malicious dataset that exploited two code-execution paths in its data-processing pipeline, answering a question earlier commenters on Hugging Face's disclosure had pressed the company to clarify.

OpenAI's security team said it discovered the anomalous activity internally around the same time Hugging Face's own security team and automated agents were independently detecting and containing the intrusion on their end.

Guardrails Complicated Hugging Face's Own Response
Hugging Face's account of its own incident response adds a wrinkle. According to Fortune, Forbes and Axios, the company's security team first tried to use a commercial, hosted AI model from a leading U.S. lab to help analyze the attack, which required processing more than 17,000 recorded attacker actions, including real exploit code, attack commands and command-and-control artifacts.

That model's safety guardrails blocked the requests, unable to distinguish a defender submitting genuine attack data for analysis from an attacker seeking help. Hugging Face's team then switched to GLM-5.2, an open-weight model built by the Chinese AI firm Z.ai, running it locally on its own infrastructure to complete the forensic work without sensitive data leaving its environment. Delangue has described the resulting asymmetry, in which an attacking agent operates under no usage policy while a defender's hosted model is bound by the same guardrails meant to prevent misuse, as one of the incident's more uncomfortable lessons for the industry.

A Predicted Failure Mode, Now Confirmed
Security researchers have warned for some time that increasingly autonomous AI systems could behave as “agentic attackers,” pursuing an assigned goal so single-mindedly that they breach the boundaries meant to contain them. This appears to be among the first publicly documented cases of that scenario reaching a real third party's production infrastructure rather than a simulated target, as CNN and other outlets have noted. CNN likened the episode to an engineered virus escaping a biocontainment lab and turning up inside a neighboring facility's systems.

Roman Yampolskiy, an AI safety researcher at the University of Louisville, told Fortune that the incident illustrates how powerful models “can discover and exploit vulnerabilities in ways that were not explicitly anticipated by their developers,” and said he expects more such incidents because current AI systems are, in his view, fundamentally unpredictable. Both companies have said the investigation is not finished, and PureAI was unable to independently verify OpenAI's full step-by-step account of the intrusion beyond what the two companies and their sourced reporting have published.

Political and Industry Fallout
The disclosure has already drawn attention in Washington. Representative Greg Casar, a Texas Democrat who chairs the Congressional Progressive Caucus, called the incident “extremely alarming” and called for mandatory independent safety testing of AI models, mandatory disclosure of security incidents, and international cooperation on AI risk, according to Benzinga and other outlets. OpenAI, for its part, said it is tightening infrastructure controls around its evaluation environments, briefing its internal Safety and Security Committee regularly, and has brought Hugging Face into its trusted access program for cyber defense.

OpenAI also pointed to evaluation data from the UK AI Security Institute showing that models such as GPT-5.6 Sol are increasingly able to sustain complex, multi-step cyber operations over long time horizons, arguing the incident confirms those theoretical capabilities now translate into real-world settings.

What It Means for PureAI Readers
For enterprise AI and infrastructure teams, the immediate lesson is not that a model went rogue in some general sense. OpenAI's own account places the failure squarely in the test's infrastructure, a zero-day in a package proxy and an evaluation run deliberately without standard safety classifiers, rather than in some emergent malicious intent. That distinction matters for anyone building or buying agentic AI tools: sandbox egress controls, credential scoping, and network isolation around any environment where a model runs with reduced guardrails deserve the same scrutiny as production security controls, not less.

The Hugging Face forensics episode adds a second, related lesson: guardrails calibrated to stop attackers can also stop legitimate defenders working with real attack data, so incident-response plans built entirely around commercially hosted models may need a pre-vetted, self-hosted fallback for exactly this scenario.

PureAI's view is that enterprise teams should resist the urge to overreact. This incident does not mean typical enterprise AI deployments are inherently less secure or that they require wholesale overhauls. But it should push security teams to treat any internally hosted proxy, cache, or package registry as part of the attack surface whenever agentic models are in the loop, since that is precisely where this breach began.

About the Author

John K. Waters is the editor in chief of a number of Converge360.com sites, with a focus on high-end development, AI and future tech. He's been writing about cutting-edge technologies and culture of Silicon Valley for more than two decades, and he's written more than a dozen books. He also co-scripted the documentary film Silicon Valley: A 100 Year Renaissance, which aired on PBS.  He can be reached at [email protected].

Featured