Malicious GGUF AI Models Discovered on Hugging Face Platform
Security scans of public repositories on Hugging Face revealed malicious GGUF model files carrying hidden malware and poisoned chat templates affecting thousands of downloads.
🚀Startups & FundingPhoto: Hacker News Front Page
Key points
- Scans of over 3.2 million public Hugging Face repositories identified 5 malicious GGUF models with thousands of downloads.
- Attackers used chat template poisoning and appended hidden executables past standard model tensor boundaries.
- The open-source tool gguf-radar can detect hidden payloads and rebuild clean GGUF files safely.
A security scan conducted across more than 3.2 million public model repositories on Hugging Face identified five malicious GGUF files that accumulated over 2,400 downloads by late November 2026. Local large language models are frequently distributed using the GGUF format, which includes embedded chat templates. Researchers found that threat actors exploited these templates to quietly inject unauthorized instructions into prompts without altering standard model outputs.
The largest identified campaign, designated Mir2k, distributed two uncensored models containing a Windows remote access trojan concealed past the tensor data boundaries where standard loaders do not read. These files were paired with modified chat templates that prompted users to execute PowerShell commands designed to unpack and run the concealed payloads. Because conventional antivirus engines and basic file-tail checks often miss data appended beyond standard alignment boundaries, standard scanning tools frequently failed to detect the threat.
To address these risks, open-source utilities such as gguf-radar have been introduced to inspect template structures and hidden trailing bytes without executing the files, allowing users to rebuild clean GGUF models. Industry analysts recommend that developers and users verify endpoints against known indicators of compromise and sanitize local model files before execution.
What to watch next: Adoption of automated security scanners for open-source model repositories and platform-level verification of GGUF file integrity.
Source Hacker News Front Page — malspark.com/blog/malicious-gguf-models-hugging-face/ ↗
Read next
🤖AI ModelsRumours that AI labs can break encryption run ahead of the evidence
A rumour that AI labs have a fast way to factor large numbers has spread, but no break of RSA has been demonstrated.
🤖AI ModelsAI-Assisted Search Points to a Possible Dwarf Planet in the Outer Solar System
A team that used a Claude model in its analysis reports a candidate dwarf planet, roughly 590 km wide, traced through Rubin Observatory data and 2013–2019 archival images…
⚖️Regulation & PolicyICE Expands Surveillance Reach Using Flock Safety Camera Network via Local Police Proxies
US Immigration and Customs Enforcement is increasingly utilizing AI-integrated license plate readers from Flock Safety by routing requests through local police department…
🔌Chips & HardwareNvidia CEO Jensen Huang Set for Congressional Hearings on China Ties and Chip Sales
Nvidia CEO Jensen Huang faces a series of closed-door and public congressional hearings this week regarding chip sales and ties to China.
⚖️Regulation & PolicyRuneScape Developer Jagex Urges Password Resets Following Security Breach
Millions of RuneScape and Old School RuneScape accounts may have been compromised after unauthorized access exposed player emails, hashed passwords, and authenticator tok…
🏢Big TechAnthropic and OpenAI: how the enterprise AI race has shifted
Enterprise spending estimates and recent product decisions show Anthropic and OpenAI moving toward the same business customers.