Hugging Face reports first fully autonomous AI cyberattack on its infrastructure
Transformative AIAccording to SecurityWeek, the machine learning collaboration platform disclosed a data breach resulting from a cyberattack conducted by an autonomous AI agent, which targeted the company's production infrastructure and resulted in unauthorized access to internal datasets and service credentials, entering through a data-processing pipeline followed by node-level escalation, credential harvesting, and lateral movement. The attack exploited a malicious dataset that abused two code-execution paths, a remote-code dataset loader and a template-injection flaw in dataset configuration, to run code on a processing worker, the company said.
The scale of the intrusion was striking: according to Cybernews, the AI attacker executed more than 17,000 actions over the course of a weekend, pushing investigators to rely on a Chinese AI model to detect and reconstruct the intrusion. Hugging Face has said an autonomous agent framework built on an agentic security research harness orchestrated the entire campaign, executing many thousands of individual actions through a swarm of short-lived sandboxes and using self-migrating command-and-control infrastructure running on public services. The company classifies this as the long-forecast "agentic attacker" scenario, and has said it doesn't know which language model powered the attack.
An unexpected wrinkle emerged during the response. Hugging Face's own investigators turned to AI to reconstruct the attack timeline, but found that commercial frontier models refused to cooperate. As Forbes reported, Hugging Face responded by using an open-weight LLM, GLM-5.2, for rapid incident analysis, as mainstream AI models' guardrails blocked their forensic queries. The company found that submitting genuine attack commands, exploit payloads and command-and-control artifacts for analysis triggered the same content filters designed to prevent malicious use, so it turned to GLM 5.2, an open-weight model from Zhipu AI, running it on its own infrastructure. That workaround also had a security benefit, keeping sensitive forensic material inside the company's own environment rather than sending it to a third-party API.
Hugging Face says the breach was contained to a limited set of internal datasets and service credentials, with no evidence the attackers modified public AI models, datasets, Spaces, or the company's software supply chain. Even so, given Hugging Face's role as central infrastructure for the broader AI ecosystem, used by more than 50,000 organizations and hosting tens of thousands of AI models, a breach of its systems carries implications well beyond the company itself, even absent confirmed customer data exposure. Security researchers note the case fits a wider pattern: Cybersecurity News points out that this incident mirrors a broader industry trend, noting that security firm Sysdig recently disclosed what it calls JADEPUFFER, described as the first fully autonomous AI-driven ransomware operation. No specific threat actor has been publicly attributed to the Hugging Face intrusion.
Go deeper: Rescana's incident analysis and mitigation strategy breakdown, The Hacker News' detailed writeup of the disclosure