Packages, secrets and infrastructure
Three layers that read the repo without running it: what it depends on, what it leaked, and how it is deployed.
Known-vulnerable packages
bughunt deps ~/code/shop
bughunt deps ~/code/shop --offline # a downloaded copy of the database: no package name leaves this machine
CRIT vulnerable-package django 3.2.0 (PyPI) | CVE-2021-35042 (9.8)
CVE-2022-28346 (9.8)
and 33 more
fix: Upgrade django to 5.2.17 or later, which fixes every vulnerability listed for 3.2.0, and run the tests.
Every lockfile and manifest in the repo is read, in every ecosystem osv-scanner knows (npm, PyPI, RubyGems, Go, crates.io, Maven, Packagist, NuGet and more). Each vulnerable package is one finding, rated by its worst published score, with the one version that fixes all of its listed vulnerabilities.
Without --offline, the names and versions of your packages (never your code) are checked against the OSV database at osv.dev.
Leaked secrets
HIGH generic-api-key-in-files config/settings.py:3 | payments_api_key = "REDACTED"
HIGH generic-api-key-in-history config/old_mail.py:1 (commit 2ef793ad6b) | MAIL_PASSWORD = "REDACTED"
committed in 2ef793ad6b on 2026-11-28
The files as they are now and the whole git history. A secret deleted from the files is still readable by everyone with a clone, so it is reported apart, with the commit that holds it. No secret is ever shown: it is redacted before bughunt reads it. A key from a known provider in the files is critical.
Infrastructure
Dockerfiles, Kubernetes manifests, Terraform, CloudFormation and Helm (trivy), and GitHub Actions workflows (zizmor): a container that runs as root, a privileged pod, a storage bucket anyone can read, a workflow that runs pull-request code with write access, a pull-request title pasted into a shell command.
HIGH workflow-template-injection .github/workflows/preview.yml:13
run: echo "Building ${{ github.event.pull_request.title }}"
fix: Pass the value through an environment variable and use "$TITLE" in the script, so it is data and never code.