rtfm-depcheck
v1.0.1
Published
Scan dependencies for vulnerabilities. RTFM.
Downloads
10
Maintainers
Readme
depcheck
Scan your dependencies for known vulnerabilities. Fast. Simple. RTFM.
Install
npm install -g depcheck-cliUsage
# Scan current directory
depcheck
# Scan specific path
depcheck ./my-project
# Only critical vulnerabilities
depcheck --critical
depcheck -c
# JSON output
depcheck --json
# Check specific package
depcheck --package lodash
depcheck -p [email protected]
# List known vulnerabilities
depcheck --list
# Help
depcheck --helpOutput
$ depcheck
Scanning package.json...
Found 2 vulnerabilities:
✗ [email protected]
Severity: CRITICAL
CVE: CVE-2021-44906
Issue: Prototype Pollution
Fix: upgrade to >=1.2.6
✗ [email protected]
Severity: HIGH
CVE: CVE-2021-23337
Issue: Command Injection
Fix: upgrade to >=4.17.21
Summary: 1 critical, 1 high, 0 medium, 0 low
Run 'npm update' to fix vulnerabilitiesExit codes
0- No vulnerabilities found1- Vulnerabilities found or error
License
MIT
rtfm.codes - read the fine manual
