ChatGPT maker says it is still investigating the 鈥渦nprecedented cyber incident鈥 that led its artificial intelligence systems to break out of a testing environment and hack into another AI company.
OpenAI said Tuesday two of its most capable AI models were responsible for targeting AI startup Hugging Face. The incident is stirring debates over the need for stronger AI guardrails and the extent to which AI agents are capable of acting on their own.
Hugging Face said last week that it had detected an intrusion into its data processing systems that it suspected was caused by an AI agent acting on its own. But the New York-based startup said it wasn’t until this week that it learned OpenAI was responsible, and it worked with the larger company to contain what Hugging Face CEO Cl茅ment Delangue called 鈥渁n attack unlike anything we鈥檝e seen before.鈥
San Francisco-based OpenAI said its AI used stolen credentials and discovered a previously unknown vulnerability to access Hugging Face’s servers. It was working with reduced guardrails because it was supposed to be in an isolated testing environment known as a sandbox.
But it went to 鈥渆xtreme lengths to achieve a rather narrow testing goal,鈥 finding ways to connect to the internet without human direction and “gain access to secret information that it could use to cheat the evaluation,鈥 the company said.
Some experts say OpenAI is wrongly blaming the technology
University of Amsterdam social scientist Hannes Cools said the framing of the cyberattack as an AI agent acting on its own is an unnecessary anthropomorphization that takes some of the heat off the company.
“It is a human decision to switch off specific safeguards,” said Cools. 鈥淚t鈥檚 not an AI that goes rogue in that sense. It followed specific instructions based on the prompt that was given to that AI system.鈥
Those instructions, according to OpenAI, called for using “complex attack paths鈥 to test how well the AI could exploit a computer system.
Even so, other experts say the cleverness with which the AI models were able to cause problems with little human direction speaks to the dangers. OpenAI said the intrusion was caused by a combination of its AI models, including its newly released GPT鈥5.6 Sol and an 鈥渆ven more capable鈥 model that is still being tested internally.
鈥淚t went off and did this hack all by itself, as far as we can tell,鈥 said Colin Shea-Blymyer, a cybersecurity research fellow at Georgetown University鈥檚 Center for Security and Emerging Technology. 鈥淭his is the highest level of autonomy that we鈥檝e seen in the use of a large language model for cyber operations.”
How an AI agent found the keys to the ‘teacher’s house’
One of the most surprising innovations in what Shea-Blymyer describes as an 鈥渁lmost entirely self-directed鈥 attack was the AI agent’s apparently independent decision to target Hugging Face, a well-known AI development hub and marketplace.
He said OpenAI’s internal environment for testing AI capabilities and risks worked a “little bit like putting a student in a room and telling them, 鈥楧o bad things. Your job now is to evaluate how bad of a person you can be.鈥 And then you lock the room and you leave for the weekend and you come back and they鈥檝e left the room.鈥
But then “the cybersecurity agent that was being tested broke out of its sandbox, had access to the internet and sort of thought to itself, 鈥榃ho would have the answers to the test that I鈥檓 working on?鈥 鈥
The answer was Hugging Face, a repository for AI testing data.
鈥淎nd so the agent thought, 鈥榃ell, we鈥檒l go to the teacher鈥檚 house,鈥 so to speak. And from there it devised a plan to break in and steal the answer key,鈥 he said.
The hack highlights the debate on open-source vs. closed AI
The hack comes at a time of intense debate about the benefits and risks of AI models, particularly those built in China that are cheaper and almost as good as those that U.S.-based 鈥渇rontier AI鈥 companies like Anthropic, Google and OpenAI are building.
Despite its name, OpenAI’s models are closed. Hugging Face, by contrast, is a big promoter of open-source technology, in which developers make key components accessible for anyone to examine, modify and build upon.
Hugging Face co-founder and chief science officer Thomas Wolf said the attack has reinforced his belief in the importance of wide access to open-source models for cybersecurity defense. Hugging Face used a Chinese model to combat the intrusion.
鈥淲hen a frontier model is attacking you and moving laterally inside your infrastructure, defenders need wide access to near-frontier tools within hours or even minutes, rather than being pointed toward a closed-door鈥 platform, Wolf wrote in a social media post.
Copyright © 2026 The Associated Press. All rights reserved. This material may not be published, broadcast, written or redistributed.