GGUF LLM Models with Hidden Malware on Hugging Face Reached 2400 Victims
Researchers discovered 5 malicious GGUF language model files on Hugging Face with approximately 2,428 downloads that contained hidden malware, including a Windows remote access trojan, embedded within the model files and activated through poisoned chat templates. The attack method exploits GGUF file structure by hiding malicious code after the model weights where loaders typically don't read, then using chat templates to trick users into executing commands. A new open-source tool called gguf-radar can detect and clean these compromised models without running them.