Next upHack for Humanity: San Francisco (powered by Google Gemini)
News

Hugging Face says an autonomous AI agent breached part of its production infrastructure

Hugging Face disclosed on July 16, 2026 that an autonomous AI agent framework used a malicious dataset to breach part of its production infrastructure and harvest credentials.

D
Jul 16, 2026 · 1 min read

Hugging Face disclosed on July 16, 2026 that an autonomous AI agent framework carried out an end-to-end breach of part of its production infrastructure, using a malicious dataset to run code and harvest credentials.

The incident is an early documented case of an AI agent chaining an entire intrusion — from initial exploit to lateral movement — rather than a human operator running the attack. Hugging Face, which hosts millions of AI models and datasets, said the malicious dataset exploited two flaws in its data-processing pipeline: a remote-code dataset loader and a template-injection bug in dataset configuration.

That gave the agent code execution on a processing worker. From there it escalated to node-level access, harvested cloud and cluster credentials, and moved laterally across internal clusters over a weekend, executing thousands of automated actions from short-lived sandboxes, the company said. Hugging Face said it found unauthorized access to a limited set of internal datasets and several service credentials, but no evidence of tampering with public models, datasets, Spaces or its software supply chain.

The company used its own large language model-based anomaly detection to flag the intrusion and processed more than 17,000 recorded attacker events to rebuild the timeline, according to its incident report. Remediation included closing the dataset code-execution paths, rebuilding compromised nodes, and rotating affected credentials and tokens.

The disclosure is Hugging Face’s own account and has not been independently verified. It also does not establish how much of the attack was genuinely autonomous versus scripted. Either way, an agent that can carry an intrusion end-to-end over a weekend is the threat model defenders have warned about.

More news