Ruby Dependency Audit CLI: Fast, Zero-Dependency SCA for Bundler
Audit direct and transitive Ruby gems, detect vulnerabilities in the Google OSV database, and validate Gemfile.lock integrity—without Ruby runtime or API keys.
The Problem with Traditional SCA Tools in Ruby
Why do tools like bundler-audit require managing local advisory git repos and Ruby runtimes in CI?
Traditional Tools
(bundler-audit)-
Requires Ruby Runtime & Git Sync
Requires installed Ruby runtime and updating local ruby-advisory-db git repos before every scan.
Kevlar-CheckDeps
(Ruby Audit)-
Zero Ruby Runtime Needed
Executes standalone via Python stdlib, parsing Gemfile.lock 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 Ruby dependencies querying Google OSV DB:
$ python kevlar.py --tech ruby --path ./ --all --vuls
Export HTML / SARIF
Generate interactive HTML dashboards or standard SARIF v2.1.0 reports:
$ python kevlar.py --tech ruby --path ./ --all --vuls --output report.html
$ python kevlar.py --tech ruby --path ./ --all --vuls --output report.sarif
CI/CD Build Breaking
Fail CI/CD pipelines automatically if severe vulnerabilities are detected:
$ python kevlar.py --tech ruby --path ./ --all --vuls --fail-on-vulns "critical:1,high:2"
Frequently Asked Questions (FAQ)
Quick answers to common questions about Ruby dependency auditing.