# 使用 Homebrew, apk, MacPorts, Nix, pacman, zypper, scoop, winget 安装 zizmor

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

## 安装

```sh
sudo av install brew:zizmor
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install zizmor
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install zizmor
```

  证据: MacPorts ports tree: security/zizmor/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add zizmor
```

  证据: Alpine Linux edge package indexes: zizmor from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#zizmor
```

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

- pacman (92%):

```sh
sudo pacman -S zizmor
```

  证据: Arch Linux sync databases: zizmor from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install zizmor
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/zizmor
```

  证据: Scoop official bucket manifest trees: bucket/zizmor.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id zizmor.zizmor -e
```

  证据: Windows Package Manager source index: zizmor.zizmor from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:zizmor
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/zizmor>
- **版本:** 1.29.0
- **来源摘要:** Find security issues in GitHub Actions setups
- **主页:** <https://docs.zizmor.sh/>
- **仓库:** <https://github.com/zizmorcore/zizmor>
- **上游文档:** <https://docs.zizmor.sh/>
- **许可证:** MIT
- **源码归档:** <https://github.com/zizmorcore/zizmor/archive/refs/tags/v1.29.0.tar.gz>
- **最后更新:** 2026-08-01T22:00:29Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- zizmor (cli)
- zizmor (别名)

## 构建依赖

- pkgconf
- rust

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.29.0
- 管理器更新时间: 2026-08-01
- 本地数据: OK
- 上游仓库: https://github.com/zizmorcore/zizmor
- 检测到的最新版本: v1.29.0 (当前)
## 项目历史与用法

zizmor is a static-analysis tool for GitHub Actions workflows and actions. It belongs to the newer supply-chain-security wave: instead of scanning application source code, it scans CI/CD definitions for patterns that can leak credentials, allow injection, over-grant permissions, or otherwise compromise releases.

### 项目历史

The project documentation describes zizmor as a tool that can find and fix common security issues in GitHub Actions CI/CD setups. The README lists examples including template-injection vulnerabilities, accidental credential persistence and leakage, excessive permission scopes, and confusable Git references.

zizmor reached a first stable release with v1.0.0, where the official release notes state that the project adopted Semantic Versioning and made stability commitments for existing features. Since then, the project has continued adding audits, output modes, auto-fix behavior, and integrations.

The project also grew a companion GitHub Action. `zizmor-action` runs zizmor inside CI and can integrate with GitHub Advanced Security by uploading findings to code scanning, turning the CLI into a recurring workflow check.

### 采用历史

zizmor's adoption tracks the rise of GitHub Actions as release infrastructure and the resulting need to audit workflows as security-sensitive code. Its documentation includes integrations for GitHub Actions, pre-commit, IDEs, and other environments, while the sponsor list includes Grafana Labs, Trail of Bits, Kusari, and Tracebit.

The official trophy case documents examples where zizmor helped larger projects improve GitHub Actions security. That is a strong adoption signal for this niche because the tool's value is demonstrated through pull requests that harden real workflows rather than through a generic scanner benchmark.

Trail of Bits' 2026 work on YAML-anchor support shows zizmor moving with the GitHub Actions platform itself: when Actions added YAML anchors, the analyzer had to understand that syntax to keep coverage over modern workflow files.

### 使用方式

Users run `zizmor` against workflow files, action definitions, directories, or repositories. The quickstart documents inputs, collection modes, severity and confidence filtering, multiple output formats including JSON, SARIF, and GitHub annotations, and an experimental `--fix` mode.

The usage docs emphasize its static nature: zizmor analyzes workflow and action definitions without executing code or observing runtime state. This makes it suitable for local checks, pre-commit hooks, CI jobs, and code-scanning uploads, while still requiring users to understand runtime-only limitations.

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

zizmor is package-nerd significant because it treats CI configuration as a first-class supply-chain artifact. For maintainers, installing it is a low-friction way to audit the same YAML that builds, signs, publishes, and deploys packages.

It is also a good example of modern security tooling packaging: a Rust CLI, documentation-first audit catalog, machine-readable outputs, and a GitHub Action wrapper that lets projects consume the tool either locally or as part of repository security automation.

### 时间线

- 2024: zizmor documentation copyright begins under William Woodruff, matching the project's early public documentation era.
- 2025: v1.0.0 is identified in official release notes as the first stable release with Semantic Versioning.
- 2025: The GitHub Marketplace lists zizmor-action as a public action for running zizmor in workflows.
- 2026: Trail of Bits collaborates with zizmor maintainers to harden YAML-anchor support after GitHub Actions adds anchors.

