ToolNavs Find Useful AI Tools
Submit Sign in
Back to AI Q&A
Are GGUF Models from Hugging Face Safe? 5 Trojan-Hiding Models Were Taken Down

Are GGUF Models from Hugging Face Safe? 5 Trojan-Hiding Models Were Taken Down

AI Q&A • Admin • • 0 views

Are GGUF models downloaded from Hugging Face safe? First, the answer: the format itself is fine — but at the end of November 2026, 5 models hiding a trojan were just taken down. Before downloading, check the publisher and the chat template, and don't just run an "uncensored" build from an unknown source.

What happened at the end of November

Security researcher Root0ne scanned all 3.27 million-plus public model repositories on Hugging Face on November 26 and found 5 GGUF models hiding a Windows trojan. The findings were published via Malspark on November 27. Together the 5 models had been downloaded 2,428 times before Hugging Face removed them all. But as of November 28, a copy of one model was still live in Ollama's public library — taken down does not mean gone everywhere.

How the trojan was hidden

Two groups used different tricks. The Mir2k account uploaded two "uncensored" models on November 22 and 24 — one of them an uncensored build of Inkling-2-Mini — hiding an 11.47 MB Windows remote-access program after the last tensor: the model loader only reads the weight section and never touches it. On November 26 the group rewrote the chat templates so the model starts every reply with a PowerShell line; anyone who copies and runs it releases the trojan. The other account, timdedid, targeted agents: its template hid a fake system instruction — once the user's message contains a certain word, it lures an agent with shell access into downloading and running a script. The researcher also released the open-source scanner gguf-radar with the report.

Two places to check before downloading

First, the publisher: only use quantized builds from official or long-maintained, well-known accounts. Models from new accounts with names containing "uncensored" or "abliterated" should be left alone for now — be especially wary of new repositories that appeared in a cluster around November 22. Second, scan before running: use gguf-radar to check whether there is an extra program at the end of the file and whether the chat template contains suspicious instructions; if you already downloaded something, check it against the takedown list. And one iron rule: never paste and run any command that appears in a model's reply — the model itself won't hurt you, but its template may have been tampered with.

Recommended Tools

More