Five GGUF Repositories Flagged in Hugging Face Malware Research
Malspark reports malicious templates and hidden payloads in five model repositories. Download counts do not establish how many devices were infected.
Security researcher Düzgün, known as Root0ne, reported five malicious GGUF model repositories on Hugging Face on 27 November. Malspark says its scan covered 3.27 million public model repositories and recorded 2,428 downloads of the five flagged repositories at that date. Downloads are not a count of infections.
The report describes two campaigns. Two Mir2k repositories allegedly combined a Windows trojan hidden inside model files with instructions encouraging users to run a command. Three timdedid repositories used altered chat templates to steer coding agents towards downloading and executing a script. Malspark did not recover that second-stage script, so its eventual payload remains unknown. The reported attack paths require a person or suitably equipped agent to execute commands; downloading a model alone does not establish compromise. Malspark research
Repositories identified in the research
The report identifies these specific repositories, rather than every model in the wider Qwen or Inkling families.
Mir2k — reported hidden Windows-trojan campaign:
- Mir2k/Huihui-Qwen3.5-9B-abliterated-GGUF
- Mir2k/Inkling-2-Mini-Uncensored-GGUF
timdedid — reported chat-template injection campaign:
- timdedid/qwen3.8-cyber-uncensored
- timdedid/qwen3-cyber-UNCENSORED-2
- timdedid/qwen3-cyber-UNCENSORED
A direct check of Hugging Face's public metadata on 29 November showed all five repositories marked disabled, with download counters totalling 2,807. This is a later snapshot, not a revised victim count or a public explanation from Hugging Face of its enforcement decision. Example repository metadata
Root0ne also released GGUF Radar, an open-source inspection tool. Its documentation distinguishes suspicious findings, malicious patterns and scan errors; a clean result should not be treated as a guarantee. GGUF Radar project
For organisations using community models, the practical lesson is to review the complete model package and its templates, and keep model-generated instructions separate from permission to run tools.
enquire