Go Dependency Audit CLI: Fast, Zero-Dependency SCA for Go Modules
Audit direct and transitive Go dependencies, detect vulnerabilities in the Google OSV database, and validate go.sum checksum integrity—without Go compiler binaries or API keys.
The Problem with Traditional SCA Tools in Go
Why do tools like govulncheck introduce setup overhead into containerized CI pipelines?
Traditional Tools
(govulncheck / nancy)-
Requires Go Compiler Toolchain
Requires installing full Go compiler binary toolchain inside CI runners just to analyze manifest files.
Kevlar-CheckDeps
(Go Audit)-
Zero Go Toolchain Needed
Executes standalone via Python stdlib, parsing go.mod and go.sum text files directly.
Quick Usage Guide & Practical Example
How to run local scans, export executable reports, and integrate Kevlar into your CI/CD pipeline.
Full Local Scan
Audit direct and transitive Go dependencies querying Google OSV DB:
$ python kevlar.py --tech golang --path ./ --all --vuls
Export HTML / SARIF
Generate interactive HTML dashboards or standard SARIF v2.1.0 reports:
$ python kevlar.py --tech golang --path ./ --all --vuls --output report.html
$ python kevlar.py --tech golang --path ./ --all --vuls --output report.sarif
CI/CD Build Breaking
Fail CI/CD pipelines automatically if severe vulnerabilities are detected:
$ python kevlar.py --tech golang --path ./ --all --vuls --fail-on-vulns "critical:1,high:2"
Frequently Asked Questions (FAQ)
Quick answers to common questions about Go dependency auditing.