# 使用 Homebrew, Nix, zypper 安装 slsa-verifier

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

## 安装

```sh
sudo av install brew:slsa-verifier
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install slsa-verifier
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#slsa-verifier
```

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

- zypper (92%):

```sh
sudo zypper install slsa-verifier
```

  证据: openSUSE Tumbleweed package metadata: slsa-verifier from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:slsa-verifier
- **软件包管理器:** Homebrew
- **版本:** 2.7.1
- **来源摘要:** Verify provenance from SLSA compliant builders
- **主页:** <https://github.com/slsa-framework/slsa-verifier>
- **仓库:** <https://github.com/slsa-framework/slsa-verifier>
- **最后更新:** 2026-07-26T04:03:42+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- slsa-verifier (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

slsa-verifier is the SLSA project's command-line verifier for provenance attached to software artifacts. It is used in CI and release workflows to check that an artifact, image, or package was built by an expected builder from expected source inputs.

### 项目历史

The GitHub repository was created in March 2022 and its first public GitHub release, v0.0.1, was published in May 2022. The README describes the tool as a verifier for SLSA provenance generated by CI/CD builders, including checks of cryptographic signatures and expected builder, source repository, and ref values.

### 采用历史

The official README documents installation through Go, release binaries, a GitHub Actions installer, and a community-maintained Homebrew formula. The supplied package metadata also lists Homebrew, Nix, and zypper package names, showing distribution through both developer workstations and reproducible-build/package-manager ecosystems.

### 使用方式

Common usage is to run `slsa-verifier` in a release or dependency-ingestion path to verify provenance for artifacts, containers, npm packages, Google Cloud Build output, and GitHub build-provenance attestations.

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

Package maintainers care about slsa-verifier because it turns SLSA provenance, in-toto statements, and Sigstore-style attestations into a concrete command that can be wired into package publication and consumption workflows.

### 时间线

- 2022: GitHub repository created.
- 2022: v0.0.1 published as the first GitHub release.
- 2025: v2.7.1 documented in the README install examples.

### Related projects

- SLSA generator, Google Cloud Build provenance, GitHub build-provenance attestations, npm provenance, in-toto, and Sigstore are adjacent parts of the same supply-chain verification culture.

### 来源

- <https://api.github.com/repos/slsa-framework/slsa-verifier>
- <https://api.github.com/repos/slsa-framework/slsa-verifier/releases>
- <https://github.com/slsa-framework/slsa-verifier#readme>
- <https://github.com/slsa-framework/slsa-verifier/tree/main/docs>
- input.source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Nix - slsa-verifier: normalized package name match | nixpkgs package indexes: pkgs/by-name/sl/slsa-verifier/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- zypper - slsa-verifier - 2.7.1-1.7: normalized package name match | openSUSE Tumbleweed package metadata: slsa-verifier from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Verify provenance from SLSA compliant builders | https://github.com/slsa-framework/slsa-verifier


## Combined YAML source

View the package source record on GitHub. [combined/slsa-verifier.yml](https://github.com/mxcl/pkgdb/blob/main/combined/slsa-verifier.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
