5 malicious GGUF models were found in public Hugging Face model repositories. They hid malware at file ends or used chat templates to prompt execution, exposing local model users and coding agent users to risk. Malspark said GGUF Radar can inspect models and templates without running them, using static inspection to examine their structure.

1. Five models found in public repositories

Malspark surveyed 3,273,389 public Hugging Face model repositories on November 26, 2026. It inspected 226,310 GGUF repositories and 572,184 chat templates without execution, classifying 5 repositories as malicious. According to the company, their combined downloads reached 2,428 on November 27.

Download counts as of November 27, 2026, for 5 public Hugging Face model repositories classified as malicious by Malspark

Downloads by malicious model repository (downloads)Mir2k/Huihui-Qwen3.5-9B-abliterated-GGUF: Downloads 1488; Mir2k/Inkling-2-Mini-Uncensored-GGUF: Downloads 458; timdedid/qwen3.8-cyber-uncensored: Downloads 271; timdedid/qwen3-cyber-UNCENSORED-2: Downloads 136; timdedid/qwen3-cyber-UNCENSORED: Downloads 75Mir2k/Huihui-Qwen3.5-9B-abliterated-GGUF1488Mir2k/Inkling-2-Mini-Uncensored-GGUF458timdedid/qwen3.8-cyber-uncensored271timdedid/qwen3-cyber-UNCENSORED-2136timdedid/qwen3-cyber-UNCENSORED75
Downloads by malicious model repository (downloads)
Downloads by malicious model repository (downloads)
RepositoryDownloads
Mir2k/Huihui-Qwen3.5-9B-abliterated-GGUF1488
Mir2k/Inkling-2-Mini-Uncensored-GGUF458
timdedid/qwen3.8-cyber-uncensored271
timdedid/qwen3-cyber-UNCENSORED-2136
timdedid/qwen3-cyber-UNCENSORED75

Two repositories were linked to the Mir2k account and three to timdedid. Mir2k models prefixed responses with execution commands to encourage users to copy them. The timdedid models reacted to matching messages, prompting a coding agent's shell tool, which runs typed commands, to download scripts.

According to Malspark, downloads stood at 1,502 during inspection and rose to 2,428 the next day. The table compiled that day also shows downloads concentrated in Mir2k's two models. These two models accounted for most of the daily increase.

2. Attacks hidden in templates and after tensors

A chat template is a small program that formats conversations for a model. Stored in GGUF metadata, or supplementary file information, it is applied whenever a response is generated. Attackers used this feature to add invisible instructions to conversations. When a user's message contained a specific phrase, timdedid models inserted fake system instructions telling the agent to download and run a script.

Another hiding place is after the final tensor, a block of numerical weight data that determines model behavior. The file header and tensor table define the model data boundaries, so the runtime, the environment that executes the program, does not read bytes appended beyond them. Mir2k placed Windows executables there and later changed the templates to prompt execution.

According to Malspark's analysis, Mir2k used a clean template when uploading a model on November 22 and registered a second model the same way on November 24. On November 26, the two templates were changed in sequence to activate execution instructions. Thus, previously downloaded files already contained malicious executables, but their templates did not yet prompt execution.

3. Infection process and confirmed capabilities

The weaponized templates inserted a French system message telling the model to begin every response with a specific command. The command finds a GGUF file in the user profile and reads its tail to create an executable in a temporary folder. The first model read 11,474,944 bytes starting 12,000,000 bytes before the end. The second read and decompressed the final 4,200,000 bytes.

The executables hidden in both models were the same 11.47MB Windows 64-bit program. Malspark found that most of its size came from a 10.25MB copy of Tor 0.4.9.16. The analysis confirmed capabilities targeting browser passwords and wallet information, as well as mining Monero when idle.

4. Inspecting and sanitizing with GGUF Radar

GGUF Radar is a public tool that inspects file structure and templates without running models or templates. It downloads only the required portions of Hugging Face models and detects data appended after GGUF tensors. According to its repository documentation, results are classified as clean, suspicious, malicious, or read errors to help identify cases for further review.

The tool can also create sanitized copies of suspicious GGUF files. Its repository documentation says sanitized copies retain the original model weights. The following local inspection and sanitization commands appeared in the source article.

gguf-radar scan ./model.gguf
gguf-radar sanitize suspicious.gguf -o clean.gguf

However, Malspark said checks for certain concealment methods within weights require the entire file and are only available locally. It could not obtain the follow-up script in the timdedid attack, so what it installs remains unconfirmed.

5. What changes for developers and model users

Users downloading local models should inspect templates as well as weights. In development environments with shell tools connected to agents, instructions hidden in templates can lead to tool execution even if they look like normal model responses. GGUF Radar can help automate file inspection and sanitized copy creation.

Inspection allows hidden data and template instructions to be examined before running a model. Remote inspection reduces the bandwidth needed to download all weights, while using sanitized copies adds the burden of storing and managing separate files.

This case shows that checking model weights alone is insufficient: supply chain inspection must also cover templates and file structures distributed with models.