# 使用 Homebrew, Nix 安装 legitify

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

## 安装

```sh
sudo av install brew:legitify
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install legitify
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#legitify
```

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

## 软件包事实

- **软件包键:** brew:legitify
- **软件包管理器:** Homebrew
- **版本:** 1.0.11
- **来源摘要:** Tool to detect/remediate misconfig and security risks of GitHub/GitLab assets
- **主页:** <https://legitify.dev/>
- **仓库:** <https://github.com/Legit-Labs/legitify>
- **最后更新:** 2026-07-26T13:41:01+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- legitify (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Legitify is Legit Security's open-source CLI for finding and helping remediate security, compliance, and misconfiguration risks across GitHub and GitLab assets.

### 项目历史

Legit Security announced Legitify on 2022-10-05 as an open-source GitHub configuration scanner for security, DevOps, and developer teams. The repository and project site later described the scope as source-code-management posture across GitHub and GitLab assets, with built-in policies and remediation-oriented output.

### 采用历史

The project was packaged as a standalone CLI, GitHub Action, Homebrew formula, Nix package, and GitHub CLI extension. That mix made it fit both one-off audits from a workstation and scheduled checks in CI for organizations managing many repositories, members, teams, runners, branch protections, and tokens.

### 使用方式

Typical usage is to authenticate to GitHub or GitLab, run `legitify analyze`, and review policy findings against repositories, organizations, runners, webhooks, actions, branch protection, and other SCM resources. Its Homebrew packaging matters because security teams can hand developers a familiar install path instead of a vendor-only SaaS workflow.

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

Legitify is a package-nerd example of application-security posture management ideas escaping into a plain CLI. It packages policy checks and remediation hints as a tool that can live in local shells, CI jobs, and GitHub Actions, adjacent to linters and secret scanners.

### 时间线

- 2022-07-26: The GitHub issue tracker showed early public project activity.
- 2022-10-05: Legit Security published the introductory Legitify announcement.
- 2023-01-19: Public issues tracked expansion into third-party application policies.
- 2023-02-06: Public issues tracked auto-remediation work.

### Related projects

- Related projects include the `gh-legitify` GitHub CLI extension, the Legitify GitHub Action, OpenSSF Scorecard, GitHub Advanced Security configuration checks, GitLab security scanners, and policy-as-code tools used for SCM governance.

### 来源

- <https://github.com/Legit-Labs/gh-legitify>
- <https://github.com/Legit-Labs/legitify>
- <https://github.com/Legit-Labs/legitify/issues>
- <https://github.com/marketplace/actions/legitify-analyze>
- <https://legitify.dev/>
- <https://www.legitsecurity.com/blog/introducing-legitify>
- <https://www.legitsecurity.com/legitify>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

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

- Nix - legitify: normalized package name match | nixpkgs package indexes: pkgs/by-name/le/legitify/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/legitify.yml](https://github.com/mxcl/pkgdb/blob/main/combined/legitify.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
