gruffforensics

§ 01About

What gruff is.

A static scanner for open-weight models on Hugging Face, built and run by Gruff Platform.

Who runs it

gruff is a project of Gruff Platform. We build tools that look for malicious content in open models: hidden payloads in weight files, poisoned chat templates, pickle imports and remote code that runs when a model is loaded.

For a security issue in this site or the scanner, see the security page. For anything else, write to security@defense-exploration.com.

What a verdict means

Every verdict on this site is produced by automated rules, not by a person, unless the report carries an admin note saying a reviewer looked at it.

  • Malicious means the files match techniques we associate with attacks. It is a strong signal, not proof that a model is malware, and a rule can be wrong.
  • Suspicious means something unusual that a person should look at. Many suspicious findings turn out to be harmless.
  • Clean means none of our checks found anything. It does not prove the weights are safe.

If a verdict looks wrong, use Request a review on the report page and a person will look at it.

How it works

gruff never loads, renders or runs what it scans. Pickles are walked opcode by opcode, chat templates are parsed and never rendered, and code is parsed and never imported. Large weight files are sampled, so a scan reads a small part of a repository.

This public site holds no scanner code. It forwards each request to a private scanner, so the detection rules themselves are not published; that makes them harder to evade. What we check describes every check and rule.

The ledger

Every report is pinned to a specific commit and stored in a public bucket, together with a SHA-256 digest of the report. The ledger is a public archive of what gruff concluded and when. Reports are not yet signed, so the digest shows that a copy matches the stored report, not who wrote it.

Further reading

For background on how open models are attacked and what to look for, read this overview of model security.