PulseAugur
EN
LIVE 19:33:56

Malware found hidden in GGUF files for local LLMs

A security analysis has revealed that GGUF files, commonly used for local LLMs, can contain hidden malware. Researchers from Malspark discovered that malicious code can be embedded within the chat template or appended after the tensor data in these files. These attacks, which do not affect the model's weights or performance, were found in several models on Hugging Face, with some downloaded thousands of times. A Python script has been developed to scan GGUF files for these vulnerabilities before they are loaded by local LLM applications like Ollama or llama.cpp. AI

IMPACT Local LLM users must now scan GGUF files for embedded malware to prevent potential system compromise.

RANK_REASON Security vulnerability discovered in a common file format for local LLMs.

Read on dev.to — LLM tag →

AI-generated summary · Google Gemini · from 1 sources. How we write summaries →

Malware found hidden in GGUF files for local LLMs

COVERAGE [1]

  1. dev.to — LLM tag TIER_1 English(EN) · Ahmad Dogar ·

    A GGUF file can attack your agent: how to check one before you load it

    <p>On 26 November 2026 a security team called Malspark scanned 3.27 million public Hugging Face repos, 226,310 of them with GGUF files. They found five models carrying malware, downloaded 2,428 times by the next day. None of the attacks touched the weights. The models answered qu…