Five Malicious GGUF Models Hidden on Hugging Face: What to Check Today
A scan of 3.27 million Hugging Face repositories on November 26 found five malicious GGUF model files that had been downloaded 2,428 times before being disabled. Two uncensored GGUF uploads from an account called Mir2k contained an 11.47 MB Windows x64 remote access trojan called ollie, and the models' chat templates were rewritten so the model tells the user to run the line that unpacks the trojan.
What happened
A scan of all 3,273,389 public Hugging Face model repositories on November 26, 2026 found 5 malicious GGUF models with 2,428 downloads as of November 27. The five GGUF models hid a Windows remote access trojan or hijacked coding agents, with 2,428 downloads recorded by November 27.
The Mir2k account is new on Hugging Face and leaves French traces in its model card, system prompt, commit messages and malware strings. The two main models from this account—both "uncensored" GGUF quantizations—used two tactics: hiding executable code after the last tensor (which loaders never read) and embedding malicious instructions in the chat template.
The models' chat templates were rewritten on November 26 so that the model tells the user to run a PowerShell line that unpacks the trojan. When checked via Hugging Face's public API on November 29, all five were listed as disabled, though when and why they were disabled remains unconfirmed.
Who's affected and how the attack works
Hugging Face counts downloads, not people, so the number of affected users is lower or equal to 2,428. If you run models on your own machine with llama.cpp, LM Studio or Ollama, this one is worth checking.
The attack exploited how GGUF files work. GGUF headers declare exact byte offsets for every tensor, meaning runtimes only read the parts the header points to. One campaign appended a Windows remote access trojan after the last tensor, where loaders never look, and later changed the template to prompt the user to unpack it.
What you need to check right now
First, check if you downloaded any of them. The models were Mir2k's Huihui-Qwen3.5-9B-abliterated-GGUF and Inkling-2-Mini-Uncensored-GGUF, plus timdedid's qwen3.8-cyber-uncensored, qwen3-cyber-UNCENSORED, qwen3-cyber-UNCENSORED-2 and an Ollama copy.
Scan your machines using gguf-radar. Düzgün (Root0ne) released gguf-radar, an open-source scanner; install it with pip install git+https://github.com/Root0ne/gguf-radar and run gguf-radar scan ./model.gguf. It looks for hidden bytes and suspect templates without running either.
Review every GGUF's chat template yourself. In llama.cpp, pass a reviewed template with --chat-template-file; in Ollama, set TEMPLATE in your Modelfile. Mir2k uploaded the models with clean templates on November 22 and 24, then swapped in a template that tells the model to begin every reply with a PowerShell line—so templates can change after you download.
Download from trusted sources. The official org's GGUF if one exists, then a short list of well-known quantizers (ggml-org, bartowski, unsloth, lmstudio-community), or convert the official safetensors yourself.
If you think you may have run one of these models, look for d.exe in %TEMP%, the ollie folder in AppData Roaming, and a scheduled task that executes every 10 minutes. The Windows program sends saved passwords from Chrome, Edge and Brave, and targets the Phantom and MetaMask wallet extensions.
What's actually safe
When checked on Saturday, a copy of one model was still on Ollama's public library with its trap intact, a reminder that takedowns on one platform don't clean up mirrors. The scale is small—five models, 2,428 downloads—but the technique is old. Hiding malware inside model weights goes back to EvilModel in 2021.