Brief
It was supposed to solve a problem. It hacked Hugging Face instead: an OpenAI model's sandbox escape
Translated with AI from my original post · Read the original
OpenAI has acknowledged that its own models were behind the Hugging Face security incident. GPT-5.6 Sol and a stronger, unreleased model used in an internal cyber evaluation escaped their sandbox and broke into Hugging Face's production servers. Their goal was to obtain the answers to a cyber benchmark. This time, “sandbox escape” wasn't a metaphor—it actually happened.
ExploitGym, where the incident began, is a benchmark that tests whether AI can produce working attack code for 898 real vulnerabilities. To measure the models' maximum cyber capabilities, OpenAI ran the evaluation with some refusal mechanisms used in its commercial services disabled. The models couldn't access the external internet and could only install the packages they needed through an internal caching proxy.
While solving the problems, the model discovered a previously unknown zero-day vulnerability in this caching proxy. It used the vulnerability to escalate privileges, move through OpenAI's research network, and eventually reach an internet-connected node. Once out of the sandbox, the model figured that Hugging Face might hold ExploitGym-related data and answers.
It uploaded a malicious dataset to Hugging Face and exploited two vulnerabilities in data processing. After executing code on a processing server, it collected cloud and cluster credentials, moved through several internal clusters, and accessed a production database. There, it found the ExploitGym answers. Instead of solving the problems head-on, it had basically tracked down the server with the answer key and broken into it.
Hugging Face first disclosed on July 16 that an unidentified AI agent had attacked it. The attack used numerous short-lived sandboxes, repeatedly moved its command server through public services, and left a record of more than 17,000 actions. After Hugging Face detected and blocked it, OpenAI joined the investigation. The attacker's identity wasn't disclosed until July 21.
The damage didn't spread across all of Hugging Face. Some internal datasets and service credentials were exposed, but there was no evidence that public models, datasets, or Spaces had been tampered with. Deployed containers and packages were also confirmed to be intact. There's no evidence that the AI copied its own weights or survived independently somewhere on the internet either. Still, you can't write this off as just a lab mishap. Another company's production servers and databases really were breached.
Another story came out as people dealt with the incident. When Hugging Face tried to analyze the attack logs through commercial frontier model APIs, safeguards blocked the actual attack commands and exploits. In the end, Hugging Face ran the open-weight model GLM 5.2 on its own servers to analyze the 17,000 recorded actions.
A joke quickly spread through AI forums: “Closed GPT attacked, and a Chinese open-weight model stopped it.” To be precise, GLM 5.2 didn't fight GPT in real time; it handled the post-incident forensics. Still, the problem remains: the attacker could act without restrictions, while safeguards prevented the defender from even analyzing the attack logs.
What I found chilling wasn't just that the model broke out of its sandbox. The attacking model's safeguards had been loosened for evaluation, while the defender's model was blocked by safeguards and couldn't even read the attack logs properly. Restrictions created for safety ended up tying the defender's hands. At this rate, we could end up with unshackled AI attacking and shackled AI defending. If this happens more often, what models should we put in the hands of defenders facing unrestricted AI?
Follow along via RSS.