Hidden Malware in GGUF Models on Hugging Face: What to Check
A Nov 2026 scan of Hugging Face named five GGUF models that hid a Windows trojan or a poisoned chat template. This guide checks the report against the Hub, the GGUF specification and the scanner it recommends, and says what you should do.
There are no affiliate links in this guide.

| Subject | Malspark GGUF malware report |
| Platform | Hugging Face Hub |
| Flagged | 5 repositories, 2 accounts |
| Status | All 5 disabled, Nov 29 |
| Evidence | Report plus Hub API and docs |
Five community GGUF models were flagged for hidden malware or poisoned chat templates. All five are now disabled on Hugging Face, and the real risk is smaller than the headline but not zero.
A model file can carry more than weights, and a chat template can tell an agent what you never see.
What happened. On Nov 27, 2026 the security site Malspark published a scan of 3,273,389 public Hugging Face model repositories. It named five GGUF models from two accounts, with 2,428 downloads, and reported a Windows remote access trojan hidden at the end of two of the files.
What JAVIS verified. On Nov 29, 2026 the Hugging Face API reported all five repositories as disabled, and their download counters had risen to 2,807. The GGUF specification backs up the file-layout point the report relies on, and the Hub's malware-scan page sets the 2 GB scan limit discussed in section 05.
What it does not show. Hugging Face counts downloads, not people. The report says the hidden program only starts if a user runs a command the model prints, so 2,807 is a ceiling on exposure, not on infections.
Not hands-on tested: JAVIS downloaded no model, ran no file and did not run gguf-radar. This guide reads the report, Hugging Face's API and docs, the GGUF specification and the gguf-radar repository, as of Nov 29, 2026.

The five flagged repositories, as the report and the Hub list them.
Swipe sideways to see every column.
| Repository | Campaign | Method (per report) | File size (HF API) | Downloads Nov 29 |
|---|---|---|---|---|
| Mir2k/Huihui-Qwen3.5-9B-abliterated-GGUF | Mir2k | Hidden program after the weights, reply-prefix template | 6.67 GB | 1,711 |
| Mir2k/Inkling-2-Mini-Uncensored-GGUF | Mir2k | Compressed program after the weights, reply-prefix template | 17.48 GB | 574 |
| timdedid/qwen3.8-cyber-uncensored | timdedid | Template that hijacks a coding agent's tool call | not checked | 288 |
| timdedid/qwen3-cyber-UNCENSORED-2 | timdedid | Same template method | not checked | 151 |
| timdedid/qwen3-cyber-UNCENSORED | timdedid | Same template method | 1.36 GB | 83 |
Sources: Malspark report (method), Hugging Face API read Nov 29, 2026 (size, downloads). The three timdedid rows share one method; file sizes are shown only where they were measured.

Two places were used for real: the chat template, and bytes after the last weight.
A GGUF file packs a model into one file. Its specification says fields are written in order, the file is padded with zero bytes to a global alignment (32 unless the file says otherwise, and always a multiple of 8), and each tensor sits at an offset the header records. The report's point is that a loader reads exactly those ranges and ignores the rest.

The chat template. Every GGUF carries a template, a small Jinja2 program under the key tokenizer.chat_template, that builds the text the model reads before each reply. The report says the two campaigns used ordinary template logic to add text the chat window never shows. It also notes safetensors and PyTorch models carry templates in separate files, so that half of the trick is not unique to GGUF.
Bytes after the last tensor. The report says the end of the model data is fixed by the header and tensor table, so anything after it is never read and no runtime warns about it. It says safetensors loaders refuse a file that does not fill its declared tensors exactly, so this half is GGUF-specific.

Three further places, alignment padding, a ZIP archive appended to the model and zero-scale quantization blocks, were reproduced only with synthetic test files built for the report. They were not seen in any real model, so treat them as a lab result.

Mir2k planted the program first and switched on the trigger days later; timdedid went after coding agents.
Swipe sideways to see every column.
| Date (2026) | Event | Source |
|---|---|---|
| Nov 21 | timdedid creates two repositories (the third on Nov 22) | Hugging Face API, creation date |
| Nov 22 | Mir2k creates the Huihui repository; the report says 12 of the account's 14 repositories that day were empty placeholders | HF API; Malspark report |
| Nov 24 | Mir2k creates the Inkling repository | HF API, createdAt |
| Nov 26 | Report says both Mir2k templates were rewritten twice in a day; the scan runs the same day | Malspark report |
| Nov 27 | Report published; gguf-radar repository created | Malspark report; GitHub repository page |
| Nov 28 | Hacker News thread posted (about 12:00 UTC); the two Mir2k repositories were last modified about 08:00 UTC, per the Hub | Hacker News; Hugging Face API |
| Nov 29 | All five repositories are reported as disabled | Hugging Face API, Nov 29 query |
Dates from the sources named; times in UTC where the API gives them. The report's account of template edits is not independently checked by JAVIS.
Mir2k. The report says the Huihui model was uploaded on Nov 22 with the program already appended but a clean template, and the Inkling model followed on Nov 24. On Nov 26 the templates were changed so the model begins every reply with a one-line command, and the command extracts the program from the model file itself. So a file downloaded before Nov 26 held the payload but not the trigger.

The report's static analysis of the program, called ollie, says it carries a copy of Tor, steals browser passwords and wallet-extension data, and mines Monero when idle. It also says the program's attempted Windows UAC bypass fails because of a coding error. JAVIS did not analyse the binary and does not repeat the indicators here; they are in section 7 of the report.

timdedid. The report says three byte-identical copies of a small Qwen3 model carry the official template plus one addition. When the latest user message contains a trigger phrase, the template inserts a hidden directive telling an agent with a shell tool to download and run a script. The report says the second-stage script was not recovered, so what it would have installed is unknown. This is the case that matters for anyone connecting a local model to a coding agent.
The Hub confirms the repositories, the sizes and that all five are disabled now.
JAVIS queried the public Hugging Face API for each repository on Nov 29, 2026. All five exist, all five are flagged as disabled, none is gated or private, and the creation dates match the report's timeline. The two Mir2k model pages show a content-policy notice instead of the model card.



Download counts kept rising after the report. The chart compares the report's figures as of Nov 27 with the API's Nov 29 numbers. JAVIS does not know when each repository was disabled, so it cannot say how many downloads came after the report.
The scan-size point. Hugging Face's documentation says it runs every repository file smaller than 2 GB through a malware scanner at each commit. The API lists the file sizes: the two Mir2k files are 6.67 GB and 17.48 GB, above that limit, while the timdedid file JAVIS measured is 1.36 GB. That leaves open how the larger files were checked, if at all. JAVIS cannot see Hugging Face's internal scanning, so this is a question, not a finding.

Five of 226,310 GGUF repositories is tiny, but the payload hides in under 1% of the file.
The report says its scan covered 226,310 GGUF repositories. The arithmetic below uses the report's counts and the API's file sizes.
Swipe sideways to see every column.
| Measure | Calculation | Result |
|---|---|---|
| Flagged share of all repositories | 5 / 3,273,389 | about 0.00015% |
| Flagged share of GGUF repositories | 5 / 226,310 | about 0.0022% |
| Payload read from the Huihui file | 11,474,944 bytes / 6,669,280,512 bytes | about 0.17% of the file |
| Compressed payload read from the Inkling file | 4,200,000 bytes / 17,478,087,808 bytes | about 0.024% of the file |
Calculated for this guide. The payload byte counts are the report's; the file sizes are from the Hugging Face API on Nov 29, 2026.
The two views point in opposite directions. The campaign is rare today, and Hacker News commenters said so. But the payload is a sliver of a multi-gigabyte file, which is why the report says checks of only the last few kilobytes miss it.
gguf-radar is a free, very new scanner; JAVIS has not run it.
The report recommends gguf-radar from the GitHub account Root0ne. Its repository page on Nov 29, 2026 shows an MIT licence, creation on Nov 27, 2026, 283 stars, Python code and a v0.1.3 release dated Nov 28. Its README says it never runs the model or the template, can scan a local file or a Hugging Face link, and can write a cleaned copy with the same weights. JAVIS cannot say how reliable a three-day-old v0.1 tool is.

Swipe sideways to see every column.
| Verdict | What the README says | Exit code |
|---|---|---|
| CLEAN | Nothing suspicious found | 0 |
| SUSPICIOUS | Something unusual; a person should look | 2 |
| MALICIOUS | A pattern used in real attacks; do not use the file | 2 |
| ERROR | Reading the file or repository failed | 1 |
Source: gguf-radar README, Nov 29, 2026. The tool is free and MIT licensed; the README's install line pulls from GitHub.

The report's own table says antivirus and pickle scanners raised no alert on its test files while gguf-radar did. That comparison was run by the report's author on files the report describes, and JAVIS has not repeated it. Because the install pulls code from a new repository, read it first or run it in a disposable machine.
Prefer official weights, review the template, and never paste a command a model prints.
Swipe sideways to see every column.
| You are | Do this | Why |
|---|---|---|
| Downloading a community GGUF | Check the uploader's history and age before loading; prefer well-known uploaders | The Mir2k account was new, per the report |
| Running a model through an agent with a shell tool | Replace the embedded template with a reviewed one | The timdedid trick lives in the template |
| Using llama.cpp or Ollama | Use --chat-template-file in llama.cpp, or TEMPLATE in an Ollama Modelfile | Both are the report's own recommendation |
| A model prints a PowerShell line at the start of a reply | Do not run it | The report says that line starts the hidden program |
| Running a team's model registry | Scan new models at the gate, before developers pull them | Catches a bad file before it reaches a laptop |
| Already downloaded one of the five | Check the report's indicators, then rebuild or delete the file | Files downloaded before Nov 26 hold the payload without the trigger, per the report |
JAVIS assessment as of Nov 29, 2026, built from the report's recommendations and the sources above.
Find every .gguf file on disk and where each came from.
Look at the account's age and the repository's history.
The Hub's file viewer shows tokenizer.chat_template.
Use a VM or container, and give the model no shell tool.

