Malspark reports malicious GGUF models on Hugging Face, 2428 downloads
Malspark reports five malicious GGUF models on Hugging Face with 2428 downloads; check local .gguf files against its published indicators.
- Published
- Ecosystem
- AI developer toolsOpen source
- Exploitation
- Not confirmed independently. Malspark reports 2428 downloads of the models but says this counts downloads, not infected users.
What happened
Malspark, the only outlet carrying this story, reports that it scanned all 3273389 public Hugging Face model repositories on 26 November 2026. It says it found 5 malicious GGUF models with 2428 downloads as of 27 November. Malspark says Hugging Face counts downloads, not people, so the number of affected users is lower than or equal to that figure. Malspark
Malspark attributes the models to two actors. These are its own findings; no independent verification, Hugging Face statement or removal notice appears in the source. Malspark says all five repositories were still online on 27 November. Malspark
- Mir2k (two models): Malspark says these two uncensored GGUF models hide a Windows remote access trojan it names ollie after the last tensor in the file. It says one copy is plain and one is compressed with raw Deflate. The post says the account first uploaded the models with clean templates. On 26 November it replaced both templates with ones that tell the model to begin every reply with a PowerShell line. That line reads the hidden bytes from the model file on disk, writes them to %TEMP%\d.exe and starts them. Malspark says the user has to copy and run that line. Malspark
- timdedid (three models): Malspark says the templates use a trigger phrase to insert a fake [SYSTEM DIRECTIVE] that tells an agent with shell access to download and run a script. It says the second stage was not recovered. Malspark
Malspark lists these repositories and download counts:
- Mir2k/Huihui-Qwen3.5-9B-abliterated-GGUF: 1488
- Mir2k/Inkling-2-Mini-Uncensored-GGUF: 458
- timdedid/qwen3.8-cyber-uncensored: 271
- timdedid/qwen3-cyber-UNCENSORED-2: 136
- timdedid/qwen3-cyber-UNCENSORED: 75
Of the ollie implant, Malspark’s static analysis says it exits if it detects virtual machine or sandbox artifacts. It also says the implant sets up persistence, embeds Tor, and sends saved browser passwords to its operator over an onion service. The source text available to us is cut off partway through this description, so further capabilities are not confirmed here. Malspark says its attempted UAC bypass fails because of a coding flaw. Malspark
Not confirmed: how many people were actually infected, whether the models were run with the armed templates, what the timdedid second stage does, and whether Hugging Face has acted. No CVE is cited in the source.
Am I affected?
Per Malspark, you may be affected if you downloaded any of the five repositories listed above. Malspark says downloads of the Mir2k models made before 26 November contain the payload but not the trigger, because the templates were armed later. Malspark
Malspark says antivirus engines and checks that only look at the last few kilobytes of a file do not see the compressed payload. A clean scan from those tools therefore does not rule out the issue, according to Malspark. Malspark
Malspark says chat template poisoning is not unique to GGUF, because Safetensors and PyTorch models carry a similar template in a separate file such as tokenizer_config.json or chat_template.jinja. The five malicious models it found are all GGUF. Malspark
What to do now
- Check whether you or your team downloaded any of the five repositories named above.
- Compare your endpoints against the indicators of compromise in Section 7.2 of the Malspark post. The post also provides YARA rules (Section 7.1). Malspark
- Scan local .gguf files with gguf-radar, the open-source tool Malspark says detects these templates and hidden bytes without running anything. It also says the tool can rebuild a clean GGUF file with the weights unchanged. Malspark
- Do not run PowerShell lines a model prints at the start of a reply, since that is the mechanism Malspark describes for the Mir2k models.
- Treat these findings as a single-source report until Hugging Face or another party confirms them, and watch for updates.