Skip to main content

A tool for scanning Python environments for known vulnerabilities

Project description

pip-audit

CI

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.

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.1rc0.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

pip_audit-0.0.1rc0-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pip-audit-0.0.1rc0.tar.gz
  • Upload date:
  • Size: 13.2 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.2 CPython/3.9.7

File hashes

Hashes for pip-audit-0.0.1rc0.tar.gz
Algorithm Hash digest
SHA256 1c079aac9b1430f981f11a4605d9f85cd23c7e46d54ae54befb484a39d3fb271
MD5 7eea49a7892f4bb1044832082d37efd1
BLAKE2b-256 aa8f178a80f1831dac2f7ed02f50b217134d3132f164d0ba9597937881eec38a

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pip_audit-0.0.1rc0-py3-none-any.whl
  • Upload date:
  • Size: 15.2 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.2 CPython/3.9.7

File hashes

Hashes for pip_audit-0.0.1rc0-py3-none-any.whl
Algorithm Hash digest
SHA256 ec73440f250b631864cd2a6b571496f60724d25aded65b156d6918c9d34142d1
MD5 e6a95ed36555ee0de6cd58729448ccff
BLAKE2b-256 afeba17f22a20981d8f4d58559082c92df77ebfbae74c74576f453010b82efc0

See more details on using hashes here.

Provenance

Supported by

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