OWASP Dependency-Check
$ dependency-check Foundation Low RiskOWASP Dependency-Check (dependency-check) inspects Java, .NET, JavaScript, Python, Ruby, and Go dependencies against NVD, OSS Index, and CISA KEV advisories. It runs headlessly in CI and writes structured JSON or SARIF reports via --format JSON --out <dir>, though initial NVD syncing is slow without --nvdApiKey.
brew install dependency-check Local SCA scanning across polyglot lockfiles and JARs runs deterministically via dependency-check --format JSON without external MCP payload limits.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Supports --format JSON and SARIF plus --noupdate, but writes reports to --out files rather than clean stdout and emits verbose progress logs.
- Native
--format JSONand--format SARIFreport outputs - Writes files to
--outdirectory instead of streaming JSON directly to stdout
Read-only static dependency inspection with no code execution, though NVD/OSS Index updates fetch remote feeds unless --noupdate is set.
- No execution of scanned build scripts or artifacts
- Optional
--noupdateenforces offline operation
Available via brew install dependency-check and release zips, but requires a Java JRE/JDK and a large local NVD database cache.
- Requires Java runtime and multi-hundred-MB NVD H2 cache
Broad polyglot SCA coverage (especially Maven/Gradle/JARs), though noticeably slower startup and sync times than trivy or grype.
- Covers Java, .NET, JS, Python, and C/C++ CPE matching
Flagship OWASP foundation project actively maintained under Apache-2.0.
- OWASP official project with regular NVD v2 API updates
Thorough CLI argument docs on GitHub Pages, though legacy vs. NVD v2 flags require careful reading.
- Official CLI reference at dependency-check.github.io
Security, Auth & Guardrails
Reads optional NVD API key via --nvdApiKey or --properties; stores local H2 vulnerability database under the --data cache directory.
100% free and open-source (Apache-2.0); free NVD API key recommended to avoid NIST rate limits.
# OWASP Dependency-Check Agent Rules - Pass `--noupdate` when running repeated scans against an already-synced `--data` NVD cache to avoid multi-minute downloads. - Supply `--nvdApiKey` via environment variable rather than hardcoding keys in command logs. - Always specify `--format JSON` (or `SARIF`) and `--out <dir>` so reports land in a predictable path.
Agent-Ready Command Recipes
Safe Read-Only Queries
dependency-check --project app --scan . --noupdate --format JSON --out ./reports
Scans the workspace against the cached NVD database without network updates (--noupdate) and writes dependency-check-report.json.
dependency-check --version
Prints the installed dependency-check version without downloading vulnerability feeds.
Strengths for Agents
- + Mature OWASP SCA engine with strong Java/JAR and CPE matching plus
--format JSON/SARIFoutput. - +
--noupdateand--failOnCVSSmake repeated CI and agent policy checks deterministic.
Caveats & Pitfalls
- ! Requires Java and an initial NVD feed download that is heavily rate-limited without
--nvdApiKey. - ! Writes report files to
--outwith verbose console logs rather than clean stdout JSON.