# 使用 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
- **版本:** 1.1.2
- **来源摘要:** Automated authorization test tool
- **主页:** <https://authz0.hahwul.com/>
- **仓库:** <https://github.com/hahwul/authz0>
- **最后更新:** 2026-07-25T14:18:27-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- authz0 (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.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

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

- 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


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