AI NewsOpen sourceAnnouncement
GGUF Radar scans model files for malware and poisoned chat templates
GGUF Radar checks LLM model files for hidden malware and poisoned chat templates without running them. The MIT-licensed repository had 434 stars three days after launch.
Image: GitHub
Why it mattersA team pulling an LLM from Hugging Face cannot easily tell a clean model from a poisoned one. This tool checks before the model loads.
Root0ne released GGUF Radar on 27 November. The tool scans local LLM model files for hidden malware and poisoned chat templates. It does so without running the model. The GitHub repository had 434 stars and 43 forks on 30 November. The code is under the MIT licence.
The problem the tool addresses is fresh. A Malspark write-up on 25 November documented five poisoned GGUF models on Hugging Face. The models had been downloaded 2,428 times before Malspark flagged them. GGUF Radar's own README links that write-up as the reason the tool exists.
What it checks for
GGUF Radar reads a model file and looks for three things. First, hidden programs after the model weights. A valid GGUF file ends when the weights end. Any bytes after that point are a warning sign. Second, poisoned chat templates. The chat template is the text that wraps a user's message before the model sees it. An attacker can inject commands into that template that the model then follows. Third, pattern matches against YARA rules.
The tool outputs one of four verdicts per file: CLEAN, SUSPICIOUS, MALICIOUS, or ERROR. It can also build a sanitised copy of a GGUF file with the extra bytes stripped. That gives a team a clean version to load instead of the original.
What it covers
The tool scans local files, and it scans Hugging Face hosted models. For Hugging Face models it downloads only the small parts it needs. The README says a scan takes seconds even for very large models. The tool supports three formats: GGUF, Safetensors and PyTorch model files. It can also compare a model's chat template against the original model's template, so a user can see what changed.
The code is Python 3.10 or newer. The README lists a Python API as well as a command-line interface. That means a team can wire the scanner into a CI step before any model is pulled into production.
The cost is one scan step
A team that pulls open LLMs from Hugging Face can put GGUF Radar in front of the load. The same holds for weights shared across colleagues. The scan cost is low, and the tool exits with a clear verdict. A SUSPICIOUS or MALICIOUS verdict stops the model from reaching the inference server. The tool is three days old. A team should pin to a specific tag and read the changelog before upgrading.
The tool covers the known attack shapes. It cannot catch an attack shape that nobody has described yet. A buyer should use it as one layer of a supply-chain check, not the whole of it. The repository's own YARA rules are under CC BY 4.0. A team can include them in their own detection stack.
Source
This item was written by an AI system from the linked source. Reveneau is responsible for what it publishes.
Get AI News in your inbox
New developer tools, model and agent releases, and how teams are actually using them to release software. Short, and only when there is something worth reading.