GGUF LLM Models with Hidden Malware on Hugging Face Reached 2400 Victims
Web page · https://malspark.com/blog/malicious-gguf-models-hugging-face
First seen by Oriel on .
AI summary
A scan of Hugging Face found five malicious GGUF repositories with 2,428 downloads, combining poisoned chat templates with hidden payloads; gguf-radar detects and removes these without changing model weights.
- The scan covered 3.27 million public repositories and 572,184 chat templates, using static analysis and HTTP Range requests rather than downloading model weights.
- Mir2k appended an 11.47 MB Windows RAT named ollie to two models, then changed their templates to print PowerShell commands that extract and run it.
- The timdedid campaign used a hidden template directive triggered by “What is” to tell coding agents to download and run an unrecovered script.
- gguf-radar checks templates and GGUF structure for hidden bytes, padding, zero-scale data, and polyglots, then rebuilds clean files with dequantized weights unchanged.
- The tool also checks Hugging Face links and templates in Safetensors and PyTorch models; checking zero-scale blocks requires a full local file.
#gguf #llm security #chat templates #malware
Generated by gpt-5.6-sol. Check the original for details.
Metric trends
Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained
Points
Score reported by the source.
- Hacker News: 318, latest observation ; +308 over observed period since
Comments
Comment count reported by the source.
- Hacker News: 98, latest observation ; +97 over observed period since
Aliases
| Source | External ID | URL |
|---|---|---|
| Hacker News | 50676752 | https://malspark.com/blog/malicious-gguf-models-hugging-face/ Read discussion |