A security scan of 3.27 million public Hugging Face model repositories identified five malicious GGUF models, with 2,428 recorded downloads; that figure counts downloads, not unique users. The report describes two campaigns combining poisoned chat templates with concealed instructions. GGUF templates can silently add text to a conversation, while runtimes ignore data appended beyond a model’s declared tensor area. This lets a model behave normally yet carry a hidden payload. The scan examined repositories and templates without executing them or downloading complete model files.
The larger campaign, attributed to Mir2k, placed a Windows remote access trojan called Ollie inside two models, once as an executable and once compressed. The files were uploaded with clean templates, then updated days later to make the model begin replies with a PowerShell command that extracts and runs the payload. Ollie can steal data and mine cryptocurrency. A second campaign, linked to timdedid, used trigger phrases to make templates insert fake system instructions directing coding agents with shell access to download and run a script; the second-stage payload was not recovered. The report recommends checking systems for listed indicators and scanning local models with GGUF-Radar, which detects suspicious templates and hidden data and can rebuild clean files without changing model weights.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.