Automic VaultAutomic Vault

brew

gitleaks を Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install gitleaks

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install gitleaks

MacPorts ports tree · security/gitleaks/Portfile · ソース: api.github.com

Linux

Alpine Linux apk確認済み · 92%
sudo apk add gitleaks

Alpine Linux edge package indexes · gitleaks · ソース: dl-cdn.alpinelinux.org

Debian apt確認済み · 92%
sudo apt install gitleaks

Debian stable package indexes · gitleaks · ソース: deb.debian.org

Fedora dnf確認済み · 92%
sudo dnf install gitleaks

Fedora Rawhide package metadata · gitleaks · ソース: dl.fedoraproject.org

Nix確認済み · 92%
nix profile install nixpkgs#gitleaks

nixpkgs package indexes · pkgs/by-name/gi/gitleaks/package.nix · ソース: api.github.com

Arch Linux pacman確認済み · 92%
sudo pacman -S gitleaks

Arch Linux sync databases · gitleaks · ソース: geo.mirror.pkgbuild.com

openSUSE zypper確認済み · 92%
sudo zypper install gitleaks

openSUSE Tumbleweed package metadata · gitleaks · ソース: download.opensuse.org

Windows

Chocolatey確認済み · 92%
choco install gitleaks

Chocolatey community package catalog · gitleaks · ソース: community.chocolatey.org

Scoop確認済み · 92%
scoop install main/gitleaks

Scoop official bucket manifest trees · bucket/gitleaks.json · ソース: api.github.com

Windows Package Manager確認済み · 92%
winget install --id Gitleaks.Gitleaks -e

Windows Package Manager source index · Gitleaks.Gitleaks · ソース: cdn.winget.microsoft.com

概要

パッケージ概要

Audit git repos for secrets

コマンドとエイリアス

  • gitleaks

履歴

プロジェクトの歴史と使われ方

Gitleaks is an open-source secret scanner for Git repositories, files, directories, and standard input. It is best known as a fast CLI that can run locally, in pre-commit hooks, in containers, or in CI before leaked credentials reach shared history.

プロジェクトの歴史

The GitHub repository was created in January 2018 and grew around a rule-based scanner for passwords, API keys, and tokens. The project is written in Go and ships a default TOML configuration containing detection rules and allowlists.

The v8 command model consolidated scanning around git, dir, and stdin modes, while older detect and protect commands were hidden for compatibility. The README later described the project as feature complete, with security patches as the maintenance focus and Betterleaks named as the author's new direction.

採用の歴史

Gitleaks gained strong adoption in the DevSecOps ecosystem because it fits several control points: developer workstations, pre-commit hooks, pull-request checks, scheduled repository scans, and containerized CI jobs. The project homepage cites large Docker, GitHub release, and Homebrew usage figures, and the GitHub repository has a large star and fork count.

The official Gitleaks GitHub Action widened adoption by giving teams a hosted-CI path for scanning pull requests and commits without writing their own wrapper around the CLI.

使われ方

Practitioners use gitleaks git to scan repository history, gitleaks dir to scan working trees or exported source, and gitleaks stdin for pipeline streams. Baseline reports let teams suppress already-known findings while failing builds for newly introduced secrets.

Teams customize .gitleaks.toml when they need organization-specific rules, allowlists, report formats, or redaction behavior. In package-manager workflows, the single binary makes it easy to add secret scanning to local development and CI images without a language runtime.

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

Gitleaks is a package-manager favorite because it is a Go security utility with broad platform binaries, Docker images, a pre-commit hook, and an official action. That combination makes it easy to pin in reproducible developer environments and CI toolchains.

タイムライン

  • 2018: The gitleaks/gitleaks repository was created.
  • 2022: v8-era releases emphasized the newer git, dir, and stdin scanning modes.
  • 2024: v8.19.0 hid the older detect and protect commands in favor of the newer command names.
  • 2026: The README described Gitleaks as feature complete, with future releases focused on security patches.

Related projects

  • Gitleaks Action is the official GitHub Action for running scans on pull requests, commits, or on demand.
  • Betterleaks is named by the maintainer as the follow-on project receiving new feature work.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

local files

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

Config paths the tool may read or write during local use.

Unix
(target path)/.gitleaks.toml

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
gitleakscliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版8.30.1
マネージャ更新日
ローカルデータOK
上流最新
検出された最新v8.30.1

https://github.com/gitleaks/gitleaks

  • 情報No package-manager update timestamp was available.信頼度 低

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:gitleaks
バージョン8.30.1
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/gitleaks
ホームページhttps://gitleaks.io/
リポジトリhttps://github.com/gitleaks/gitleaks
上流ドキュメントhttps://github.com/gitleaks/gitleaks#readme
ライセンスMIT
ソースアーカイブhttps://github.com/gitleaks/gitleaks/archive/refs/tags/v8.30.1.tar.gz
ビルド依存関係go
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegitleaks
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

