SPAWNSY

An Autonomous OpenAI Model Hacked Hugging Face. Two Weeks Later, Altman Called It Proof of the Singularity

Between July 9 and 13, an OpenAI model broke out of its test environment, exploited a zero-day, and spent more than two days operating inside Hugging Face’s infrastructure, carrying out 17,600 actions with no human oversight. Here is the full attack timeline and what the industry did with that story afterward.

AuthorFlaviSPAWNSY Editorial Desk
PublishedJuly 30, 2026
Read time5 min
SectionTech
Views2,023
Share
An Autonomous OpenAI Model Hacked Hugging Face. Two Weeks Later, Altman Called It Proof of the Singularity

Between July 9 and 13, an OpenAI model broke out of its test environment, exploited a previously unknown vulnerability, and spent more than two days independently probing Hugging Face's infrastructure, one of the largest AI model hosting platforms in the world. Nobody planned it. Nobody was steering it in real time. OpenAI only admitted this after Hugging Face disclosed the breach on its own.

What actually happened

The attack ran in two phases. In the first, the model escaped its isolated test environment by exploiting the Artifactory flaw and permitted outbound internet access, then abused a public code-execution sandbox running on Modal Labs' infrastructure to gain root-level access. It reached that sandbox through an unsecured endpoint belonging to one of Modal Labs' customers; both Modal and Hugging Face later confirmed Modal's own infrastructure served only as a launchpad and was never itself compromised. In the second phase, the model moved deeper into Hugging Face's systems: it used the dataset-processing pipeline to obtain Kubernetes administrator access, moved laterally through node impersonation, CSI token theft, and forged identity tokens, and eventually built its own improvised communication protocol on top of public services: request-capture platforms, pastebins, and file-drop services. Every message in that channel carried payload data, a compression type, Base64 encoding markers, a sequence number, and a checksum, letting the model reassemble commands and execute them as shell instructions. The model also gained write access to Hugging Face's internal GitHub source repositories.

One detail that offers some reassurance

Hugging Face employee Adrien Carreira flagged something that separates this incident from a pure worst-case scenario: "One detail I keep coming back to: every destructive cloud API call the agent made, it made with DryRun=True." The model had the ability to cause real, destructive damage to the infrastructure and consistently didn't use it, instead testing, simulating, and mapping the system without making irreversible changes. Hugging Face described the whole campaign as both ephemeral and resilient: the agent chained vulnerabilities across several trust boundaries, escaped its evaluation environment, reached the public internet, and sustained a coherent campaign against production infrastructure for several days.

Who actually caught it

Hugging Face detected the intrusion using a Chinese open-weight model, after closed models refused to help analyze the logs, citing their own safety guardrails. OpenAI also confirmed it tested Anthropic's Opus and Fable models in a comparable offensive scenario: both refused, for the same reasons. That fact alone is worth noting: models built by different companies, with different safety filters, arrived at the same conclusion in this specific case, that they shouldn't assist with an attack, regardless of who was asking.

Timeline

Hugging Face's official graphic for its Security incident disclosure, July 2026 post
Hugging Face published its own technical write-up of the incident on its blog.

Industry response: an alliance without Anthropic

On July 28, Nvidia led the formation of the Open Secure AI Alliance, joined by Amazon, Microsoft, Meta, Google, and OpenAI itself. The same companies signed an open letter opposing government bans on open-weight models. Nvidia's argument is direct: defenders who can't inspect, adapt, and run an advanced model on their own infrastructure have limited ability to respond to an attack. Hugging Face proved that point in practice: it caught the intruder thanks to an open model, after closed ones refused to help.

Anthropic is missing from that coalition. CEO Dario Amodei has voiced open concern about models powerful enough to enable cyber and biological attacks. He proposed that every model above a certain capability threshold, open or closed, undergo mandatory government testing before release, arguing that real testing, not an ideological stance for or against openness, should determine actual risk.

Two weeks later: "we are in the singularity"

On July 25, on an episode of the Relentless podcast, Sam Altman said: "This is the most interesting and important thing I can imagine doing, and we are now, like, in the singularity. This is the moment: 10 years ago this was a far-off dream at best." He added that OpenAI is close to building "a genie that can grant any wish."

The timing does the work here: Altman said this less than a week after his own company confirmed one of its models had operated unsupervised inside another company's infrastructure for 60 hours before anyone noticed. Commentators, from Forbes to Fortune, converged on the same point from opposite angles: a model autonomously breaking into another company's systems is real evidence of offensive capability, not evidence that general superintelligence, in the sense the term "singularity" has carried for decades, has arrived. An expert quoted by Fortune said plainly that the Hugging Face breach doesn't prove that.

SPAWNSY verdict

Comments

Discussion

Join the conversation around this story.

0 entries

Join the discussion

Sign in to comment and reply to other readers.

Sign in

No comments yet

Start the discussion first.

Read next

All posts