Malicious Hugging Face GGUF models hide a Windows RAT
Original title: Hackers Turn Downloadable AI Models Into Malware Carriers Without Breaking Their Normal Functions
A November 26 scan of 3,273,389 repositories found five malicious models with 2,428 downloads, including Mir2k’s ollie implant.
Malspark reported malicious GGUF models on Hugging Face that still answer as local LLMs while hiding a Windows remote access trojan or a hidden command. Account Mir2k uploaded two models carrying a RAT named ollie after the last tensor, then rewrote their Jinja2 chat templates on November 26 so replies open with a PowerShell command that extracts the payload. Account timdedid published three Qwen3 1.7B copies whose templates insert a fake system directive when a user message contains “What is.” Researchers did not recover that second stage.
Unconfirmed: The purpose of timdedid’s unrecovered second stage is unknown, and download counts are not unique users.
- The scan covered all 3,273,389 public repositories on November 26, 2026.
- Five malicious models had 2,428 downloads as of November 27.
- ollie is an 11.47 MB Windows x64 program embedding Tor 0.4.9.16.
- It targets Chrome, Edge and Brave passwords plus Phantom and MetaMask wallets.
- Downloads before November 26 contain the payload but not the trigger.
Impact: Windows RAT steals browser passwords and wallets, then mines Monero
- 1.Treat any command a model suggests as untrusted.
- 2.Pin a reviewed template with --chat-template-file in llama.cpp or TEMPLATE in an Ollama Modelfile.
- 3.Scan GGUF files for bytes after the last tensor, including with gguf-radar.
- ATT&CK
- T1059.001 PowerShellT1053.005 Scheduled TaskT1548.002 Bypass User Account ControlT1555.003 Credentials from Web BrowsersT1496 Resource Hijacking
- Malware
- ollie
- Organizations
- Hugging FaceMalspark
- AI models
- Qwen3 1.7B
From the original article
3 min read at gbhackers.com
A malicious GGUF models on Hugging Face that behave like normal local LLMs. They hide a Windows remote access trojan, or a hidden command, inside the model file. A scan of all 3,273,389 public repositories on 26 November 2026 found five malicious models with 2,428 downloads as of 27 November.
By Mayura Kathir · gbhackers.com
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.