mkbhardwas12/pwned-deps

Scan lockfiles for compromised package versions (MAL-* / EXTRA-*).

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit May 5, 2026
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: mkbhardwas12/pwned-deps@9ee455611e17ecb8fe7380e4ff472bee6e7b68ce # v0.1.0

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

namedescriptionrequireddefault
pathPath to scan (file or directory). Directories autodetect every supported lockfile.no.
versionWhich pwned-deps to install. Empty (default) - `pip install pwned-deps` (latest from PyPI). "1.2.3" - `pip install pwned-deps==1.2.3` (pinned). "from-source" - install the action's own checkout via pip install -e <action checkout path>. Used by this repo's action self-test before first PyPI publish, and by forks doing local development against an unreleased revision. no""
fail-onWhich exit codes fail the step. `compromised` (default) — fail on exit 1 only. `any` — fail on exit 1 or 2. `never` — never fail (report-only). nocompromised
output-sarifPath to write the SARIF report. Empty = do not write SARIF.nopwned-deps.sarif
upload-sarifIf `true`, upload the SARIF file to GitHub Code Scanning.notrue
offlineIf `true`, skip the network and use the cached database only.nofalse
namedescription
exit-codeThe CLI exit code (0/1/2/3).
sarif-pathPath to the SARIF file written, if any.