# Install legitify with Homebrew, Nix

Tool to detect/remediate misconfig and security risks of GitHub/GitLab assets. Version 1.0.11 via Homebrew; verified 2026-07-26. Also installable with nix: nix profile install nixpkgs#legitify.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install legitify
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

## Package facts

- **Package key:** brew:legitify
- **Package manager:** Homebrew
- **Version:** 1.0.11
- **Source summary:** Tool to detect/remediate misconfig and security risks of GitHub/GitLab assets
- **Homepage:** <https://legitify.dev/>
- **Repository:** <https://github.com/Legit-Labs/legitify>
- **Last updated:** 2026-07-26T13:41:01+02:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- legitify (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.0.11
## Project history and usage

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

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

- <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>


## Security Notes

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

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Other Package-Manager Records

- 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)


## Sources

- 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
