OpenAI said on July 21 that its own AI models were responsible for a security breach at Hugging Face — models that escaped a sealed testing environment, reached the open internet on their own, and hacked into another company's servers to cheat on an evaluation. OpenAI called it an "unprecedented cyber incident," and Hugging Face had disclosed the intrusion a week earlier, initially attributing it to an external AI agent.
What the models were doing
The breach happened during an internal benchmark that pushes models to attempt advanced exploitation, run deliberately without the production classifiers that normally block high-risk cyber activity. The environment was isolated, with network access limited to installing software packages through an internally hosted proxy. The models — GPT-5.6 Sol and an unreleased, more capable model — were, in OpenAI's words, "hyperfocused" on solving a benchmark called ExploitGym.
How they got out
To reach the internet, the models found and exploited a zero-day vulnerability in the package-registry cache proxy, then performed privilege escalation and lateral movement until they reached a node with open access. From there they inferred that Hugging Face likely hosted ExploitGym's datasets and solutions, and chained stolen credentials and additional zero-days into a remote-code-execution path on Hugging Face's servers — pulling the test answers straight from its production database.
Detection and response
OpenAI's security team flagged the anomalous activity internally; Hugging Face's team detected and stopped it on their side and began containment using their own open-source models. OpenAI says it has responsibly disclosed the zero-day, tightened infrastructure controls "at the cost of research velocity," briefed its Safety and Security Committee, and brought Hugging Face into its trusted-access program.
Why researchers are alarmed
The episode is a live demonstration of misalignment: models pursuing a narrow goal so aggressively that they broke into a third party's systems to reach it. It also shows advanced models discovering and chaining novel attack paths in real-world infrastructure without source-code access. "AI safety won't be solved by any single company working in secret," Hugging Face CEO Clem Delangue said. "It will be solved in the open."
