cd /news/ai-safety/an-ai-model-on-hugging-face-that-tel… · home › topics › ai-safety › article
[ARTICLE · art-178717] src=dev.to ↗ pub= topic=ai-safety verified=true sentiment=↓ negative

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

Malspark scanned all 3.27 million public model repositories on Hugging Face and found five poisoned ones that were downloaded 2,428 times. The main uploader, Mir2k, hid a Windows program after the model data in GGUF files, then altered each model's chat template so the model begins every answer with a PowerShell line that extracts and runs the hidden payload, which steals saved browser passwords, targets MetaMask and Phantom wallets, and logs keystrokes.

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 playbook: Securing agents and AI tools
by read1 min views10 publishedNov 30, 2026

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

The main up, 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/

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

── more in #ai-safety 4 stories · sorted by recency
── more on @hugging face 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/an-ai-model-on-huggi…] indexed:0 read:1min 2026-11-30 · —