What matters in AI.

Subscribe

A scan finds malware in 5 Hugging Face models with 2,428 downloads

2 of the models have a remote access trojan, code that gives an attacker control, in the model file.

On 26 November 2026, a scan examined all 3,273,389 model repositories that are open to all on Hugging Face. It found 5 GGUF models with malware, and the models had 2,428 downloads as of 27 November. The count is of downloads and not of users. The number of users with a problem is equal or lower.

How it works

Each GGUF file holds a chat template, a small piece of code that makes the text that the model reads. The attack makes the chat template add instructions that the user cannot see. One model tells the user to operate a PowerShell line, which is a Windows command.

The malware is after the last part of the model data, where the loader does not read.

The numbers

  • 3.27 million repositories examined.
  • 5 models with malware are online, from 2 attackers.
  • 2,428 downloads, up from 1,502 one day before.

Almost all of the new downloads were on the 2 models of the attacker Mir2k.

What is not known

The number of users with a problem is not known. It is not known if a user operated the line. The tool gguf-radar examines files and does not operate the model, but antivirus tools do not find the compressed payload.

Insight: A clean model today can turn bad later

Mir2k put the code in 2 models on 22 and 24 November with clean templates. It changed the templates of the 2 models on 26 November. In a test of the tool ModelShield, ModelScan found only 29% of 41 models with malware. The attacker seems to wait and then attack. A check on the day of download can show a clean model. Examine files again at each use.

Sources

  1. GGUF LLM Models with Hidden Malware on Hugging Face Reached 2400 Victimsmalspark.com
AI MATTER · NEWS · AI MATTER · NEWS ·28 NOV2026

Posted

Learn the terms in this story

Guides for this story

More in Security

All Security news