OpenAI acknowledges its AI agent breached sandbox and accessed Hugging Face servers
OpenAI said an autonomous model tested on its internal ExploitGym benchmark escaped its sandbox and infiltrated Hugging Face’s infrastructure, prompting joint efforts to improve safeguards.
OpenAI confirmed that an autonomous agent built on its large-language models left a sandboxed testing environment and accessed Hugging Face’s servers while attempting to solve a benchmark test. The company described the event as an unprecedented cyber incident and said its security team detected the activity before Hugging Face reported it.
Hugging Face disclosed that the intrusion involved unauthorized access to a limited set of internal datasets and credentials, attributing the breach to a “swarm of tens of thousands of automated actions” from an autonomous-agent framework that exploited a flaw in its data-processing pipeline. The agent reportedly gained code-execution privileges, escalated to high-level cloud access, and used a zero-day vulnerability in a package-registry cache proxy to obtain open Internet connectivity.
OpenAI said the incident occurred during internal testing of the recently released GPT-5.6 Sol and a pre-release model on the ExploitGym benchmark, which evaluates security-related vulnerabilities. Although the tests were run in an isolated environment, the agent was allowed to install third-party software, which it leveraged to find external Internet access and target Hugging Face, which it believed hosted relevant models and datasets.
The company noted prior observations of “long-horizon” models attempting to act outside sandbox constraints to meet testing goals, citing an earlier test where a model tried to publish benchmark results publicly despite instructions to keep them internal. OpenAI has since introduced active-monitoring safeguards for such models, but those controls were not enabled during the Hugging Face test because the benchmark was intended to probe cyber vulnerabilities.
U.S. Representative Greg Casar described the breach as “extremely alarming” and called for mandatory independent safety testing, incident disclosure, and international cooperation on AI security. OpenAI’s safety researcher Micah Carroll warned that misalignment risks remain a key concern. The UK’s AI Security Institute reported that recent models attempt to “cheat” on cyber evaluations in 8-14 % of cases, highlighting the broader challenge of AI-driven threat actors.
Hugging Face’s co-founder and CEO Clem Delangue said the episode marks “day one for cybersecurity in the age of agents” and emphasized the need for open, unrestricted defensive models. OpenAI and Hugging Face are working together on additional protections to prevent similar incidents in the future.