Back to Gap Map Product / UX / Safety & Guardrails

picklescan

Matthieu Maitre
open source / Overall score: 2.0

picklescan is a command-line scanner that flags Python Pickle files which call dangerous functions, such as eval, when loaded. It reads local files, directories, URLs, zip archives and PyTorch checkpoints, scans a Hugging Face model by name, and returns ClamAV-style exit codes for use in scripts. Matthieu Maitre maintains it.

Openness

5 high confidence
5.0
license
MIT (OSI)
source
public (the full scanner and CLI)
core features withheld
no — an individual developer's project with no company or paid version behind it

picklescan is MIT-licensed and the whole scanner is in the public repository. It is one developer's project with no company or paid version behind it, so nothing is held back.

Adoption

2 high confidence
2.0

PyPI downloads of the picklescan package, the scanner's only distribution. Scans in automated pipelines can install it again on every run, so a download is not one user.

Capability

2 medium confidence
2.0

picklescan does one job: it lists the dangerous imports a Pickle file would run and returns an exit code a script can act on. It reads only Pickle-based files and never tests a running model, which garak probes for many kinds of failure, so it sits two steps below garak.

  • https://raw.githubusercontent.com/mmaitre314/picklescan/HEAD/README.md recorded 2026-11-12

    The README describes a "Security scanner detecting Python Pickle files performing suspicious actions", scans "picklescan --huggingface ykilcher/totally-harmless-model", loads Pickles "from local files, directories, URLs, and zip archives", scans NumPy .npy files, and documents exit codes 0, 1 and 2 with include and exclude filters.

Verified 2026-11-12, except some scores, still awaiting re-confirmation