Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

OWASP Dependency-Check

$ dependency-check Foundation Low Risk
OWASP · Security & Secrets · Apache-2.0 · macos / linux / windows

OWASP 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.

FCRS-1.0 Score
77 /100
Good
Medium Confidence
Zero-Friction Install
brew install dependency-check
CLI vs MCP Decision CLI Preferred vs MCP

Local SCA scanning across polyglot lockfiles and JARs runs deterministically via dependency-check --format JSON without external MCP payload limits.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 18 / 25

Supports --format JSON and SARIF plus --noupdate, but writes reports to --out files rather than clean stdout and emits verbose progress logs.

  • Native --format JSON and --format SARIF report outputs
  • Writes files to --out directory instead of streaming JSON directly to stdout
Trust & Safety 21 / 25

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 --noupdate enforces offline operation
Setup & Portability 11 / 15

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
Utility & Efficiency 11 / 15

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
Maintenance & Lineage 9 / 10

Flagship OWASP foundation project actively maintained under Apache-2.0.

  • OWASP official project with regular NVD v2 API updates
Docs & Verifiability 7 / 10

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

Auth Modes
No Auth Env API Key Config File
Credential Storage

Reads optional NVD API key via --nvdApiKey or --properties; stores local H2 vulnerability database under the --data cache directory.

Side Effects
Read-Only Local Write
Cost & Quotas

100% free and open-source (Apache-2.0); free NVD API key recommended to avoid NIST rate limits.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# 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

Run offline dependency CVE scan from cached NVD data
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.

Check CLI version and installed analyzers
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 / SARIF output.
  • + --noupdate and --failOnCVSS make 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 --out with verbose console logs rather than clean stdout JSON.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI