Researcher says 5 GGUF models on Hugging Face contain trojans
Start here
Researcher @Root0ne claims to have scanned all 3,273,389 public model repositories on Hugging Face and found 5 GGUF models containing malicious code, which as of November 27, 2026 had been downloaded 2,428 times in total. The main campaign Mir2k hides the Windows remote access trojan ollie in the trailing bytes after the last tensor of "uncensored" GGUF files, a region that llama.cpp and LM Studio do not read; two to four days after the file was uploaded, the chat template was changed so that the model outputs a PowerShell command for unpacking first in every reply, while the model itself loads and answers normally. The trojan can steal passwords saved in Chrome, Edge, and Brave, targets the Phantom and MetaMask wallet extensions, and mines Monero when the machine is idle. Another campaign timdedid's template, when a user message contains "What is", induces the agent to call the powershell tool to download and run a second-stage script, which failed to be retrieved.
Generated by AI from reports · Updated 19 hr ago
Attention and developments
Attention, hourlyA report
Now 75·Peak 76 (Nov 29 02:00)·2 other outlets followed
Storyline
- · 3 reports· Attention44Pluto Security discloses a malicious model mining campaign on Hugging Face
- · 2 reports· Attention75
Researcher says 5 GGUF models on Hugging Face contain trojansThis event
Progress timeline
- X@simon_budziak· Discussion@huggingface https://t.co/igy621ZPo5(opens the original post in a new tab)
- X@OralYALCIN10· Discussionhttps://t.co/rnlWzKSj4N(opens the original post in a new tab)
- X@mofu_ai_guide· Discussionhttps://t.co/tCy0rvEHpV(opens the original post in a new tab)
- X@theVishalGhule· DiscussionDetails via Malspark (27 Nov): https://t.co/ElccOyVZu7(opens the original post in a new tab)
- X@Refralyn· DiscussionIn Chinese, as written小心小心!警告:Hugging Face 上的 GGUF 模型可能被塞进了木马 本地跑模型的人,这两天更该小心的,可能不是评测分数,而是你下载的那个 GGUF 文件里,到底还藏了什么。 安全机构 Malspark 在 11 月 26…(opens the original post in a new tab)
- X@prak_gup· DiscussionSource: https://t.co/AhiFnouGER(opens the original post in a new tab)
- X@C_C_W_U· Discussionhttps://t.co/ozTGoITfjO(opens the original post in a new tab)
- WeChatDoonsec· Media coverageHugging Face large model poisoning / hidden trojan incidents and IOC summary(opens the original post in a new tab)
- X@s21walker· Discussionhttps://t.co/qLznmIpnrl https://t.co/2vBPHiXz85(opens the original post in a new tab)
- X @AISecHubSelectedSecurity researcher says 5 GGUF models on Hugging Face hide malicious payloads, downloaded 2428 times
Researcher @Root0ne says they scanned all 3,273,389 public model repositories on Hugging Face and found 5 GGUF models hiding malicious code, downloaded a total of 2,428 times. The main campaign Mir2k hides a Windows trojan in the trailing bytes after the last tensor of "uncensored" GGUF files, a region that llama.cpp and LM Studio do not read; on November 26 it also rewrote the chat template so that the model outputs a PowerShell command for unpacking first in every reply, while the model itself loads and answers normally. The implant is an 11.47 MB Windows program, of which 10.25 MB is a bundled Tor, targeting passwords in Chrome, Edge, and Brave as well as Phantom and MetaMask wallets, and mines Monero when the machine is idle. Another group of Qwen3 models labeled "cyber uncensored" embeds the trigger word "What is" in the template, instructing coding agents to download and run a PowerShell script. In testing, neither antivirus software nor pickle scanners alerted on the online Mir2k files; the MIT-licensed gguf-radar can inspect templates and trailing bytes without running the model and rebuild a clean GGUF with unchanged weights.
- MalsparkSelectedGGUF LLM Models with Hidden Malware on Hugging Face Reached 2400+ Victims | Malspark
Security researchers scanned all of Hugging Face's more than 3.27 million public model repositories and found 5 GGUF models hiding malware, which had been downloaded 2,428 times cumulatively as of November 27, 2026. The attack hides malicious instructions in the model chat template and appends an executable after the last tensor, in a region the loader never reads. The Mir2k campaign hides a Windows remote access trojan named ollie at the tail of two model files, capable of stealing passwords saved in Chrome, Edge and Brave, targeting Phantom and MetaMask wallet extensions and mining Monero; the template was changed to induce users to run unpacking commands only two to four days after upload; the timdedid campaign's template, when a user message contains What is, induces the agent to call the powershell tool to download and run a second-stage script, which failed to be retrieved.
Related discussion
What people think
By account: 26 hold one of the views above, 45 posted without a clear one, and 106 more only relayed the news. AI drew the views from the posts; a post is placed only when three models, judging apart, all agree. The posts themselves are the record.
- X@rimomaguiarIf you run local models inside agents, scan the GGUF before you load it. A GGUF file carries a chat template, and that…(opens the original post in a new tab)
- X@gugx75modelo GGUF virou vetor de malware. acharam 5 repos no Hugging Face com RAT escondido após o último tensor e chat templ…(opens the original post in a new tab)
- X@lxfaterMany people think running GGUF locally is absolutely safe, but in fact weight files can also hide trojans! Researcher Root0ne scanned 3.27 million public repositories on Hugging Face and found 5 poisoned GGUF models, with a cumulative 2428 downloads. Antivirus software and common model scanners raised no alarms throughout G…(opens the original post in a new tab)
6 likes·Nov 29 20:10Collect
- X@AiDevCraft5 GGUF models on Hugging Face hid a Windows trojan in bytes no loader reads. A later template update made the model pri…(opens the original post in a new tab)
- X@TheChosenVictorA short on a researcher's scan of 3.27M Hugging Face repos that found 5 malicious models. Two hid a Windows trojan, thr…(opens the original post in a new tab)
- X@justeliteMalspark scanned 3.27M Hugging Face model repos and found 5 malicious GGUF models (2,428 downloads). Mir2k hid a Window…(opens the original post in a new tab)
- X@xingyuwangDownloading a GGUF from Hugging Face, you think you are only getting model weights. But researchers found a Windows trojan in two third-party model files. The model still chats as usual and even urges you to execute commands. https://t.co/lyIIXTddQk(opens the original post in a new tab)
5 likes·Nov 29 20:10Collect
- X@ytroncalGGUF LLM Models with Hidden Malware on Hugging Face Reached 2400+ Victims https://t.co/c06LHI8KPO(opens the original post in a new tab)
- X@ziyang_aiNote when running models locally: there are trojan-hiding models on Hugging Face. Researchers scanned 3.27 million model repositories and found 5 malicious GGUF files, downloaded 2,428 times. Among them, an “uncensored” model hid a Windows trojan at the end of the file, then modified the template to make the model tell you to run an unpacking command. Self-protection:…(opens the original post in a new tab)
1 likes·Nov 29 20:10Collect
- X@dejavuintelmachMalspark scanned 3.27M public Hugging Face repos and found 5 malicious GGUF models (2,428 downloads). One campaign hid…(opens the original post in a new tab)
- X@QuinnBuildThe original Malspark investigation into malicious GGUF models and the GGUF Radar 0.1.3 release page: https://t.co/NzjEgaMyK1 https://t.co/zIdKW0EG20(opens the original post in a new tab)
- X@JackCarzyDüzgün (@Root0ne) reported on November 27: on the 26th, about 3.27 million Hugging Face model repositories were scanned, and 5 containing malicious GGUF were found; as of the 27th they had been downloaded 2,428 times (not the number of people affected). It said the remote control was hidden after the end of the weights, and the template was then modified to bring out an unpacking command. I checked its original source and opened the 5 involved…(opens the original post in a new tab)
1 likes·Nov 29 19:10Collect
Attention trend
New sources per day
- Nov 28: 30 new sources (1 outlets, 29 accounts)
- Nov 29: 166 new sources (3 outlets, 163 accounts)