Five Malware-Laden GGUF Models on Hugging Face Collected 2,428 Downloads Before Takedown
Logged · Source: himiao.ai ↗
The template was rewritten as a French system message telling the model to open every reply with one PowerShell line... it finds the largest .gguf file in the user profile, reads its trailing bytes, writes them to %TEMP%\d.exe and starts it.
Between November 21 and 24, two accounts published five GGUF models on Hugging Face carrying hidden malware: one group appended a Windows remote-access trojan called ollie after the last tensor (where GGUF loaders never look), and a second group poisoned the chat template so that any user message containing "What is" silently inserted a fake system directive ordering an AI agent to download and run a PowerShell script. The trojan weighed 11.47 MB, of which 10.25 MB was an embedded Tor client; it stole saved passwords from Chrome, Edge, and Brave, targeted MetaMask and Phantom crypto wallets, logged keystrokes, captured screenshots and webcam feeds, and mined Monero while the machine sat idle. One account also pre-registered 12 placeholder repositories named after unreleased models — Qwen4-27B, DeepSeek-V4, Llama-4-Scout — apparently to harvest searchers looking for new releases.
Security researcher Root0ne published the findings on November 27 alongside an open-source scanner, gguf-radar, and four YARA rules. Hugging Face disabled all five repositories at 14:22 CET on November 28, by which point the download counter had reached 2,807 — though Hugging Face counts every GET or HEAD request without deduplicating by user, so actual infections are unknown. A copy of one model remained live in Ollama's public library with 42–60 additional downloads at the time of reporting. Hugging Face has not issued a public statement.