百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
B

bundler-audit

> 安全
开源

对 Bundler 的补丁级验证

2.8K stars0 点赞1 次浏览
访问官网GitHub

工具介绍

对 Bundler 的补丁级验证

bundler-audit

  • 主页
  • 问题
  • 文档

检查 Gemfile.lock 而不更新 [ruby-advisory-db]:

bash
$ bundle-audit check --no-update

忽略特定的安全公告:

bash
$ bundle-audit check --ignore OSVDB-108664

检查自定义的 Gemfile.lock 文件:

bash
$ bundle-audit check --gemfile-lock Gemfile.custom.lock

以 JSON 格式输出审计结果:

bash
$ bundle-audit check --format json

以 JSON 格式输出审计结果到文件:

bash
$ bundle-audit check --format json --output bundle-audit.json

Rake 任务

bundler-audit 提供了用于检查代码和更新其漏洞数据库的 rake 任务。

只需将以下代码添加到 Rakefile 中:

ruby
require 'bundler/audit/task'
Bundler::Audit::Task.new

以下 rake 任务将变为可用:

$ rake -T
rake bundle:audit
rake bundle:audit:update

配置文件

bundler-audit 还支持每个项目的配置文件:

.bundler-audit.yml:

yaml
---
ignore:
  - CVE-YYYY-XXXX
  - ...
  • ignore: [Array<String>] - 要忽略的公告 ID 列表。

你可以使用 --config 标志指定配置文件路径:

bash
$ bundle-audit check --config bundler-audit.custom.yaml

环境要求

  • [git]
  • [ruby] >= 2.0.0
  • [rubygems] >= 1.8
  • [thor] ~> 1.0
  • [bundler] >= 1.2.0

安装

bash
$ [sudo] gem install bundler-audit

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rubybundler-auditdependency-checkerpatch-managementruby

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类安全
定价开源

> 相关工具

O
OWASP ZAP
开源 Web 应用安全扫描器
O
owasp-wstg-tracker
Simple web app to track OWASP WSTG security testing progress
H
homebridge-mi-gateway-security
XiaoMi Gateway Security plugin for HomeBridge.