Hugging Face and ClawHub Compromised: Malware Found in Hundreds of AI Models
Hundreds of malicious AI models have been found on Hugging Face. They are hidden among more than a million legitimate models used by AI companies. The malware executes arbitrary code on developers' machines. ClawHub has been compromised as well. This is the first major attack on the AI industry's infrastructure.
AI-processed from TNW; edited by Hamidun News
The machine learning model repositories Hugging Face and ClawHub have been systematically compromised. Hundreds of malicious models have been found in them, and they execute arbitrary code on developers' machines.
What happened
Hugging Face is the central repository holding more than a million ML models, used by virtually every AI company in the world. Hundreds of malicious models have been found among them, disguised as legitimate ones. This is the first major supply chain attack on AI infrastructure.
The malicious models surfaced as a result of misconfigured security. Hugging Face lets any user upload models, and attackers took advantage of that. ClawHub, a repository of agent skills, has also been compromised through modules uploaded by users.
Scale of the attack
- Hundreds of malicious models on Hugging Face
- Hidden among more than a million legitimate models
- Affect developers' APIs and private projects
- ClawHub and other repositories are also compromised
- The first systematic attack on ML infrastructure
How the malware works
The malware enters the model when it is loaded. When a developer downloads a model through the Hugging Face SDK or imports it into code, initialization takes place. That is the moment the malicious code runs.
What it can do: execute arbitrary code on the machine, steal data from the developer's working environment, install backdoors for remote access, compromise production systems when an infected model is deployed, and spread to dependent projects through the dependency chain.
Why this is dangerous
AI developers treat Hugging Face like npm or PyPI: they pull models as dependencies without checking the code. Nobody reviews the contents of ML models by hand, because that is impossible at scale.
A malicious model can lie dormant in a production system for months, waiting for a specific condition, or work covertly, collecting data bit by bit. This is a classic supply chain attack, but in an AI context it is even more dangerous, because what is infected is not a library but ready-to-run code with full privileges.
What this means
AI development infrastructure has become a serious target. The industry needs urgent measures: mechanisms for verifying model code, execution isolation at load time, and stricter upload requirements for central repositories. These will become a necessary requirement for working with open models.
- Nov 1, 2026Local models lose to Opus and Codex: 0.21 on a MacBook versus 1.00 for Codex
- Nov 1, 2026Pika Labs releases open video model H3 Flex: 6 steps instead of 50
- Nov 1, 2026Hugging Face's BERT Tokenizer Gets a 50x Speedup by Skipping Needless Work on ASCII
- Nov 1, 2026Illinois compiled 12 151 open problems and tested whether AI can solve them
Key Questions Answered
What happened?
Hugging Face is the central repository holding more than a million ML models, used by virtually every AI company in the world. Hundreds of malicious models have been found among them, disguised as legitimate ones. This is the first major supply chain attack on AI infrastructure. The malicious models surfaced as a result of misconfigured security. Hugging Face lets any user upload models, and attackers took advantage of that. ClawHub, a repository of agent skills, has also been compromised through modules uploaded by users.
What are the key details on Scale of the attack?
Hundreds of malicious models on Hugging Face Hidden among more than a million legitimate models Affect developers' APIs and private projects ClawHub and other repositories are also compromised The first systematic attack on ML infrastructure
How the malware works?
The malware enters the model when it is loaded. When a developer downloads a model through the Hugging Face SDK or imports it into code, initialization takes place. That is the moment the malicious code runs. What it can do: execute arbitrary code on the machine, steal data from the developer's working environment, install backdoors for remote access, compromise production systems when an infected model is deployed, and spread to dependent projects through the dependency chain.
Test Frontier LLMs & Autonomous Agents in One Workspace
Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.
The AI world, distilled — once a week
Seven stories that actually mattered, hand-picked. No noise, no reposts, no press releases.
Done! Check your inbox for a confirmation.