# Malware in Hugging Face GGUF models: which ones and how to stay safe

Five poisoned GGUF models on Hugging Face hit 2,428 downloads by Nov 27, 2026. One drops a Windows password stealer. The list and safety steps.

URL: https://aitoolsthisweek.com/hugging-face-gguf-malware
Published: 2026-11-28T15:21:26.689Z
Updated: 2026-11-28T15:21:26.689Z

**Five AI model files on Hugging Face were found carrying hidden malware instructions, and they had been downloaded 2,428 times by November 27, 2026.** Two of them hide a Windows trojan that steals saved browser passwords and crypto wallets. If you run local AI models with llama.cpp, LM Studio or Ollama, check the list below and change one habit: never run a command a model hands you without reading it.

The findings come from security researchers at Malspark, who scanned all 3,273,389 public model repositories on Hugging Face on November 26. The story is trending on Hacker News today.

## The malicious models

| Repository | Group | Downloads (Nov 27) |
|---|---|---|
| Mir2k/Huihui-Qwen3.5-9B-abliterated-GGUF | Mir2k | 1,488 |
| Mir2k/Inkling-2-Mini-Uncensored-GGUF | Mir2k | 458 |
| timdedid/qwen3.8-cyber-uncensored | timdedid | 271 |
| timdedid/qwen3-cyber-UNCENSORED-2 | timdedid | 136 |
| timdedid/qwen3-cyber-UNCENSORED | timdedid | 75 |

There is also an Ollama mirror called `timdedid/qwen3-1.7b-cyber`. Download counts are downloads, not people, so the number of victims is the same or lower. All five repositories were still listed on Hugging Face when we checked on November 28.

Important: the trending **Inkling 2 Mini** model from Thinking Machines and other quantized copies under different account names are not in the report. The problem is the Mir2k upload that borrows the name. Our [Inkling 2 Mini guide](/inkling-2-mini) covers the official release from thinkingmachines.

## How the attack works

A GGUF file holds the model's weights plus a **chat template**, a small script your app applies to every prompt. Malspark calls the attack "chat template poisoning": the model answers normally while the template quietly adds instructions you never see.

- **Mir2k ("plant first, arm later"):** the account created 14 repos on November 22, most of them empty placeholders named after expected releases. The templates were clean at upload. On November 26 they were changed so every reply starts with a PowerShell line that pulls a hidden program out of the model file and runs it. The program, called "ollie", is an 11.47 MB Windows trojan that hides from sandboxes, survives restarts, talks to its operator over Tor, steals browser passwords, targets Phantom and MetaMask wallets, logs keys, takes screenshots and webcam shots, and mines Monero when the PC is idle.
- **timdedid (aimed at AI agents):** three identical Qwen3 1.7B models marketed to security users. When your message contains "What is", the template inserts a hidden order telling an AI agent with a PowerShell tool to download and run a script in a hidden window. The README even tells users not to replace the built-in template. The script itself was not recovered, so what it does is unknown.

Hugging Face runs a malware scanner on files under 2 GB, but Malspark says antivirus tools and checks that only look at the end of a file can miss payloads hidden this way.

## How to stay safe with local models

1. **Download from the source.** Prefer the model maker's own repo or long-established quantizers. Be extra careful with brand-new accounts offering "uncensored" or "abliterated" versions of hot models.
2. **Read before you run.** Treat every command a model suggests as untrusted, especially PowerShell or `curl … | sh` lines.
3. **Use your own template.** In llama.cpp, pass a reviewed template with `--chat-template-file`; in Ollama, set `TEMPLATE` in your Modelfile.
4. **Limit your agents.** Don't give an AI agent shell access with a model you haven't vetted.
5. **Scan files.** Malspark released an open-source scanner, gguf-radar, that checks templates and hidden bytes without running the model.
6. **If you ran one of these models on Windows,** check the indicators in section 7 of the Malspark report, run a full security scan and change saved passwords and wallet keys from a clean device.

New to running AI on your own computer? See [on-device vs cloud AI](/on-device-vs-cloud-ai), [AI models on your phone](/ai-models-on-your-phone) and our look at the local engine [Magnitude](/what-is-magnitude).

## Frequently asked questions

### Can a GGUF model file infect my computer by itself?

Not by just loading it, according to the Malspark report. The weights are not a program. The danger is the chat template inside the file, which can make the model output a command for you (or an AI agent) to run. Running that command is what installs the malware.

### Which Hugging Face models were malicious?

Malspark lists Mir2k/Huihui-Qwen3.5-9B-abliterated-GGUF, Mir2k/Inkling-2-Mini-Uncensored-GGUF, timdedid/qwen3.8-cyber-uncensored, timdedid/qwen3-cyber-UNCENSORED-2 and timdedid/qwen3-cyber-UNCENSORED, plus an Ollama mirror named timdedid/qwen3-1.7b-cyber. Other accounts with similar model names are not part of the report.

### Doesn't Hugging Face scan for malware?

Yes. Hugging Face runs every file under 2 GB through a malware scanner on each commit. Malspark says antivirus engines and checks that only look at the end of a file can miss these payloads, which is why the poisoned files got through.

## Sources

- [Malicious GGUF models on Hugging Face (Malspark, Nov 27, 2026)](https://malspark.com/blog/malicious-gguf-models-hugging-face/)
- [Malware Scanning (Hugging Face Hub docs)](https://huggingface.co/docs/hub/security-malware)
- [Hacker News discussion (Nov 28, 2026)](https://news.ycombinator.com/item?id=50676752)
