pypa/pip-audit
Audits Python environments, requirements files and dependency trees for known security vulnerabilities, and can automatically fix them observed · 2026-08-28
Health v2 · maintenance only
83/100
- Activity 98
- Release rhythm 55
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 190
- age_days: 1826
- days_rel: 84
- days_push: 13
- n_releases_24m: 4
Adoption not part of the score
1354 stars · 124 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
pip-audit is a command-line tool that scans Python environments, requirements files, and dependency trees for packages with known security vulnerabilities, using the PyPI JSON API and OSV as vulnerability data sources. It can also emit CycloneDX SBOMs and automatically fix vulnerable dependencies with the --fix flag.
Use cases
- scan my python environment for vulnerable packages
- audit requirements.txt for known CVEs
- generate a CycloneDX SBOM for my python project
- automatically upgrade dependencies with security vulnerabilities
- run a dependency security check in CI
- check pip installed packages against OSV database
When to choose
- you need to audit Python dependencies for known vulnerabilities locally or in CI
- you want SBOM generation in CycloneDX format
- you want automatic remediation of vulnerable pinned dependencies
- you need machine-readable output (JSON) for security pipelines
When to avoid
- you need to audit non-Python ecosystems like npm or cargo
- you need continuous runtime monitoring rather than point-in-time scanning
- you require an air-gapped scanner without access to PyPI or OSV services
Facets
cli-tool · maturity active
security vulnerability-scanning dependency-audit cli developer-tools security developer-tools cli python cross-platform pip vulnerability-scanning sbom cyclonedx supply-chain-security ci-cd python supply-chain
3 sources
- readme: https://github.com/pypa/pip-audit · fetched 2026-08-28 · f1ca5372f527
- homepage: https://pypi.org/project/pip-audit/ · fetched 2026-08-29 · 7da85196adde
- registry_pypi: https://pypi.org/pypi/pip-audit/json · fetched 2026-08-29 · dcc9d18f04df
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pypa/pip-audit | main | 83 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem