Skip to content
MediumNews

World's Largest AI Model Repository Hugging Face Breached by Autonomous AI Agent

Published
Record updated
View JSON

Summary

Hugging Face disclosed that an autonomous AI agent system breached its production infrastructure, gaining unauthorized access to a limited set of internal datasets and several service credentials. The attacker reached the environment through a malicious dataset that abused two code execution paths, a remote code dataset loader and a template injection in a dataset configuration, to run code on a processing worker. The company says public models, datasets, Spaces and its software supply chain show no evidence of tampering, and the investigation is ongoing.

Mitigation

Hugging Face says it addressed the root cause by removing the attacker's foothold and rebuilding the compromised nodes, revoking and rotating the affected credentials and tokens (with a broader precautionary rotation of secrets), deploying additional guardrails and stricter admission controls on its clusters, and improving detection and alerting. It urges customers to rotate any access tokens and review recent account activity.