dependency-auditor

v0.8.2
io.github.GuardBee/dependency-auditor Checked 2 hours ago Published 22 days ago

CVE scanning for npm/pip/cargo dependencies via OSV

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

audit_npm

Audit npm dependencies for known CVEs using the OSV database. Reads exact versions from package-lock.json, npm-shrinkwrap.json, pnpm-lock.yaml, yarn.lock (v1 and berry) or bun.lock, falling back to package.json ranges

ParameterTypeDescription
directory *stringPath to the directory containing package.json
exploitDatabooleanAdd CISA KEV (exploited in the wild) and FIRST EPSS data and order findings by it (default: true; sends CVE IDs only)
includeDevDepsbooleanInclude devDependencies in the audit (default: false)

audit_pip

Audit Python dependencies for known CVEs using the OSV database. Reads exact versions from uv.lock, poetry.lock or Pipfile.lock, falling back to requirements.txt / pyproject.toml

ParameterTypeDescription
directory *stringPath to the directory containing requirements.txt or pyproject.toml
exploitDatabooleanAdd CISA KEV (exploited in the wild) and FIRST EPSS data and order findings by it (default: true; sends CVE IDs only)
includeDevDepsbooleanInclude dev groups from poetry.lock, uv.lock or Pipfile.lock (default: false)

audit_package

Audit a single package by name, version, and ecosystem

ParameterTypeDescription
ecosystem *stringPackage ecosystem
name *stringPackage name
version *stringPackage version (e.g. 1.2.3)
exploitDatabooleanAdd CISA KEV (exploited in the wild) and FIRST EPSS data and order findings by it (default: true; sends CVE IDs only)

audit_directory

Auto-detect and audit every supported project in a directory: npm (package-lock, pnpm, yarn, bun), Python (uv, Poetry, Pipenv, requirements), Rust (Cargo.lock), Go (go.mod), Ruby (Gemfile.lock) and PHP (composer.lock)

ParameterTypeDescription
directory *stringPath to the project root directory
exploitDatabooleanAdd CISA KEV (exploited in the wild) and FIRST EPSS data and order findings by it (default: true; sends CVE IDs only)
includeDevDepsbooleanInclude dev dependencies (default: false)