gguf-radar

Root0ne

A Python security scanner that inspects local or Hugging Face LLM model files for malware and poisoned chat templates.

PythonCreated

What is Root0ne/gguf-radar?

GGUF Radar is a Python supply-chain security tool that inspects large language model files for hidden malware and poisoned chat templates without ever executing the model or rendering its template. When suspicious content is detected inside a GGUF file, it can reconstruct a clean copy that preserves the original model weights.

Supporting both GGUF and Safetensors-tagged security workflows, the scanner operates on local files stored on disk as well as models hosted remotely on Hugging Face. For remote Hugging Face repositories, it fetches only the small metadata and header sections required for inspection, allowing scans to complete in seconds rather than downloading entire multi-gigabyte model weights.

AI security engineers, MLOps teams, and local LLM users downloading community-quantized weights from Hugging Face can run GGUF Radar to verify model files and strip unsafe templates before loading them.

ai-securityggufllm-securitymalware-analysissafetensorssupply-chain-securityyara

Before you startThe README says

Runs on
Python 3.10 or newer
Needs
Internet access to scan Hugging Face models; it downloads only the small parts it needs
How you get it
pip install gguf-radar; or pip install git+https://github.com/Root0ne/gguf-radar from the repository

Facts from GitHub (updated Dec 1, 2026) and the project's README. License summaries are simplified: check the license file. RepoRanking reviews listings for relevance and spam, and doesn't test or vouch for code.