How to scan your project's dependencies for vulnerabilities in 30 seconds (no account needed)
Most developers don't scan their dependencies until something blows up in production. The usual objections: "the tool requires a paid account", "I'd have to upload my lockfile to some service", "it takes too long to set
Most developers don't scan their dependencies until something blows up in production. The usual objections: "the tool requires a paid account", "I'd have to upload my lockfile to some service", "it takes too long to set up".
Here's a workflow that removes all three objections.
The 30-second version
npx @lowdep/depwarden scan --file package-lock.json
That's it. No account, no API key, nothing uploaded to a third-party service. The CLI reads your lockfile locally, checks it against the OSV vulnerability database (enriched with CISA KEV and EPSS prioritization), and prints findings to the terminal.
If you'd rather not install anything, paste the lockfile directly at depwarden.in.
Why CVSS alone isn't enough
A lot of scanners hand you a list sorted by CVSS score. The problem: CVSS is a theoretical severity measure, not an exploitability signal. A 9.8 CVE with zero public exploits and no affected version in your dependency graph is a lot less urgent than a 7.4 CVE with a CISA KEV flag and 0.94 EPSS score.
DepWarden prioritizes findings by combining three signals:
- CISA KEV β has this CVE been exploited in the wild against real targets?
- FIRST EPSS β what's the probability of exploitation in the next 30 days?
- Fix availability β does an upgrade path exist right now?
This surfaces the things that matter first, rather than burying them under theoretical 10.0s that nobody's actively exploiting.
Scanning a lockfile
Supported ecosystems: npm (package-lock.json, yarn.lock, pnpm-lock.yaml), PyPI (poetry.lock, requirements.txt, Pipfile.lock), Maven (pom.xml), Cargo (Cargo.lock), Go (go.sum), NuGet (.csproj, packages.lock.json), RubyGems (Gemfile.lock), Composer (composer.lock), Dart (pubspec.lock).
# npm project
npx @lowdep/depwarden scan --file package-lock.json
# Python project
npx @lowdep/depwarden scan --file poetry.lock
# Maven project
npx @lowdep/depwarden scan --file pom.xml
The output looks like this:
CRITICAL CVE-2024-21538 cross-spawn 7.0.3 CVSS 7.5 KEV β EPSS 0.91 β upgrade to 7.0.5
HIGH CVE-2024-45296 path-to-regexp 0.1.7 CVSS 7.5 β upgrade to 0.1.10
MEDIUM CVE-2024-37890 ws 7.5.9 CVSS 5.4 β upgrade to 7.5.10
Adding it to CI
GitHub Actions:
- name: Dependency scan
uses: lowdep/depwarden-action@v1
with:
file: package-lock.json
fail-on: HIGH # or CRITICAL, MEDIUM, LOW
The action exits non-zero if any finding at or above the threshold exists, blocking the merge. You can also set fail-on: KEV to block only on CISA-confirmed exploited vulnerabilities.
Pre-commit (local):
# .git/hooks/pre-commit
npx @lowdep/depwarden scan --file package-lock.json --fail-on HIGH
Privacy model
The CLI runs the analysis locally β your lockfile never leaves your machine. The web UI sends the manifest to the server for analysis, but nothing is stored after the session ends. No account, no telemetry on what you're scanning.
What it doesn't cover (yet)
- Runtime vulnerability detection (what's actually loaded in memory)
- Container image scanning (the Docker layer, not just the app's manifest)
- Languages without a mature lockfile standard (some Go projects, C/C++)
For everything it does cover, the analysis is fast β typically under 3 seconds for a lockfile with a few hundred dependencies.
The project is at depwarden.in. I'm building it in public and genuinely want to know where the false positive rate is too high or which ecosystem you need that isn't there yet. Happy to discuss in the comments.
Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes β full credit and traffic to the original publisher.