Dep Vuln Scanner

v1.0.0

Scan project dependencies for known security vulnerabilities using the OSV.dev API. Supports npm (package.json), Python/pip (requirements.txt), and Go (go.mo...

0· 231· 1 versions· 1 current· 1 all-time· Updated 14h ago· MIT-0
byJohn Wang@johnnywang2001

Install

openclaw skills install dep-vuln-scanner

Dependency Vulnerability Scanner

Scan project dependencies against the OSV.dev vulnerability database. Zero config, no API keys.

Quick Start

# Scan current directory (auto-detects project type)
python3 scripts/dep_vuln_scan.py .

# Scan a specific project
python3 scripts/dep_vuln_scan.py /path/to/project

# JSON output for CI/CD
python3 scripts/dep_vuln_scan.py . --json

# Scan only npm dependencies
python3 scripts/dep_vuln_scan.py . --ecosystem npm

Supported Ecosystems

FileEcosystem
package.jsonnpm
requirements.txtPyPI
go.modGo

Multiple files in the same directory are scanned together.

Output

  • Color-coded severity: CRITICAL/HIGH (red), MEDIUM (yellow), LOW (green)
  • Includes CVE aliases, vulnerability IDs, and descriptions
  • Summary with total count and critical/high breakdown
  • Exit code 1 if any vulnerabilities found (useful for CI gates)

Flags

  • --json — Machine-readable JSON output
  • --ecosystem <name> — Filter by ecosystem (repeatable)

Version tags

latestvk978yqzrryjpctjjet5r4wy5gd83a7wc