Security researcher Düzgün identified five malicious repositories on the Hugging Face platform containing Windows malware or instructions for executing harmful code. These models were downloaded 2428 times across a dataset of 3.27 million repositories. The malicious code is embedded within the model files, while the AI itself appears to function normally during standard interactions.

In one campaign, attackers used the GGUF format, appending a Windows executable to the end of the model file. They modified the system prompt to force the AI to output a PowerShell command at the start of every response. If a user executes this command, the 'ollie' trojan is deployed. It can steal passwords from browsers, access crypto wallets, log keystrokes, capture screenshots, and perform Monero mining via the Tor network.

A second campaign involved three repositories where hidden instructions attempted to force AI agents with terminal access to download and execute malicious scripts. To combat these threats, the researcher released GGUF Radar, an open-source tool. It scans models and system prompts for suspicious data or instructions without executing the AI, allowing users to verify files and create clean copies.