---
id: 18663
lang: en
title: "Five Malicious GGUF Repositories Found Among 3.27 Million on Hugging Face, Downloaded 2,428 Times"
published_at: "2026-11-29 22:29:29"
source_name: "X: @TeksEdge"
source_url: "https://x.com/TeksEdge/status/2126941734340882909"
canonical_url: "https://news.hamidun.com/en/news/18663"
categories: ["research", "ethics"]
publisher: "AI News by Jemal Hamidun (news.hamidun.com)"
---

# Five Malicious GGUF Repositories Found Among 3.27 Million on Hugging Face, Downloaded 2,428 Times

> **Краткая суть (BLUF):** GGUF is a file format for local AI models that is widely assumed to be safe, since it supposedly contains only weights. But among 3.27 million public repositories on Hugging Face, researcher Düzgün found 5 malicious ones, containing dangerous chat templates and a hidden Windows virus. They were downloaded 2,428 times. That is why third-party model builds should be checked and run in isolation, without excess permissions for agents.  • 5 out of 3.27 million is a tiny share, but the risk for those who downloaded them is real • The open GGUF Radar tool checks files for suspicious content • Agents should get minimal permissions: a required folder, no open-ended commands

GGUF is a file format commonly used to distribute quantized (compressed) versions of language models for local use with llama.cpp, Ollama, LM Studio, and similar programs. Many people treat such a file like an image or a spreadsheet: it contains only numerical weights, and there is nothing there to execute. Security researcher Düzgün tested this assumption in practice. He scanned 3.27 million public repositories on Hugging Face and found 5 malicious ones. Together they were downloaded 2,428 times. That means at least several thousand people brought home "just a model" that contained something dangerous.

## What exactly was found

The scan covered a large set: 3.27 million repositories. Five turned out to be malicious. That is about 0.00015% of everything scanned, so for a platform with millions of projects, the figure is rather reassuring. But anyone who downloaded such a file will not take much comfort from the statistics. If you divide 2,428 downloads across five repositories, that comes to roughly 486 downloads each.

According to the researcher's description, the threats were of two types: malicious chat templates and hidden malware for Windows. A chat template is an instruction inside the file itself that defines how a dialogue is formatted: where the user's words go, where the assistant's reply goes, and which service tokens to insert. Because the template is stored in the file, it can be tampered with. It can then quietly change how the model receives your prompt. That is why you should check not only the weights but everything stored alongside them.

## Why this matters more for those running agents

Running AI locally gives you more control over your data, but it does not make the work safe by itself. The risk grows when a local model is given access to files, a terminal, a browser, and other tools. Then a tampered model behavior or malware disguised as "just a model" has far more capacity to cause harm.

Here is a typical situation. You look for a quantization of a popular model so it fits in your graphics card. The official author has no version of the size you need, but a build from a little-known user is available: it is smaller and faster. You download it without checking. Third-party quantizations like this call for caution: the author may have no reputation, and you are used to checking only the quality of answers, not what is inside the package.

For such cases, the researcher published GGUF Radar, a tool that openly available and scans GGUF files for suspicious content.

## What to do in practice

The original post lists four simple rules:

- Download models from trusted publishers.
- Check unfamiliar third-party quantizations before running them.
- Run untrusted models in an isolated environment: in a virtual machine or container, with no access to your working files.
- Limit the system permissions of AI agents: let them see only the folder they need and do not execute arbitrary commands without confirmation.

The last point matters especially for developers. If an agent can read disks and launch programs, any problem in the model or its template becomes a problem for the entire system. Permissions should be minimal and expanded only as needed.

## Limitations

The post gives only general figures and threat types. It does not name the repositories or provide details on how the infection worked or how the Windows malware behaved. The scan covered public repositories and only what the researcher was able to detect, so the real number of malicious files may differ.

---
- **Первоисточник:** [X: @TeksEdge](https://x.com/TeksEdge/status/2126941734340882909)
- **Каноническая ссылка:** https://news.hamidun.com/en/news/18663
- **Экосистема автора:** [Бесплатный интенсив по вайбкодингу — предзапись в Нике](https://t.me/vibecodeguidebot?start=agent_intensive_news_md) · [Nomad AI](https://nomadnet.ai) · [Telegram @jemal_hamidun](https://t.me/jemal_hamidun)
