CheckOps
pip-audit
pip-audit is an Apache-2.0 PyPA tool that audits Python environments, requirements files and dependency trees for known vulnerabilities using the Python Packaging Advisory Database, and can fix them.
Latest public signals
Last updated: 11 November 2026 (page expanded from the official README or site).
Introduction
pip-audit scans Python environments for packages with known vulnerabilities, using the Python Packaging Advisory Database through PyPI’s JSON API or OSV. It was created by Trail of Bits with support from Google and is maintained under the Python Packaging Authority (PyPA).
The source code is at pypa/pip-audit on GitHub under the Apache-2.0 licence, with about 1,400 stars; the most recent commit was on 10 November 2026.
pip-audit scans Python environments, requirements files and dependency trees for packages with known vulnerabilities, using the Python Packaging Advisory Database via the PyPI JSON API (and optionally the OSV database). It was created by Trail of Bits with support from Google and is maintained under the Python Packaging Authority. It can automatically upgrade vulnerable packages with a fix option and output results as JSON, CycloneDX and other formats.
Where it fits: on CheckOps, pip-audit is listed alongside alternatives such as OSV-Scanner, Trivy, Snyk and Dependency-Check. When comparing them, check licence and hosting model, how results reach developers (pull requests, CI logs or dashboards), how much tuning is needed to keep noise low, and whether the project or vendor is actively maintained.
Features
- Environment and requirements scanning: Audit installed packages or requirement files.
- Advisory sources: PyPI and OSV.
- Automatic fixes:
--fixupgrades vulnerable packages. - Output formats: JSON, CycloneDX and more.
- GitHub Action: Run in workflows.
Pros
- Free to use: Open source under Apache-2.0.
- Maintained: Commits as recent as 10 November 2026.
Cons
- Python only: Single ecosystem.
- Known vulnerabilities only: No code analysis.
Usage and Links (Example)
pip install pip-audit
pip-audit -r requirements.txt
Resources:
Getting started tips: run pip-audit on your main branch to establish a baseline, fix vulnerabilities with available upgrades first, and record accepted risks for the rest. Then run it on every pull request so new vulnerable dependencies are flagged before merge, and schedule a regular scan of the default branch because new advisories are published against packages you already use.
Pricing
pip-audit is free and open source under the Apache-2.0 licence.
Recommended for?
- Python teams wanting free dependency audits.
- CI pipelines for Python packages.
- Not a fit for other languages.
Conclusion
pip-audit is the PyPA’s standard tool for Python dependency vulnerability audits.
As with any tool in this category, the value of pip-audit comes from running it consistently and acting on what it finds, so wire it into an existing workflow rather than treating it as an occasional audit.
Alternatives
Other tools on CheckOps that cover similar ground. Open a page, or compare one with pip-audit side by side.
OOSV-ScannerOSV-Scanner is Google's Apache-2.0 dependency vulnerability scanner and official frontend to the OSV database, covering many languages, package managers, OS packages and containers, with guided remediation and licence checks.Compare with pip-audit
TTrivyTrivy is Aqua Security's Apache-2.0 all-in-one scanner for container images, filesystems, Git repos, VM images and Kubernetes, finding CVEs, IaC misconfigurations, secrets, licences and SBOM data.Compare with pip-audit
SSnykSnyk CLI scans and monitors your projects for security vulnerabilities.Compare with pip-audit
DDependency-CheckOWASP dependency-check is a software composition analysis utility that detects publicly disclosed vulnerabilities in application dependencies.Compare with pip-audit
BBanditBandit is the PyCQA's Apache-2.0 tool for finding common security issues in Python code by building an AST for each file and running security plugins against it.Compare with pip-audit
SSocketSocket is a software supply-chain security platform that blocks zero-day supply chain attacks in JavaScript, Python and Go dependencies by analysing package behaviour, with a free plan.Compare with pip-audit