# 使用 Homebrew, Nix 安装 authz0

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

## 安装

```sh
sudo av install brew:authz0
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install authz0
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#authz0
```

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

## 软件包事实

- **软件包键:** brew:authz0
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/authz0>
- **版本:** 1.1.2
- **来源摘要:** Automated authorization test tool
- **主页:** <https://authz0.hahwul.com/>
- **仓库:** <https://github.com/hahwul/authz0>
- **上游文档:** <https://authz0.hahwul.com/>
- **许可证:** MIT
- **源码归档:** <https://github.com/hahwul/authz0/archive/refs/tags/v1.1.2.tar.gz>
- **最后更新:** 2026-07-25T14:18:27-04:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- authz0 (cli)
- authz0 (别名)

## 构建依赖

- go

## 安装行为

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

## 版本和新鲜度

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

Authz0 is a Go CLI for automated authorization and access-control testing. It models target URLs, roles, assertions, and credentials in YAML templates, then scans for unauthorized access based on those role definitions.

### 项目历史

The public repository was created in January 2022. The README describes the tool as an automated authorization test tool that identifies unauthorized access using URLs, roles, and credentials.

Early releases moved quickly: v1.0.0 shipped in January 2022, v1.1.0 added `setCred` plus imports from ZAP, HAR, and Burp history, and v1.1.2 followed in March 2022. The repository has continued to receive activity even though Homebrew currently tracks the older 1.1.2 release.

### 采用历史

Authz0 is distributed through Go install, Homebrew via the project's tap instructions, Snapcraft, Docker, and a GitHub Action according to official docs and the README. The Homebrew core formula packages 1.1.2 from the official GitHub tag, while the input also records Nix packaging.

The tool sits in the bug-bounty and application-security packaging lane: small enough to install as a single CLI, but designed to consume artifacts from Burp, ZAP, HAR exports, and YAML templates created during manual security testing.

### 使用方式

A typical flow is `authz0 new` to generate a YAML template, `authz0 setUrl`, `setRole`, and `setCred` to add test data, then `authz0 scan` to execute checks. The docs show credential headers stored inside the user-supplied template file rather than a fixed global credentials location.

Because the template path is chosen by the user, there is no official fixed config-file or credentials-file location to record. The official structure docs document the YAML schema, not an application config path.

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

Authz0 is notable for packaging a common appsec workflow as a reproducible CLI: collect URLs from ZAP/Burp/HAR, map roles to allowed and denied routes, and run the same authorization checks again in CI or local testing.

Its package history also shows the difference between upstream activity and packaged stable versions: the repository is active, while the Homebrew stable formula remains at the 2022 1.1.2 release.

### 时间线

- 2022-01: Public GitHub repository created.
- 2022-01: v1.0.0 released.
- 2022-01: v1.1.0 added `setCred` and ZAP/HAR/Burp import flags.
- 2022-03: v1.1.2 released.
- 2022-05: GitHub Action release tag published.

### Related projects

- Authz0 is designed to work around artifacts from OWASP ZAP, Burp Suite, HAR files, Docker, GitHub Actions, and Go-based CLI installation.

### 来源

- <https://api.github.com/repos/hahwul/authz0>
- <https://authz0.hahwul.com/installation.html>
- <https://authz0.hahwul.com/structure/template.html>
- <https://authz0.hahwul.com/usage/>
- <https://authz0.hahwul.com/usage/setCred.html>
- <https://formulae.brew.sh/api/formula/authz0.json>
- <https://github.com/hahwul/authz0#readme>
- <https://github.com/hahwul/authz0/releases>


## 安全说明

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:** authz0
- **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 - authz0: normalized package name match | nixpkgs package indexes: pkgs/by-name/au/authz0/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [openfga](https://pkg.so/zh-hans/brew/openfga/) - Shares pkgdb curated category or tags: access-control, authorization, cli, security.
- [spicedb](https://pkg.so/zh-hans/brew/spicedb/) - Shares pkgdb curated category or tags: access-control, authorization, cli, security.
- [sops](https://pkg.so/zh-hans/brew/sops/) - Shares pkgdb curated category or tags: cli, security, yaml.
- [osv-scanner](https://pkg.so/zh-hans/brew/osv-scanner/) - Shares pkgdb curated category or tags: cli, go, security.
- [opa](https://pkg.so/zh-hans/brew/opa/) - Shares pkgdb curated category or tags: authorization, cli, security.
- [teleport](https://pkg.so/zh-hans/brew/teleport/) - Shares pkgdb curated category or tags: access-control, cli, security.
- [gobuster](https://pkg.so/zh-hans/brew/gobuster/) - Shares pkgdb curated category or tags: cli, go, security.
- [ffuf](https://pkg.so/zh-hans/brew/ffuf/) - Shares pkgdb curated category or tags: cli, go, security.
- [apkleaks](https://pkg.so/zh-hans/brew/apkleaks/) - Security-sensitive metadata or terminology overlaps. Shared terms: bounty, bug, bug-bounty, cli, scanner.

## Combined YAML source

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