daily brief · Dec 01, 2026
Malicious GGUF Models on Hugging Face Hid Malware in Chat Templates: What Local AI Users Should Do
Five Hugging Face GGUF models hid a Windows RAT and agent-hijacking chat templates, with 2,428 downloads. Check your models and how to stay safe.
If you downloaded an “uncensored” or “cyber” GGUF model recently, check it against these five repos: Mir2k/Huihui-Qwen3.5-9B-abliterated-GGUF, Mir2k/Inkling-2-Mini-Uncensored-GGUF, and three timdedid/qwen3-cyber-UNCENSORED variants (including qwen3.8-cyber-uncensored). Delete them, never run a command a model tells you to run without reading it, and give local models a reviewed chat template (--chat-template-file in llama.cpp, TEMPLATE in an Ollama Modelfile) when they can use tools.
The model answered your questions just fine. That was the trick. Researcher Root0ne at Malspark scanned all 3.27 million public Hugging Face model repos on November 26 and found five GGUF models whose hidden chat templates quietly added instructions you never see. The Mir2k models stashed a Windows remote-access trojan, dubbed “ollie,” after the last tensor of the file, where loaders never look, then told the model to open replies with a PowerShell line that would unpack it. The timdedid models used a trigger phrase to slip a fake system directive to coding agents with shell access, ordering them to download and run a script. Together they logged 2,428 downloads (downloads, not confirmed infections). CuriousLM found all five disabled on Hugging Face by November 28, though a timdedid copy on Ollama’s model library was still up (CuriousLM didn’t check whether it carries the same template). Malspark’s free gguf-radar tool scans files without running them.
Quick answers
Can a GGUF model infect my computer just by loading it?
Not in these cases. Both tricks needed a person, or an agent with shell access, to run a command the model produced. That's why reviewing suggested commands matters.
Are Safetensors models safe from this?
Partly. Safetensors files can't hide extra bytes the same way, but their chat templates can still be poisoned, so the template advice applies to them too.
malicious GGUF models Hugging Face malwaresecuritychat template poisoningHugging Face malwarelocal LLM securityOllamallama.cppgguf-radarAI supply chain attackcoding agent hijackinguncensored models
More on: Meta · Open-weight models · AI agents · AI coding · AI security · All Security briefings