Trojan found in Hugging Face GGUF models; 3.2M repos scanned, sandbox-plus-scan workflow shared
udmrzn · x · 2026-11-30
Security researcher @Root0ne claims 5 GGUF models on Hugging Face hid malware (2,428 downloads). After scanning 3.27M public repos, the main campaign "Mir2k" placed a Windows trojan after the last tensor in "uncensored" GGUF files—a region llama.cpp and LM Studio never read—and rewrote chat templates so every reply starts with a PowerShell line unpacking it. The model loads and answers normally while the payload rides along.
The original poster shares a protection workflow for local LLMs:
- Sandbox isolation: never run unknown models on the host; use Docker/VM with networking off so they can't touch browser passwords or crypto wallets;
- Pre-run static scanning: Promptfoo's open-source ModelAudit detects malicious code and suspicious metadata without executing the model, supports 42+ formats (GGUF/GGML, PyTorch, Pickle, SafeTensors), accepts HF URLs directly, installs via pip or Docker.
The author's own flow: AI agent downloads the model, but sandbox isolation plus pre-scan is mandatory, and results are only retrieved from the sandbox.
Related event: Scan of 3.27M Hugging Face Repos Finds 5 Malware-Laden GGUF Models(10 posts)→
More from Safety
- AI pause debate: regulate speed or require safety directly? — birchlse · 2026-11-30
- Google nukes 20-year-old account over 'Gemini misuse' — a lesson in concentration risk — l4rz · 2026-11-30
- Neel Nanda slams ARC-AGI champs' work on hard-to-monitor agent communication as harmful to safety — akbirthko · 2026-11-30
- Philosophy Is 'Antifragile': Could Diverse-Argument Reasoning Bypass MIRI-Style Alignment Problems? — jessi_cata · 2026-11-30
- NRDC concedes BAAJA makes data centers pay grid costs, countering 'giveaway' claim — zacharynado · 2026-11-30
- 187 African books tested: AI detectors show no systematic false positives on Black authors — TuhinChakr · 2026-11-30