Skip to content
MediumNews

Hugging Face Hacked in Autonomous AI Attack

Published
Record updated
View JSON

Summary

Hugging Face disclosed a data breach caused by an autonomous AI agent that targeted its production infrastructure and gained unauthorized access to internal datasets and service credentials. The attackers used a malicious dataset to exploit two code-execution paths in dataset processing, a remote-code dataset loader and a template-injection in a dataset configuration, to run code on a processing worker, then escalated privileges, harvested credentials and moved laterally. The company logged over 17,000 intrusion-related events and could not determine which LLM the threat actor used.

Mitigation

Hugging Face addressed the dataset code-execution paths used for initial access, evicted the attackers, rebuilt the affected nodes, and revoked and rotated all affected credentials. It also broadly revoked secrets, deployed stricter admission controls and additional guardrails, and improved detection and alerting. The incident was reported to law enforcement and is under investigation with outside forensic specialists.