Skip to content
ΠΕΡΑ+applied imagination
NewsroomLet’s talk ↗

Governments & strategy / 29 November 2026

Malicious GGUF files: the trap can hide in a model’s instructions

Malspark reports five repositories with 2,428 downloads. Downloads are not confirmed victims.

GGUF file layout showing the chat template and data appended after model weights.
Malspark diagram distinguishing locations observed in attacks from laboratory-only demonstrations. It does not imply that every GGUF file is malicious. Malspark / @Root0ne, GGUF anatomy, Νοέμβριος 2026 · Original publication · Complete figure retained, technical JPEG conversion. Neutral padding in share derivative.

Malspark reports finding five malicious GGUF model repositories with 2,428 downloads by November 27, 2026. That total measures downloads, not confirmed infected computers or distinct people.

The attack combines altered chat templates with hidden data. A template formats the conversation before the model reads it, allowing instructions to appear outside the messages normally visible to users.

In the cases described, the model prompts a person to execute a command or attempts to redirect an agent with tool access. Loading the weights alone is not equivalent to automatically executing the hidden program.

Inspection without execution

The accompanying GGUF Radar inspects files and templates without running the model or its contents. Its repository distinguishes clean, suspicious, malicious and unreadable results, and describes creating sanitised copies.

The diagram separates mechanisms observed in attacks from laboratory demonstrations of concealed data. That distinction limits the claim: the research does not establish that all GGUF files are dangerous or that every download caused an infection.

The case adds another layer to local-model supply-chain checks. Trust extends to the instructions packaged with the weights, particularly when an agent can act on a computer.

Our sources

AI tools assist our editors. Articles are published after human approval. Practical examples are ΠΕΡΑ analysis unless stated otherwise. How we work

GGUFHugging Facecybersecurity