Hacker News readers split between "tiny scale" and "early warning".
The Hacker News thread (item 50676752) showed 294 points and 91 comments on Nov 29, 2026. These are opinions and anecdotes, not evidence of infections.
Swipe sideways to see every column.
| Voice | Point made | Assessment |
|---|---|---|
| stephantul | A download on Hugging Face means a model load, not a person, so 2,400 could be few users | Matches the report's own caveat |
| wronglebowski | Five in 3.27 million is a very low number | Consistent with the 0.00015% figure in section 06 |
| 1broseidon | These were no-name models; name-brand ones could follow | A forecast, not shown by the sources |
| nmbr5 | Asks why hubs do not run gguf-radar on every upload | An opinion; no hub statement found |
| rhdunn | Prefers to create GGUF files locally from official safetensors | A practical habit, shown in the decision flow |
| googaar | Uses vetted uploaders such as unsloth | Another practical habit |
Paraphrased from the Hacker News thread, read Nov 29, 2026. No commenter reported an infection.

Swipe sideways to see every column.
| Claim | What the sources show | Assessment |
|---|---|---|
| Malware is hidden in GGUF model files on Hugging Face | The report says two files carried a program; the Hub shows all five repositories now disabled | Credible, from one report, not independently analysed |
| 2,400 victims | The report says downloads, not people, and the hidden program needs a user to run a command | Overstated by the headline |
| It is widespread | 5 of 226,310 GGUF repositories | Rare so far |
| Antivirus misses it | The report's own test says no alert | Unverified by JAVIS |
| Hugging Face scanning failed | Docs say files under 2 GB are scanned; the larger files' handling is unknown | Open question |
JAVIS assessment as of Nov 29, 2026.
- No hands-on test: JAVIS did not download any flagged model, run any file or run gguf-radar.
- The malware analysis, the template edits and the antivirus comparison come from the Malspark report and were not reproduced.
- The Hub's API confirms the repositories exist and are disabled; it does not confirm what the files contained.
- JAVIS does not know when each repository was disabled.
- The report is a single source from a security vendor's blog; JAVIS found no second analysis of the same files as of Nov 29, 2026.
- JAVIS does not reproduce indicators or commands. Use the report's section 7 for those.
More on running models and agents safely, from other JAVIS pages.
Questions people ask about malware in GGUF models.
What did the scan find?
A Nov 2026 report from Malspark scanned all 3,273,389 public Hugging Face model repositories on Nov 26, 2026 and named five malicious GGUF models from two accounts, with 2,428 downloads as of Nov 27. Two of the models carried a Windows program hidden after the model weights; three carried a poisoned chat template aimed at coding agents.
Can a GGUF file really hide a program?
The GGUF specification says data is laid out by header offsets and padded to an alignment, and the report says loaders read only the byte ranges the header points to. Bytes after the last tensor are therefore never read by the model loader, which is where the report says the program was appended.
Is the malicious model still online?
Not as of Nov 29, 2026. JAVIS queried the Hugging Face API for all five repositories and each reported the repository as disabled. The Mir2k model page shows the notice Access to this model has been disabled.
Did 2,428 people get infected?
Not shown. Hugging Face counts downloads, not people, and the report itself says affected users are fewer than or equal to that number. The report also describes the Mir2k program as starting only if the user runs a command the model prints, and says nothing about how many users did. The report does not give an infection count.
How do I check a GGUF file before running it?
The report recommends scanning it with gguf-radar, an MIT-licensed tool, and treating any command a model prints as untrusted. You can also replace the embedded chat template with a reviewed one using llama.cpp's --chat-template-file flag. JAVIS did not run gguf-radar.
Did JAVIS test any of this?
No. JAVIS did not download any of the models, run any file, or run gguf-radar. This guide compares the report with Hugging Face's API and documentation, the GGUF specification and the gguf-radar repository, dated Nov 29, 2026.
Where this came from, and when.
Report: GGUF LLM Models with Hidden Malware on Hugging Face Reached 2400+ Victims, Malspark, Nov 27, 2026, read Nov 29, 2026.
Hugging Face: the public model API for the five repositories and the Malware Scanning documentation, read Nov 29, 2026.
Specification and tool: the GGUF specification and the gguf-radar repository, read Nov 29, 2026.
User evidence: Hacker News item 50676752 (294 points, 91 comments), Nov 2026; opinion and anecdote only.
Images: screenshots of the sources above dated Nov 29, 2026. The Fit Score is editorial judgment.






