HeadlinesBriefing HeadlinesBriefing.com

Hugging Face GGUF Malware Scan Finds 5 Infected Models

Hacker News •
×

Local LLMs shared as GGUF files are vulnerable to chat template poisoning, where hidden instructions are injected into the model's prompt processing. A scan of 3.27 million public Hugging Face repositories on November 26, 2026, identified 5 malicious GGUF models with 2,428 total downloads. The largest campaign, Mir2k, distributed two uncensored models containing a Windows remote access trojan named "ollie" hidden at the end of each file.

These models rewrote their chat templates to prompt users into executing unpacking commands. The open-source tool gguf-radar can detect and remove these hidden templates and bytes without altering model weights, restoring clean files. Antivirus solutions often miss these threats as they reside beyond the readable tensor section of the GGUF file layout.

Users who downloaded affected models should check endpoints against published indicators and use gguf-radar to scan local .gguf files. The attack vectors include modified chat templates that insert fake system directives and hidden data appended after the last tensor, exploiting how runtimes like llama.cpp read byte ranges defined by headers while ignoring trailing data.

Source: Hacker News · Summarized by HeadlinesBriefing