The Research Report
Malicious Hugging Face Model Hits 244K Downloads
Source: HiddenLayer Research Advisory
Via: CSO Online
For End Users
A fake AI model on Hugging Face downloaded malware to 244,000 machines.
The repository posed as an OpenAI release called Privacy Filter. It copied the real model card almost word-for-word. It reached the #1 trending position on Hugging Face in under 18 hours. Those download numbers were artificially inflated to make it look legitimate.
The malicious file was loader.py. It looked like a normal model setup script. It disabled SSL verification, fetched a remote payload from a JSON hosting service, and passed commands to PowerShell. The infection chain deployed a Rust-based infostealer targeting browser credentials, Discord data, crypto wallets, and system information.
If you cloned the repository and ran start.bat or python loader.py on Windows, treat your system as fully compromised.
Browser sessions should also be considered compromised. Stolen session cookies can bypass multifactor authentication.
For Engineers and Researchers
The loader.py script executed decoy code resembling a legitimate model loader before launching a concealed infection chain. It decoded a base64-encoded URL pointing to jsonkeeper.com, retrieved remote payload instructions, and passed them to PowerShell.
The PowerShell command downloaded a batch file from an attacker-controlled domain and established persistence via a scheduled task mimicking a legitimate Microsoft Edge update process.
The Rust-based infostealer targeted Chromium and Firefox browsers, Discord local storage, cryptocurrency wallets, FileZilla configurations, and host system information. It disabled Windows Antimalware Scan Interface and Event Tracing for Windows. It checked for sandbox and virtual machine environments to evade analysis.
HiddenLayer identified six additional Hugging Face repositories under a separate account using nearly identical loader logic and shared infrastructure. The researchers linked elements to earlier npm typosquatting campaigns and fake AI packages on PyPI.
Traditional software composition analysis tools are not built for AI artifacts. IDC predicts that by 2027, 60% of enterprises deploying agentic AI systems will require an AI bill of materials for continuous vulnerability scanning.
The Skeptical Take
Hugging Face removed the repository after HiddenLayer reported it. But 244,000 downloads in 18 hours with artificially inflated metrics exposes a platform moderation gap. The repository hit #1 trending before anyone flagged it.
The attack vector is not novel. Typosquatting and fake packages have plagued npm and PyPI for years. What is new is the target: AI practitioners who trust model registries implicitly. The assumption that a trending repository with 667 likes is safe is the vulnerability.
Supply chain security for AI lags behind traditional software. The tools exist. The discipline does not.
Word count: ~380
Written at: 2026-05-13T01:38:00Z