Hugging Face disables five poisoned AI models, but a copy stayed on Ollama
Hugging Face disabled five malicious AI models by November 28, but a copy of one of them stayed online on Ollama, a tool that downloads and runs AI models on a user's own computer. At 00:07 UTC on November 29, maccus.fr found the Ollama package timdedid/qwen3-1.7b-cyber still up, with 100 downloads, and its file carried an instruction telling AI agents (AI models that can run commands on their own) to download and run a script.
Malspark, a malware research site, scanned 3,273,389 public model repositories on Hugging Face on November 26 and found 226,310 that held GGUF[1] files, the usual format for models that run on a user's own computer. The five malicious models were published by two accounts, Mir2k and timdedid. The Mir2k models hid a Windows program in parts of the file that runtimes never read, and their rewritten chat template[2] added a French message that made the model print a PowerShell[3] command to launch that program.
The timdedid models inserted a fake “[SYSTEM DIRECTIVE]” into the chat template whenever the words “What is” appeared, telling an AI agent to download a script from a WordPress site and run it; Malspark did not recover that script. Hugging Face has published no official statement, and the five download counters totaled 2,807 when maccus.fr checked. Malspark's findings come from static analysis, a reading of the code without running it, and download counts do not show how many people were infected.
Read the original maccus.frDiscussion
Discussion
Commenters mostly blamed the people who use Ollama and called Ollama the worst option anyway. One expected Hugging Face to start scanning every upload before it becomes available, and another suggested checking a model file without running it, by dumping its metadata with llama.cpp or printing the Modelfile in Ollama to look for strange script instructions.
Primary sources and details
- Primary source Malspark report on malicious GGUF models malspark.com
- Primary source Mir2k Huihui model page on Hugging Face huggingface.co
- Official Hugging Face content policy page huggingface.co
- Tool gguf-radar scanner tool on GitHub github.com
- Tool Hugging Face Kyudan/eDIAR model page huggingface.co
- Analysis Pillar Security on poisoned chat templates pillar.security
- Analysis i10X report on the still-live Ollama copy i10x.ai
Sources
-
MACCUS
Hugging Face disables five poisoned models but a copy stayed on Ollama



