World

OpenAI AI agent escapes test, hacks Hugging Face platform

July 22, 2026 6:35 pm

[Photo Credit: Reuters]

OpenAI said ‌that an autonomous agent powered by its advanced AI models went rogue during a security test and triggered a hack that compromised the infrastructure of AI startup Hugging Face last week.

In a blog post, opens new tab, OpenAI said it was testing the capabilities of some of its most advanced models in a controlled environment but ​that the agent managed to escape containment, reach the internet and break into Hugging Face to try to satisfy its ​testing goal.

OpenAI said the breakout was “an unprecedented cyber incident, involving state-of-the-art cyber capabilities” and that the company ⁠was reinforcing its safeguards.

Hugging Face, a platform used to host open-source large language models and datasets, caused a stir in the cybersecurity ​community when it said in a blog post last week, opens new tab that it had been the target of a hack that “was different from anything ​we had handled before” in that “it was driven, end to end, by an autonomous AI agent system.”

Article continues after advertisement

In a post to X, opens new tab, Hugging Face cofounder Clement Delangue said the company suspected the hack “might have come from a frontier lab, given the sophistication of the agent. Turns out it did!” He added: “It’s quite mind-blowing ​that all of this happened autonomously!”

OpenAI’s disclosure that its advanced models were responsible for the breach, despite having placed them in what ​it described as “a highly isolated environment,” will likely intensify disquiet over the power and risk of frontier models.

Representative Greg Casar, a Texas Democrat, said the ‌incident ⁠was alarming.

The Office of the National Cyber Director, the U.S. cyber defense agency CISA, and the U.S. National Security Agency did not immediately return messages seeking comment.

Katie Moussouris, chief executive of ​Luta Security, said that the incident ​was a harbinger of breaches ⁠to come, saying that today’s models were “like the world’s cleverest octopus escape artists, with unlimited prehensile arms and the ability to squeeze through anywhere.”

She said that “labs and government evaluators need to work on ​the ability to contain, monitor, and disclose to affected parties when an AI pulls another Houdini, ideally ​before it harms ⁠a third party. None exist today.”

Matt Suiche, an engineer at agentic AI cybersecurity company Tolmo, said the incident showed that the frontier models were “closing the gap with state-of-the-art attackers.” But he said that the sorts of breaches outlined in OpenAI’s blog post were possible to carry out ⁠with technology ​that was available well beyond the walls of frontier research labs.