pip-audit

A tool that checks a Python project's pinned dependencies against public advisory databases and reports known vulnerabilities with fixed versions.

In more detail

It reports each affected package with the advisory identifier and the version that fixes it. Run it in the pipeline on every change and on a schedule, because the list of known vulnerabilities grows while your pins stay put.

Example

pip-audit --requirement requirements.txt

Related terms

Taught in

References