Malspark Reports Five Suspected Malicious GGUF Repositories on Hugging Face
Malspark reports five suspected malicious GGUF repositories among 3,273,389 public Hugging Face repositories scanned, with 2,428 downloads.
Malspark, published via malspark.com with no individual author named, reports that a scan on 26 November 2026 found five suspected malicious GGUF repositories among 3,273,389 public model repositories, tied to two actors and associated with 2,428 downloads as of 27 November. The report was shared on Hacker News (141 pts).
What Is Reported
The report says the scan identified five malicious GGUF repositories associated with two actors. It describes the largest campaign, attributed in the report to Mir2k, as involving two uncensored GGUF models containing a Windows remote access trojan named ollie appended after the model data. The report says both templates were rewritten on 26 November to ask users to run a line that unpacks the hidden payload.
The report also describes template-based activity in models attributed to timdedid. A trigger phrase reportedly causes a template to add a fake [SYSTEM DIRECTIVE] instructing an agent with shell access to download and run a script.
Inside the Architecture
A GGUF chat template is a small Jinja2 program stored in model metadata. The runtime applies it to the conversation before the model receives the resulting text. According to the report, the described attacks use ordinary template logic to add instructions that do not appear in the chat window. The report says the attacks do not rely on escaping the restricted template engine used by C++ runtimes such as llama.cpp and LM Studio.
The report says GGUF files can also contain bytes after the last tensor, beyond the data ranges defined by the header and tensor table. Runtimes do not read those trailing bytes as model data. In the Mir2k examples, the report describes one appended Windows program followed by about half a megabyte of filler, and another copy compressed with raw Deflate.
Operational Impact & Analysis
The reported 2,428 downloads are platform download counts, not a tally of affected individuals. Malspark notes that the number of people who downloaded the models is lower than or equal to that figure. The report recommends checking endpoints against its indicators and scanning local .gguf files with gguf-radar.
Malspark describes gguf-radar as an open-source tool that detects suspicious templates and hidden bytes without running them, then rebuilds a clean GGUF file while leaving model weights unchanged. These are descriptions and recommendations from the report, not independent findings by Tech Horizon.
Administrative & Industry Context
Chat templates are not exclusive to GGUF. The report says Safetensors and PyTorch models can carry templates in separate files, such as tokenizer_config.json or chat_template.jinja. It distinguishes this from the trailing-byte technique, which it says is specific to GGUF; the Safetensors loader rejects files whose declared tensors do not fill the file exactly.
Key Takeaways
- Malspark reports five suspected malicious GGUF repositories tied to two actors.
- The scan covered 3,273,389 public model repositories on 26 November 2026; the reported models had 2,428 downloads as of 27 November.
- The report describes both hidden template instructions and payloads appended after GGUF model data.
- Download totals do not identify unique users, and Tech Horizon has not independently verified the report's claims.
Sources & References
Malspark, report on malicious GGUF models on Hugging Face. No individual author is named in the source text.
Stay Ahead of Key Tech Developments
Join engineers and tech professionals receiving our weekly analysis on silicon, cloud infrastructure, and AI systems. No spam.
Illustrative Imagery: Visual assets may feature conceptual photography or editorial illustrations for contextual reporting.
Editorial Corrections & Inquiries: Tech Horizon is committed to journalistic accuracy. If you believe any reporting on this page requires correction or update, please contact publisher Ibrahim Haddad at [email protected]. Submissions are reviewed and addressed promptly within 24 to 48 hours.