# bundler-audit

> Patch-level verification for Bundler

Source: https://talira.ai/catalog/bundler-audit-j9mgvgvk
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool, Library
- Categories: [security / supply chain / dependency scanning](https://talira.ai/categories/security/supply-chain/dependency-scanning), [languages / ruby](https://talira.ai/categories/languages/ruby)
- Licence: GPL-3.0-or-later[^1][^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Self-hostable: yes[^3]
- API: yes[^4]
- Backed by: [RubySec](https://talira.ai/orgs/rubysec.md)
- Creator: Hal Brodigan (postmodern)

bundler-audit checks a Ruby project's `Gemfile.lock` for gem versions with known vulnerabilities, using the community-maintained Ruby Advisory Database (ruby-advisory-db) from RubySec, and flags insecure `http://` and `git://` gem sources. The `bundle-audit` command prints each advisory with its criticality and the versions that fix it, and can update the database first, ignore advisories you've worked around (on the command line or in `.bundler-audit.yml`) and write JSON. It runs offline against a local copy of the database, and ships Rake tasks for CI.

## Links

- GitHub: https://github.com/rubysec/bundler-audit

## Problems it solves

- does our Gemfile.lock include a gem version with a known security vulnerability?
- fail the CI build when a Ruby dependency has a published CVE
- check a Rails app's gems against security advisories without sending our dependency list to a vendor
- warn me when the Gemfile pulls gems from insecure http or git:// sources
- ignore one advisory we've already mitigated while still checking for every other one
- get vulnerable gem findings as JSON for our security tooling
- a rake task that audits the bundle before each deploy
- tell me which version to upgrade a vulnerable gem to
- audit Ruby dependencies on a build machine with no network access
- free open source vulnerability scanning for a Ruby project's dependencies

## Features

- checks Gemfile.lock against ruby-advisory-db
- flags insecure http:// and git:// gem sources
- ignores advisories by ID, on the command line or in .bundler-audit.yml
- prints advisory ID, criticality, URL, title and fixed versions
- updates the advisory database (bundle-audit update or check --update)
- works offline against the local database
- JSON output to stdout or a file
- custom Gemfile.lock path
- Rake tasks (bundle:audit, bundle:audit:update)

## Capabilities

- Has an API: plan not known
- Has a command line tool: plan not known

## Trust

Overall: 0.46 out of 1.
Signals: backing 0.50, extensibility 0.40.

- backed by RubySec
- created by Hal Brodigan (postmodern)

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [Trivy](https://talira.ai/catalog/trivy-bwebatvr.md): Find vulnerabilities, misconfigurations, secrets, SBOM in containers, Kubernetes, code repositories, clouds and more
- [Grype](https://talira.ai/catalog/grype-e734z6vj.md): A vulnerability scanner for container images and filesystems.
- [Dependabot](https://talira.ai/catalog/dependabot-fvy21fq9.md): Automated dependency updates built into GitHub
- [Snyk](https://talira.ai/catalog/snyk-sw1313nn.md): Find, fix and prevent vulnerabilities in code, open source dependencies, container images and cloud configurations
- [OSV-Scanner](https://talira.ai/catalog/osv-scanner-99p2c8kk.md): Find known vulnerabilities in your project's dependencies, using OSV.dev
- [govulncheck](https://talira.ai/catalog/govulncheck-ye5fjrk1.md): Find known vulnerabilities that actually affect your Go code

## Sources

[^1]: https://github.com/rubysec/bundler-audit/blob/master/COPYING.txt (checked 20 Nov 2026)
[^2]: https://rubygems.org/gems/bundler-audit (checked 20 Nov 2026)
[^3]: https://github.com/rubysec/bundler-audit (checked 20 Nov 2026)
[^4]: https://github.com/rubysec/bundler-audit#readme (checked 20 Nov 2026)
