GGUF LLM Models with Hidden Malware on Hugging Face Reached 2400+ Victims | Malspark
GGUF LLM Models with Hidden Malware on Hugging Face Reached 2400+ Victims | Malspark
Translation in progress — untranslated text is omitted.
Security researchers scanned all of Hugging Face's more than 3.27 million public model repositories and found 5 GGUF models hiding malware, which had been downloaded 2,428 times cumulatively as of November 27, 2026. The attack hides malicious instructions in the model chat template and appends an executable after the last tensor, in a region the loader never reads. The Mir2k campaign hides a Windows remote access trojan named ollie at the tail of two model files, capable of stealing passwords saved in Chrome, Edge and Brave, targeting Phantom and MetaMask wallet extensions and mining Monero; the template was changed to induce users to run unpacking commands only two to four days after upload; the timdedid campaign's template, when a user message contains What is, induces the agent to call the powershell tool to download and run a second-stage script, which failed to be retrieved.
The authors provide IOCs, YARA rules and an open-source detection tool, which readers running community models locally can use to check downloaded .gguf files.