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.
- Dec 2, 2026Qwen3.8-27B at 4-Bit Quantization Weighs 16.6 GB Instead of 55 GB: How to Read the Filename
- Dec 2, 2026T-Decision-1 9B scores 71.6 points and beats a model six times its size
- Dec 2, 2026T-Decision-1 with 9B Parameters Beats Copernicus-57B on Russian: 71.6 vs. 71.2 Points
- Dec 2, 2026DeepMind Releases CellGemma: A Cell Model 6x Smaller Than Its Predecessor That Runs on a Single GPU
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.
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.
Daily 60-sec AI Voice Brief + Weekly Production AI Agent Playbook
Listen to a 60-second AI news brief every morning and get a weekly hands-on playbook for shipping AI agents to production — tools, MCP servers and patterns that work. Curated by Jemal Hamidun, Head of AI at Alpina Digital.
