# 使用 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
- **软件包管理器页面:** <https://formulae.brew.sh/formula/slsa-verifier>
- **版本:** 2.7.1
- **来源摘要:** Verify provenance from SLSA compliant builders
- **主页:** <https://github.com/slsa-framework/slsa-verifier>
- **仓库:** <https://github.com/slsa-framework/slsa-verifier>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/slsa-framework/slsa-verifier/archive/refs/tags/v2.7.1.tar.gz>
- **最后更新:** 2026-07-26T04:03:42+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- slsa-verifier (cli)
- slsa-verifier (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 2.7.1
- 管理器更新时间: 2026-07-26
- 本地数据: OK
- 上游仓库: https://github.com/slsa-framework/slsa-verifier
- 检测到的最新版本: v2.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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** slsa-verifier
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- 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


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://pkg.so/zh-hans/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [malcontent](https://pkg.so/zh-hans/brew/malcontent/) - Shares pkgdb curated category or tags: cli, security, supply-chain-security.
- [minder](https://pkg.so/zh-hans/brew/minder/) - Shares pkgdb curated category or tags: cli, security, supply-chain-security.
- [depsguard](https://pkg.so/zh-hans/brew/depsguard/) - Shares pkgdb curated category or tags: cli, security, supply-chain-security.
- [bumblebee](https://pkg.so/zh-hans/brew/bumblebee/) - Shares pkgdb curated category or tags: cli, security, supply-chain-security.
- [sh4d0wup](https://pkg.so/zh-hans/brew/sh4d0wup/) - Shares pkgdb curated category or tags: cli, security, supply-chain-security.
- [chain-bench](https://pkg.so/zh-hans/brew/chain-bench/) - Shares pkgdb curated category or tags: cli, security, supply-chain-security.
- [witness](https://pkg.so/zh-hans/brew/witness/) - Shares pkgdb curated category or tags: cli, provenance, security, supply-chain-security.
- [cosign](https://pkg.so/zh-hans/brew/cosign/) - Shares pkgdb curated category or tags: cli, security, supply-chain-security.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
