Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
gguf-radar — Checks LLM model files for hidden malware and poisoned chat templates without running them, and builds clean copies of GGUF files. | Kitploit
Tools/GitHubGitHub/root0ne/gguf-radar
Defensive ToolsStatic AnalysisVulnerability ScannersCode AnalysisMalware AnalysisDevSecOpsSupply Chain SecurityAI Security
GitHubroot0ne/gguf-radar

gguf-radar

Checks LLM model files for hidden malware and poisoned chat templates without running them, and builds clean copies of GGUF files.

View Repository
570592h 45m agoNot yet reviewed
Website
Share

GGUF Radar

CI Release PyPI Python 3.10+ License: MIT

GGUF Radar

GGUF Radar checks LLM model files for hidden malware and poisoned chat templates. It never runs the model or its template. If it finds something in a GGUF file, it can also build a clean copy of that file with the same model weights.

It works on GGUF files on your disk and on models hosted on Hugging Face. For Hugging Face models it downloads only the small parts it needs, so a scan takes seconds even for very large models. It also checks the chat templates of Safetensors and PyTorch models.

Why this matters

A GGUF file holds the model weights and a chat template, which is a small program that formats every conversation before the model reads it. Attackers have used both. They hide programs after the end of the weights, where model loaders never look, and they change the chat template so that the model tells the user to run a command or tells a coding agent to download a script. These attacks are described in this research post.

Install

GGUF Radar needs Python 3.10 or newer.

pip install gguf-radar

To install from the repository instead, run pip install git+https://github.com/Root0ne/gguf-radar.

Quick start

Check a file on your disk:

gguf-radar scan ./model.gguf

Check a model on Hugging Face:

gguf-radar scan Qwen/Qwen2.5-0.5B-Instruct-GGUF

Build a clean copy of a file:

gguf-radar sanitize suspicious.gguf -o clean.gguf

Compare the chat template of a GGUF file with the template of the original model:

gguf-radar compare-template ./model.gguf --base Qwen/Qwen2.5-0.5B-Instruct

Results

Every scan ends with one of four verdicts.

VerdictWhat it means
CLEANNothing suspicious was found.
SUSPICIOUSSomething unusual was found. A person should look at it.
MALICIOUSThe file shows a pattern used in real attacks. Do not use it.
ERRORThe file or the repository could not be read.

The command exits with code 0 for CLEAN, 2 for SUSPICIOUS or MALICIOUS, and 1 for ERROR, so it can stop a CI pipeline.

Documentation

  • Getting started
  • Scanning files and Hugging Face models
  • Building a clean copy
  • Comparing a chat template with the original model
  • Understanding the results
  • How the checks work
  • Using GGUF Radar in CI and in Python
  • Limitations

The YARA rules for the attacks in the research post are in rules/.

Contributing and security

Bug reports, missed detections and false alarms are welcome as issues. Please read CONTRIBUTING.md before you open a pull request. If you find a security problem in GGUF Radar itself, please report it privately as described in SECURITY.md.

License

The code is released under the MIT License. The logo, the documentation and the YARA rules are released under CC BY 4.0, as described in LICENSE-ASSETS. Both licenses only ask that you keep the credit to @Root0ne.

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    Callisto

    jetp1ane/callisto

    Automated binary vulnerability analysis tool that decompiles executables via Ghidra, scans pseudo-C code with Semgrep, and validates findings using GPT-3.5-Turbo to reduce false positives.

    2.2k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    One-tap Android kernel exploit app for CVE-2026-43499, providing privilege escalation via kernel module loading, with offset extraction and on-device analysis tools.

    903
  • 3

    DFRoot

    a2333c/dfroot

    Android root tool for Samsung Galaxy S25 Ultra (SM-S938B) that chains DirtyFrag CVE-2026-43284 and CVE-2026-43499 to gain root automatically at boot via KernelSU.

    429
  • 4

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    405
  • 5

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    364
  • 6

    wifit3

    derv82/wifit3

    Wifite but USB-only & cross-platform.

    348

Explore all tools

Browse our collection of tools

View all tools →
Download Tool