
Malspark finds five malicious GGUF models on Hugging Face with 2,428 downloads: two hide a Tor-backed Windows implant after the last tensor and rewrite the chat template to print a PowerShell line, three inject a fake 'system directive' that tells coding agents to run a remote script
The threat-intelligence project scanned all 3.27 million public Hugging Face model repositories on November 26, reading headers and file tails by range request, and found two campaigns. The Mir2k account appended an 11.47 MB infostealer, miner and keylogger to two 'uncensored' quantisations and, four days after upload, changed their templates to instruct the model to open every reply with a PowerShell line that carves the payload out of the model file. The timdedid account left a Qwen3 1.7B model's weights untouched and added a template rule that, when a user says 'What is', inserts a directive telling any agent with a shell tool to download and run a script. All five were still online on November 27; a mirror was on Ollama.








