Skip to content

Releases

gguf-radar 0.1.1

Choose a tag to compare

@Root0ne Root0ne released this 28 Nov 13:46
d856e4a

This release fixes a false positive.

Fixed

  • Clean models are no longer reported as MALICIOUS because 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 MALICIOUS only when they contain a known file signature or readable text. They give SUSPICIOUS when a Q8_0 block 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_content and zero_scale_tensors. The field dead_block_payloads now counts only the blocks whose bytes do not look like quantizer output.
  • sanitize is 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.1

gguf-radar 0.1.0

Choose a tag to compare

@Root0ne Root0ne released this 27 Nov 16:43

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