# 使用 Homebrew, Nix 安装 chain-bench

查看 chain-bench 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:chain-bench
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install chain-bench
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#chain-bench
```

  证据: nixpkgs package indexes: pkgs/by-name/ch/chain-bench/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:chain-bench
- **软件包管理器:** Homebrew
- **版本:** 0.1.10
- **来源摘要:** Software supply chain auditing tool based on CIS benchmark
- **主页:** <https://github.com/aquasecurity/chain-bench>
- **仓库:** <https://github.com/aquasecurity/chain-bench>
- **最后更新:** 2026-07-27T19:20:58+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- chain-bench (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.1.10
## 项目历史与用法

Chain-bench is Aqua Security's open-source CLI for auditing software supply-chain posture against the CIS Software Supply Chain Security Guide. Its history is bound to the 2022 CIS/Aqua push to make supply-chain controls measurable across source code, build pipelines, dependencies, artifacts, and deployment.

### 项目历史

Aqua announced Chain-bench on June 22, 2022 alongside the CIS Software Supply Chain Security Guide, describing it as an open-source auditing tool for the new CIS guidelines. The official README says Chain-bench scans the software delivery lifecycle from code time through deploy time and implements CIS Software Supply Chain Benchmark checks.

### 采用历史

The official README documents installation through Homebrew, Nix, Docker, GitHub releases, and GitHub Actions, with GitLab CI support described as beta. Aqua's July 2022 blog also listed GitHub Action, Docker image, executable releases, and NixOS package routes, showing the project was designed to be consumed both locally and in CI.

### 使用方式

Users provide a repository URL and an SCM access token, then run chain-bench scan to collect organization, repository, branch protection, member, and pipeline settings and report pass/fail results for CIS controls. The README documents GitHub and GitLab SCM support, personal access token requirements, Docker usage, and CI integration.

### 为什么软件包爱好者会关心

Chain-bench is interesting to package maintainers because it packages a compliance benchmark as a CLI, Docker image, GitHub Action, and distro package instead of only as a SaaS feature. That makes it part of the post-SolarWinds/log4j supply-chain tooling wave where checklists became runnable developer tools.

### 时间线

- 2022: Aqua and CIS released the Software Supply Chain Security Guide and Aqua unveiled Chain-bench.
- 2022: Aqua published a getting-started blog for auditing CIS compliance with Chain-bench.
- 2026: The README documents Brew, Nix, Docker, release binaries, GitHub Actions, and beta GitLab CI usage.

### Related projects

- Chain-bench is related to the CIS Software Supply Chain Security Guide, Aqua Vulnerability Database compliance checks, Trivy-family Aqua open-source tooling, GitHub Actions, GitLab CI, and SCM platforms such as GitHub and GitLab.

### 来源

- <https://github.com/aquasecurity/chain-bench#readme>
- <https://github.com/aquasecurity/chain-bench/tree/main/docs>
- <https://www.aquasec.com/news/software-supply-chain-security-guide-cis-aqua-security/>
- <https://www.aquasec.com/blog/cis-software-supply-chain-compliance/>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 其他软件包管理器记录

- Nix - chain-bench: normalized package name match | nixpkgs package indexes: pkgs/by-name/ch/chain-bench/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/chain-bench.yml](https://github.com/mxcl/pkgdb/blob/main/combined/chain-bench.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