### Related projects

- zizmor-action, the official GitHub Action wrapper for running zizmor in CI.
- GitHub Advanced Security code scanning and SARIF-based workflows.
- pre-commit, IDE integrations, Scorecard, OSSF/SLSA-adjacent supply-chain hardening tools, and GitHub Actions security guidance.

### 来源

- <https://blog.trailofbits.com/2026/05/22/we-hardened-zizmors-github-actions-static-analyzer/>
- <https://docs.zizmor.sh/>
- <https://docs.zizmor.sh/audits/>
- <https://docs.zizmor.sh/quickstart/>
- <https://docs.zizmor.sh/trophy-case/>
- <https://docs.zizmor.sh/usage/>
- <https://github.com/marketplace/actions/zizmor-action>
- <https://github.com/zizmorcore/zizmor>
- <https://github.com/zizmorcore/zizmor-action>
- <https://github.com/zizmorcore/zizmor/blob/main/docs/release-notes.md>


## 安全说明

没有找到 zizmor 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: zizmor.yml, zizmor.yaml
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** zizmor
- **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 - zizmor: normalized package name match | nixpkgs package indexes: pkgs/by-name/zi/zizmor/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - zizmor - 1.27.0-r0: normalized package name match | Alpine Linux edge package indexes: zizmor from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A static analysis tool for GitHub Actions | https://github.com/zizmorcore/zizmor
- apk - zizmor-doc - 1.27.0-r0: normalized package name match | Alpine Linux edge package indexes: zizmor-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A static analysis tool for GitHub Actions (documentation) | https://github.com/zizmorcore/zizmor
- pacman - zizmor - 1.29.0-1: normalized package name match | Arch Linux sync databases: zizmor from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A static analysis tool for GitHub Actions | https://github.com/zizmorcore/zizmor
- zypper - zizmor - 1.28.0-1.2: normalized package name match | openSUSE Tumbleweed package metadata: zizmor from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A static analysis tool for GitHub Actions | https://github.com/zizmorcore/zizmor
- zypper - zizmor-bash-completion - 1.28.0-1.2: normalized package name match | openSUSE Tumbleweed package metadata: zizmor-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Bash Completion for zizmor | https://github.com/zizmorcore/zizmor
- zypper - zizmor-fish-completion - 1.28.0-1.2: normalized package name match | openSUSE Tumbleweed package metadata: zizmor-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Fish Completion for zizmor | https://github.com/zizmorcore/zizmor
- zypper - zizmor-zsh-completion - 1.28.0-1.2: normalized package name match | openSUSE Tumbleweed package metadata: zizmor-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Zsh Completion for zizmor | https://github.com/zizmorcore/zizmor
- MacPorts - zizmor: normalized package name match | MacPorts ports tree: security/zizmor/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/zizmor: normalized package name match | Scoop official bucket manifest trees: bucket/zizmor.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - zizmor.zizmor: normalized package name match | Windows Package Manager source index: zizmor.zizmor from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [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.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [poutine](https://pkg.so/zh-hans/brew/poutine/) - Shares pkgdb curated category or tags: ci, cli, github-actions, security, supply-chain-security.
- [checkov](https://pkg.so/zh-hans/brew/checkov/) - Shares pkgdb curated category or tags: cli, security, static-analysis.
- [tfsec](https://pkg.so/zh-hans/brew/tfsec/) - Shares pkgdb curated category or tags: cli, security, static-analysis.
- [gosec](https://pkg.so/zh-hans/brew/gosec/) - Shares pkgdb curated category or tags: cli, security, static-analysis.
- [terrascan](https://pkg.so/zh-hans/brew/terrascan/) - Shares pkgdb curated category or tags: cli, security, static-analysis.
- [bandit](https://pkg.so/zh-hans/brew/bandit/) - Shares pkgdb curated category or tags: cli, security, static-analysis.
- [ghalint](https://pkg.so/zh-hans/brew/ghalint/) - Shares pkgdb curated category or tags: cli, github-actions, security.
- [joern](https://pkg.so/zh-hans/brew/joern/) - Shares pkgdb curated category or tags: cli, security, static-analysis.
- [frizbee](https://pkg.so/zh-hans/brew/frizbee/) - Security-sensitive metadata or terminology overlaps. Shared terms: actions, chain, cli, github, github-actions.
- [raven](https://pkg.so/zh-hans/brew/raven/) - Security-sensitive metadata or terminology overlaps. Shared terms: actions, analysis, ci, cli, github.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
