# An AI model on Hugging Face that tells you to run its malware

> Source: <https://dev.to/artbanrox/an-ai-model-on-hugging-face-that-tells-you-to-run-its-malware-4m2b>
> Published: 2026-11-30 16:42:07+00:00

**Recommendation:** Treat model output as untrusted input: never run commands a chatbot emits, and vet GGUF files and chat templates from unknown publishers before loading them.
More in the playbook "Securing agents and AI tools": <https://wpnews.pro/playbooks/agent-security>

Malspark scanned all 3.27 million public model repositories on Hugging Face and found five poisoned ones, downloaded 2,428 times.

The main uploader, Mir2k, hid a Windows program after the end of the model data, a part of the file AI apps never read. Days later it changed each model's chat template, the hidden text wrapped around every prompt. Now the model starts each answer with one PowerShell line. Paste it, and it pulls the hidden program out of the model file and runs it. That program steals saved browser passwords, targets MetaMask and Phantom wallets, and logs keys.

Use models from publishers you know. Never run a command a chatbot gives you without reading it.

Source: Malspark, "GGUF LLM Models with Hidden Malware on Hugging Face Reached 2400+ Victims," Nov 27, 2026. [https://malspark.com/blog/malicious-gguf-models-hugging-face/](https://malspark.com/blog/malicious-gguf-models-hugging-face/)

Originally published on Beehiiv: [https://arutiuns-newsletter.beehiiv.com/p/an-ai-model-on-hugging-face-that-tells-you-to-run-its-malware](https://arutiuns-newsletter.beehiiv.com/p/an-ai-model-on-hugging-face-that-tells-you-to-run-its-malware)
