Skip to main content

pip-audit-extra codecov

Extended version of pip-audit.

Features

  • Viewing vulnerabilities of project dependencies along with severities.

Installation

pip install pip-audit-extra

Usage

cat requirements.txt | pip-audit-extra

Poetry

poetry export -f requirements.txt | pip-audit-extra
# or
poetry run pip-audit-extra --local

UV

uv export --format requirements-txt | pip-audit-extra
# or
uv run pip-audit-extra --local

Severity filter

If necessary, you can filter vulnerabilities by severity. By default, the filter selects vulnerabilities with the specified severity AND SEVERITIES WITH A HIGHER PRIORITY. It only affects the vulnerability table.

cat requirements.txt | pip-audit-extra --severity CRITICAL

To select only the specified level, add the prefix ~, for example:

cat requirements.txt | pip-audit-extra --severity ~CRITICAL

Fail level

You can set severity of vulnerability from which the audit will be considered to have failed.

cat requirements.txt | pip-audit-extra --fail-level HIGH

In this example, the audit will be considered failed if vulnerabilities of CRITICAL or HIGH severity are found.

Caching

Caching is used to speed up re-auditing by maintaining the severity of vulnerabilities.

By default, cached record is valid for a day from the moment of saving. You can control the lifetime of entries in the cache.

# (default) 1 day
cat requirements.txt | pip-audit-extra --cache-lifetime 1d

# disable cache
cat requirements.txt | pip-audit-extra --cache-lifetime 0

# 1 minute
cat requirements.txt | pip-audit-extra --cache-lifetime 60

# 1 weak
cat requirements.txt | pip-audit-extra --cache-lifetime 604800

# 15 seconds
cat requirements.txt | pip-audit-extra --cache-lifetime 15s

# 30 minutes
cat requirements.txt | pip-audit-extra --cache-lifetime 30m

# 12 hours
cat requirements.txt | pip-audit-extra --cache-lifetime 12h

# 1 weak
cat requirements.txt | pip-audit-extra --cache-lifetime 7d

Custom cache path

You can use the PAE_CACHE_DIR environment variable to specify path to the cache folder.

PAE_CACHE_DIR="/tmp/pae/" pip-audit-extra --local

Local packages check

You can check packages which installed in the current local environment without installing dependencies in isolated environment.

pip-audit-extra --local

Disable pip

You can skip isolated environment building (only if requirements.txt file contains hashes) to speedup audit.

cat requirements.txt | pip-audit-extra --disable-pip

⛔Limitations⛔

There are certain types of dependencies that are not supported by pip-audit (for example, dependencies installed directly from github with a specific hash).

Metadata

Release files for pip-audit-extra 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pip-audit-extra 2.0.0
File Size Uploaded Provenance Actions
pip_audit_extra-2.0.0.tar.gz 13.3 kB With provenance Details for pip_audit_extra-2.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pip-audit-extra 2.0.0
File Interpreter ABI Platform Actions
pip_audit_extra-2.0.0-py3-none-any.whl Python 3 none any Details for pip_audit_extra-2.0.0-py3-none-any.whl

Total release size: 35.6 kB

Release files / pip_audit_extra-2.0.0.tar.gz

Download URL pip_audit_extra-2.0.0.tar.gz
Size 13.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d42e2bbf5852c3ed2585cdf6e55406982e1adb14967e234c287d63fff6a13fbd
BLAKE2b-256 checksum
How to use checksums
3679b2cf487e0d7e867ba1b3c5ec24f6b6f807f9058014ae935f42605530f55e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 9, 2026.

Transparency log

Release files / pip_audit_extra-2.0.0-py3-none-any.whl

Download URL pip_audit_extra-2.0.0-py3-none-any.whl
Size 22.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d6c6ba84a4f5de9cf5f0ca3483882678d9b539e85077d211108949b0d76c55ad
BLAKE2b-256 checksum
How to use checksums
a6736ac006ec46ba01c3c165709a1e89c9505c3084fc7c7322daaff0ade88d29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 9, 2026.

Transparency log

Security for pip-audit-extra 2.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pip_audit_extra-2.0.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 9, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page