Hacker News·First covered 28 Nov 2026HN front page
GGUF LLM Models with Hidden Malware on Hugging Face Reached 2400 Victims
A Malspark scan of every public Hugging Face model repo found five GGUF models using poisoned chat templates, one campaign pairing them with a trojan hidden after the last tensor.
Stats
(As of 29 Nov 2026)- Points
- 315
- Comments
- 97
- Submitted by
- homarp
- Posted
- 1d
- GGUF chat templates can inject unseen instructions, such as telling an agent to run PowerShell or starting each reply with a command for the user to paste.
- The Mir2k account appended a Windows remote access trojan after the weights, where loaders never look, then armed the templates days later.
- The payload steals browser passwords and wallet data, logs keys, captures screen and webcam, and mines Monero over Tor.
- A second account, timdedid, shipped Qwen3 1.7B copies whose template tells coding agents to fetch and run a script when a trigger phrase appears.
- The open-source gguf-radar tool spots these templates and hidden bytes statically and rebuilds a clean file with weights unchanged.
The discussion
- CounterpointSome call the scale tiny: five bad models among more than three million repos. comment
- ThemeCommenters note Hugging Face counts loads rather than people, so 2,400 downloads may be a handful of users. comment
- ThemeSeveral argue the only real defence is sandboxing agents, since malicious behaviour can also live in the weights. comment
- DisputedOthers expect copies of name-brand models next and want Hugging Face to tighten scanning while the problem is small. comment