Skip to content

AI News

Hugging Face GGUF Malware Report: What to Check Before Loading a Model

By Miles Park·

Security researcher Düzgün reported five Hugging Face repositories carrying malicious GGUF model files or chat templates on November 27. The report’s table totals 2,428 downloads. That measures download activity across the five repositories. The number of affected devices remains unverified. Malspark’s scan results.

We checked the public Hugging Face metadata for each repository in the report. All five responded with disabled: true. The check covered the repositories on Hugging Face. It could not account for copies already downloaded or posted on other services.

Hugging Face documentation example showing a repository malware warning and a flagged test file
Hugging Face’s documentation uses a standard test file to show the repository-wide warning and per-file badge. This is the platform’s illustration. Official Hub scanning documentation.

Why the chat template matters

GGUF can store model weights and metadata in one file. A chat template is metadata that tells a compatible runner how to format messages for the model. That puts text supplied by a model distributor inside the input seen by a coding assistant. The practical risk increases when the assistant can run shell commands or write files and a user approves an unexpected action. GGUF format specification.

What to check before loading a local model

  1. Verify the publisher and revision. Follow the original project’s release page. If you need a community quantization, check the converter’s identity, the upstream model and the revision it used. A familiar model name can appear in many unrelated repositories.
  2. Read the Hub warning and file details. A warning warrants stopping. Hugging Face notes that a missing badge can also indicate a scan is queued, in progress, or has errored. Hugging Face scan states.
  3. Start with the model in plain chat. Use a disposable workspace and keep shell, network and file-writing tools disabled at first. If the model proposes a download or command unrelated to your prompt, stop and review where the model and its template came from.

The report included a community upload labeled as an Inkling variant. Our separate Inkling 2 Mini setup guide points to the original release and its hardware requirements.

Story lead from JoCoding’s AI news recap. Watch the original segment.

Join the discussion

Your email address will not be published. Required fields are marked *