Repository navigation
Releases
Releases · Root0ne/gguf-radar
gguf-radar 0.1.1
This release fixes a false positive.
Fixed
- Clean models are no longer reported as
MALICIOUSbecause of bytes under zero scales. The quantizer leaves such bytes behind when a very small scale rounds to zero, which happens in models with pruned, untrained or very small weights. These blocks are now counted and shown as a note, and they do not change the verdict. Thanks to @zachisfine for the report and the analysis in #1.
Changed
- Zero-scale bytes now give
MALICIOUSonly when they contain a known file signature or readable text. They giveSUSPICIOUSwhen aQ8_0block cannot have been written by the quantizer or when a stretch of 4096 bytes is as flat as encrypted data. - The JSON report has the new fields
zero_scale_data_blocks,zero_scale_contentandzero_scale_tensors. The fielddead_block_payloadsnow counts only the blocks whose bytes do not look like quantizer output. sanitizeis unchanged. It still clears every zero-scale byte.
The documentation explains the checks in How the checks work and their limits in Limitations.
Upgrade
pip install --upgrade git+https://github.com/Root0ne/gguf-radar@v0.1.1gguf-radar 0.1.0
First release.
GGUF Radar finds poisoned chat templates and hidden payloads in LLM models without running them. It checks local .gguf files, Hugging Face model links (reading only the header and the end of each file through HTTP Range requests) and the chat template files of Safetensors and PyTorch models. The sanitize command rebuilds a clean GGUF file with the weights unchanged.
Install: pip install git+https://github.com/Root0ne/gguf-radar