Malicious GGUF Models on Hugging Face Reportedly Reached 2,400 Victims
A blog post from malspark reports that malicious GGUF model files distributed through Hugging Face reached roughly 2,400 victims, according to the write-up circulating on Hacker News. GGUF is the single-file format used by llama.cpp and many other local inference tools to package open-weight models, so downloading one means pulling a multi-gigabyte blob from a public, largely user-uploaded hub and executing it locally.
The report frames the campaign as a security problem for open-weight model sharing rather than a vulnerability in a specific inference engine. Details beyond the victim count — which repositories were involved, how the payload executed, and whether the files have been removed — are not established by the available account.
Verified and unconfirmed
- Verified: Malspark’s report states that a 26 November 2026 scan of all 3,273,389 public Hugging Face model repositories found five malicious GGUF models with 2,428 downloads as of 27 November, split between two actors; the larger Mir2k campaign allegedly hid a Windows remote-access trojan named ollie at the end of two model files and rewrote their chat templates to print the command that unpacks it, while a second actor, timdedid, poisoned chat templates aimed at agents.
- Not yet confirmed: No independent outlet or Hugging Face has confirmed the scan’s findings or what, if anything, was removed; the 2,428 downloads do not establish 2,400 actual victims, since a download need not mean execution, and the operators’ identities and the trojan’s real-world success remain unverified.
Background
GGUF is the file format used by llama.cpp and many other local inference tools to package a model’s weights together with metadata, including the chat template that converts a conversation into the exact prompt the model receives. Hugging Face repositories are user uploads, so fetching a GGUF file and pointing a runtime at it has become routine: AI Daily Radar’s November 24 digest, for example, covered a GGUF quantization release published on the site. That combination — an execution-oriented format plus an open upload hub — is why researchers treat templates and other metadata as an attack surface separate from the weights themselves.
Why it matters
Anyone who downloads and runs a GGUF file from a public hub is trusting an uploader they cannot audit, and the practical mitigation is containment rather than patching: run local models in a sandboxed VM or container with limited network access and no credentials mounted. Commenters stressed that the reported vector did not depend on a bug in the inference software, so an updated llama.cpp build would not by itself protect a user who loads a tampered model.
Further reading
- GGUF Malware: 5 Models, 2,428 HF Downloads (Nov 2026 …
- Hidden Malware in GGUF Models on Hugging Face Reached 2,400 …
- Scan finds five malicious GGUF models on Hugging Face
- 2026-11-24 — NariQ 发布 Qwen3.8-27B 低比特量化,10 GB 文件声称接近 BF16
Community discussion: opinion, not evidence
Commenters largely agreed that the only durable defense is strong sandboxing, with one describing a deliberately paranoid setup that runs llama.cpp inside a network-restricted VM. Several pushed back on treating the reported incident as only a metadata trick: one argued the same instructions could be encoded directly in the weights, another noted that instructions hidden in a chat template are cheap to plant and hard to spot, and another said the deeper worry is subtle backdoors that trigger when the model detects it is being driven by an agent on a sensitive system.
Comments
Comments use a GitHub account and are moderated. Comment rules