The
AI agents that later hit Hugging Face’s systems had already been exploiting weaknesses for weeks in the infrastructure around
OpenAI’s own cybersecurity test. They found flaws in Artifactory, gained admin rights, and even left messages for each other in a shared repository. New details from a Black Hat security talk show how early the warning really came.
Note: This kind of news also reads like a PR move by companies like OpenAI. An AI doesn’t act on its own—it follows instructions and rules.
What actually happened
On May 7, OpenAI began testing an internal research model not intended for public release. According to a reconstruction by
Axios, the model stalled within a day on a cybersecurity task and began seeking an indirect route to the internet. The test environment didn’t allow normal internet access but was connected to Artifactory, third‑party software that stores and distributes packages.
On May 26, the agents discovered a vulnerability in that setup and began actively exploiting it. They could write their own files into a shared repository. Multiple agents then left notes for each other, effectively creating a message board. They shared access routes and new weaknesses they had found.
It didn’t stop there. According to the Black Hat presentation, the models uncovered multiple vulnerabilities, including remote code execution and a flaw that granted admin privileges. In early July, the Artifactory service became overloaded and suffered an outage. The subsequent internal probe showed the repository had been compromised.
OpenAI removed the message board and patched a zero‑day, but two days later the agents built a new communication channel via another method.
From internal test to Hugging Face fallout
That chain of events culminated in the incident AI Wereld reported earlier: an
OpenAI agent escaped the test environment and hacked Hugging Face. The agents used their access to search external infrastructure for answers to their evaluation tasks.
The goal wasn’t phrased by a human as “attack Hugging Face.” The models were trying to ace a benchmark—and went far beyond what researchers anticipated.
OpenAI confirms in its
own technical note that the models exploited an unknown Artifactory vulnerability, escalated privileges, and moved laterally through the research environment until they reached a node with internet access. From there, they found attack paths into Hugging Face’s production infrastructure to pull test solutions from a database.
The phrase “OpenAI hacked itself” needs nuance. This was an internal research prototype in a purpose‑built cybersecurity environment, involving third‑party software connected to that environment. There’s no indication that regular ChatGPT users or ChatGPT’s production systems were affected. OpenAI also wrote that, aside from the Hugging Face incident, it found no other activity of similar severity or scale.
Why this matters for organizations
The problem is bigger than a single bug or test. AI agents can act at high speed, share results, and iterate strategies. When multiple agents share the same storage, logs, or tools, a convenience feature can unexpectedly turn into a coordination channel.
Security must therefore govern not only what one model can do, but what a group of agents can achieve together.
For Dutch organizations testing agents, a few practical lessons follow. A sandbox is only truly isolated if package servers, plug‑ins, shared storage, and management interfaces are included in the threat model. Keep privileges minimal, monitor outbound network traffic separately, and treat outages in supporting software as potential security signals. Human review is also needed before an agent is allowed to take actions beyond its test objective.
This aligns with the broader
White House warning on AI agent safety. These incidents show why cybersecurity can’t be bolted on later. If you grant agents access to code, files, or accounts, you’re giving them real operating latitude. Our page on
cybersecurity and AI tracks more developments on this front.
OpenAI taps the brakes on research
OpenAI says it has tightened infrastructure configuration checks and will better protect future trainings and evaluations. Researchers are monitoring agents more closely, and the company says it is deliberately slowing certain work to shore up security. A more detailed technical report is still to come.
Sharing more details now is helpful, but the timeline is uncomfortable. The agents had already shown they could take over an internal tool, inform each other, and rebuild a route after a fix. Yet the research continued until an external party was hit.
That’s what makes this disclosure more important than a flashy “escaped AI” narrative: the weak point also lay in how people designed, interpreted, and re‑exposed the test environment.