# betterleaks を Homebrew, dnf, MacPorts, Nix, winget でインストール

betterleaks のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:betterleaks
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install betterleaks
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install betterleaks
```

  証拠: MacPorts ports tree: security/betterleaks/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- dnf (92%):

```sh
sudo dnf install betterleaks
```

  証拠: Fedora Rawhide package metadata: betterleaks from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#betterleaks
```

  証拠: nixpkgs package indexes: pkgs/by-name/be/betterleaks/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- winget (92%):

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

  証拠: Windows Package Manager source index: Betterleaks.Betterleaks from https://cdn.winget.microsoft.com/cache/source.msix

## パッケージ情報

- **パッケージキー:** brew:betterleaks
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/betterleaks>
- **バージョン:** 1.6.1
- **ソース概要:** Secrets scanner built for configurability and speed
- **ホームページ:** <https://betterleaks.com>
- **リポジトリ:** <https://github.com/betterleaks/betterleaks>
- **上流ドキュメント:** <https://github.com/betterleaks/betterleaks#readme>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/betterleaks/betterleaks/archive/refs/tags/v1.6.1.tar.gz>
- **最終更新:** 2026-06-30T18:02:33Z
- **生成日時:** 2026-07-10T07:20:53+00:00

## 実行可能ファイル

- betterleaks (cli)
- betterleaks (エイリアス)

## ビルド依存関係

- go

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-07-10
- マネージャ版: 1.6.1
- マネージャ更新日: 2026-06-30
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/betterleaks/betterleaks
- 検出された最新: v1.6.1 (最新)
## プロジェクトの歴史と使われ方

Betterleaks is a new secrets-scanning CLI focused on configurable detection, contextual filtering, secret validation, and scanning across Git, local directories, GitHub, GitLab, Hugging Face, S3, and stdin.

### プロジェクトの歴史

The official repository was created in February 2026 and describes Betterleaks as maintained by the people behind Gitleaks, including Gitleaks' original author. Early 2026 releases moved quickly, reaching v1.6.0 by June 2026.

### 採用の歴史

Adoption history is still young, but the input already records Homebrew, Fedora, MacPorts, Nix, and winget packaging. The project also publishes container usage through GitHub Container Registry in its README installation examples.

### 使われ方

Betterleaks is used to scan repositories, local paths, hosted forges, object storage, and stdin for secrets. Its configuration model uses TOML rules with Expr-based filters and validation checks, and it keeps compatibility with Gitleaks-shaped configs.

### パッケージ好きにとっての重要性

Betterleaks matters to package nerds as a fast-moving 2026 entry in the secret-scanning ecosystem: it inherits expectations from Gitleaks but pushes more logic into configurable filters and validation. The interesting packaging angle is how quickly a security CLI can appear across Homebrew, Linux packages, containers, and Windows package feeds.

### タイムライン

- 2026: Repository created in February.
- 2026: Early 1.x releases published through spring and summer.
- 2026: v1.6.0 released in June.

### Related projects

- Related projects include Gitleaks, TruffleHog, git-secrets, detect-secrets, and hosted secret-scanning features in GitHub and GitLab.

### ソース

- <https://api.github.com/repos/betterleaks/betterleaks>
- <https://api.github.com/repos/betterleaks/betterleaks/releases>
- <https://raw.githubusercontent.com/betterleaks/betterleaks/main/README.md>
- source_facts.package-manager


## セキュリティノート

betterleaks に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。



## 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: ./.betterleaks.toml, ./.gitleaks.toml
## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** betterleaks
- **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 - betterleaks: normalized package name match | nixpkgs package indexes: pkgs/by-name/be/betterleaks/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- dnf - betterleaks - 1.4.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: betterleaks from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Secrets scanner built for configurability and speed | https://github.com/betterleaks/betterleaks
- MacPorts - betterleaks: normalized package name match | MacPorts ports tree: security/betterleaks/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- winget - Betterleaks.Betterleaks: normalized package name match | Windows Package Manager source index: Betterleaks.Betterleaks from https://cdn.winget.microsoft.com/cache/source.msix


## 関連リンク

- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/ja/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://www.automicvault.com/ja/pkg/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [Homebrew utility packages](https://www.automicvault.com/ja/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [go](https://www.automicvault.com/ja/pkg/brew/go/) - Build dependency declared by Homebrew.
- [checkpwn](https://www.automicvault.com/ja/pkg/brew/checkpwn/) - Shares av.db curated category or tags: cli, passwords, security.
- [detect-secrets](https://www.automicvault.com/ja/pkg/brew/detect-secrets/) - Shares av.db curated category or tags: cli, secret-scanning, security.
- [diceware](https://www.automicvault.com/ja/pkg/brew/diceware/) - Shares av.db curated category or tags: cli, passwords, security.
- [git-hound](https://www.automicvault.com/ja/pkg/brew/git-hound/) - Shares av.db curated category or tags: cli, secret-scanning, security.
- [git-secrets](https://www.automicvault.com/ja/pkg/brew/git-secrets/) - Shares av.db curated category or tags: cli, secret-scanning, security.
- [gitleaks](https://www.automicvault.com/ja/pkg/brew/gitleaks/) - Shares av.db curated category or tags: cli, secret-scanning, security.
- [hack-browser-data](https://www.automicvault.com/ja/pkg/brew/hack-browser-data/) - Shares av.db curated category or tags: cli, passwords, security.
- [kingfisher](https://www.automicvault.com/ja/pkg/brew/kingfisher/) - Shares av.db curated category or tags: cli, secret-scanning, security.

## Combined YAML source

View the package source record on GitHub. [combined/betterleaks.yml](https://github.com/automic-vault/db/blob/main/combined/betterleaks.yml)


## ソース

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