pypa/gh-action-pip-audit

Use pip-audit to scan Python dependencies for known vulnerabilities

View on GitHub

Trust Signals

Scorecard Score
Scorecard 6–8scored Jul 6, 2026
Maintenance Recency
Activelast commit Jun 8, 2026
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: pypa/gh-action-pip-audit@1220774d901786e6f652ae159f7b6bc8fea6d266 # v1.1.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
summaryrender a Markdown summary of the audit (default true)notrue
no-depsdon't do any dependency resolution (requires fully pinned requirements) (default false)nofalse
require-hashesenforce hashes (requirements-style inputs only) (default false)nofalse
vulnerability-servicethe vulnerability service to use (PyPI or OSV, defaults to PyPI)noPyPI
inputsthe inputs to audit, whitespace separated (defaults to current path)no""
virtual-environmentthe virtual environment to audit within (default none)no""
localfor environmental audits, consider only packages marked local (default false)nofalse
index-urlthe base URL for the PEP 503-compatible package index to useno""
extra-index-urlsextra PEP 503-compatible indexes to use, whitespace separatedno""
ignore-vulnsvulnerabilities to explicitly exclude, if present (whitespace separated)no""
disable-pipdisable pipnofalse
lockedaudit lock files from the local Python projectnofalse
internal-be-careful-allow-failuredon't fail the job if the audit fails (default false)nofalse
internal-be-careful-extra-flagsextra flags to be passed in to pip-auditno""
namedescription
internal-be-careful-outputthe column-formatted output from pip-audit, wrapped as base64