Skip to main content

A tool for scanning Python environments for known vulnerabilities

Project description

pip-audit

CI PyPI version

pip-audit is a prototype tool for scanning Python environments for packages with known vulnerabilities. It uses the Python Packaging Advisory Database (https://github.com/pypa/advisory-db) as a source of vulnerability reports.

This project is developed by Trail of Bits with support from Google. This is not an official Google product.

Development steps

git clone https://github.com/trailofbits/pip-audit && cd pip-audit
make dev && source env/bin/activate
pip-audit --help

Release process

Releases of pip-audit are managed via bump and GitHub Actions.

# default release (patch bump)
make release

# override the default
# vX.Y.Z -> vX.Y.Z-rc.0
make release BUMP_ARGS="--pre rc.0"

# vX.Y.Z -> vN.0.0
make release BUMP_ARGS="--major"

make release will fail if there are any untracked changes in the source tree.

If make release succeeds, you'll see an output like this:

RUN ME MANUALLY: git push origin main && git push origin vX.Y.Z

Run that last command sequence to complete the release.

Licensing

pip-audit is licensed under the Apache 2.0 License.

pip-audit reuses and modifies examples from resolvelib, which is licensed under the ISC license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pip-audit-0.0.1rc2.tar.gz (18.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pip_audit-0.0.1rc2-py3-none-any.whl (21.6 kB view details)

Uploaded Python 3

File details

Details for the file pip-audit-0.0.1rc2.tar.gz.

File metadata

  • Download URL: pip-audit-0.0.1rc2.tar.gz
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for pip-audit-0.0.1rc2.tar.gz
Algorithm Hash digest
SHA256 fb31ff8d16b6d232cb701e80e61de03dde09d77d191d97a5fa13d1ace07e8d37
MD5 62b84dc91ac3abf14f4c9bdcfb034bb7
BLAKE2b-256 6614d00e314c2b6a4e607838bb4859f1b985ced28f7fed2bdb0e6b1c2145c313

See more details on using hashes here.

File details

Details for the file pip_audit-0.0.1rc2-py3-none-any.whl.

File metadata

  • Download URL: pip_audit-0.0.1rc2-py3-none-any.whl
  • Upload date:
  • Size: 21.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for pip_audit-0.0.1rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 d8f86b8e507f7de4a000cd2ef52237f1d50ce6710bfdd5197907a0a8d4dbb9cb
MD5 ce93a2409a013ade25a1a95a71f3c1c8
BLAKE2b-256 78304781f1e51db8d3b84c3d23274df394f6abd88088aa13bb3d800453ef5fa7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page