Malicious GGUF models on Hugging Face infected 2,428 downloads
November 28, 2026
Attackers appended malware to the end of GGUF files and used poisoned chat templates to trick users into running commands. A scan identified 5 malicious repositories, including the Mir2k campaign which hid a Windows remote access trojan within the model files.
HOW THIS AFFECTS YOU
●
builderYou should use gguf-radar to scan model files for hidden bytes and suspicious chat templates before loading them.
●
policyYou need to watch how model file formats can be used to bypass traditional security scanning.