gitleaks 8.16.0-1+b12

protect and discover secrets using Gitleaks 🔑

https://github.com/gitleaks/gitleaks

sudo apt install gitleaks
  • Section: utils
  • Architecture: amd64
  • Source Package: gitleaks
  • 1 依存関係
  • normalized package name match
  • 一致条件: Gitleaks
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gitleaks from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

gitleaks

nix profile install nixpkgs#gitleaks
  • normalized package name match
  • 一致条件: Gitleaks
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gi/gitleaks/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

gitleaks 8.16.0-1build1

protect and discover secrets using Gitleaks 🔑

https://github.com/gitleaks/gitleaks

sudo apt install gitleaks
  • Section: universe/utils
  • Architecture: amd64
  • 1 依存関係
  • normalized package name match
  • 一致条件: Gitleaks
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gitleaks from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

gitleaks 8.30.1-r0

Audit Git repos for secrets and keys

https://github.com/gitleaks/gitleaks

sudo apk add gitleaks
  • License: MIT
  • Architecture: x86_64
  • Source Package: gitleaks
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Gitleaks
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gitleaks from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

gitleaks-bash-completion 8.30.1-r0

Bash completions for gitleaks

https://github.com/gitleaks/gitleaks

sudo apk add gitleaks-bash-completion
  • License: MIT
  • Architecture: x86_64
  • Source Package: gitleaks
  • normalized package name match
  • 一致条件: Gitleaks
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gitleaks-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

gitleaks-doc 8.30.1-r0

Audit Git repos for secrets and keys (documentation)

https://github.com/gitleaks/gitleaks

sudo apk add gitleaks-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: gitleaks
  • normalized package name match
  • 一致条件: Gitleaks
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gitleaks-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

gitleaks-fish-completion 8.30.1-r0

Fish completions for gitleaks

https://github.com/gitleaks/gitleaks

sudo apk add gitleaks-fish-completion
  • License: MIT
  • Architecture: x86_64
  • Source Package: gitleaks
  • normalized package name match
  • 一致条件: Gitleaks
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gitleaks-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

gitleaks-zsh-completion 8.30.1-r0

Zsh completions for gitleaks

https://github.com/gitleaks/gitleaks

sudo apk add gitleaks-zsh-completion
  • License: MIT
  • Architecture: x86_64
  • Source Package: gitleaks
  • normalized package name match
  • 一致条件: Gitleaks
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gitleaks-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
dnf95%

gitleaks 8.30.1-1.fc45

Scan git repos (or files) for secrets using regex and entropy

https://github.com/zricethezav/gitleaks

sudo dnf install gitleaks
  • License: 0BSD AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: gitleaks
  • 4 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Gitleaks
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: gitleaks from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

gitleaks 8.30.1-1

Audit Git repos for secrets and keys

https://github.com/gitleaks/gitleaks

sudo pacman -S gitleaks
  • License: MIT
  • Architecture: x86_64
  • 1 依存関係
  • normalized package name match
  • 一致条件: Gitleaks
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: gitleaks from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

gitleaks 8.30.1-1.1

Protect and discover secrets using Gitleaks

https://github.com/gitleaks/gitleaks

sudo zypper install gitleaks
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: gitleaks
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Gitleaks
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: gitleaks from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

gitleaks-bash-completion 8.30.1-1.1

Bash Completion for gitleaks

https://github.com/gitleaks/gitleaks

sudo zypper install gitleaks-bash-completion
  • License: MIT
  • Category: System/Shells
  • Architecture: noarch
  • Source Package: gitleaks
  • 2 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Gitleaks
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: gitleaks-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

gitleaks-fish-completion 8.30.1-1.1

Fish Completion for gitleaks

https://github.com/gitleaks/gitleaks

sudo zypper install gitleaks-fish-completion
  • License: MIT
  • Category: System/Shells
  • Architecture: noarch
  • Source Package: gitleaks
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Gitleaks
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: gitleaks-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

gitleaks-zsh-completion 8.30.1-1.1

Zsh Completion for gitleaks

https://github.com/gitleaks/gitleaks

sudo zypper install gitleaks-zsh-completion
  • License: MIT
  • Category: System/Shells
  • Architecture: noarch
  • Source Package: gitleaks
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Gitleaks
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: gitleaks-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

gitleaks

sudo port install gitleaks
  • normalized package name match
  • 一致条件: Gitleaks
MacPorts ports tree · api.github.com · MacPorts ports tree: security/gitleaks/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

gitleaks

choco install gitleaks
  • normalized package name match
  • 一致条件: Gitleaks
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: gitleaks from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='7.3136','buttercup'

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

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