macOS
brew install git-secretslocal Homebrew formula metadata
brew
git-secrets のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install git-secretslocal Homebrew formula metadata
sudo apt install git-secretsDebian stable package indexes · git-secrets · ソース: deb.debian.org
sudo dnf install git-secretsFedora Rawhide package metadata · git-secrets · ソース: dl.fedoraproject.org
nix profile install nixpkgs#git-secretsnixpkgs package indexes · pkgs/by-name/gi/git-secrets/package.nix · ソース: api.github.com
概要
Prevents you from committing sensitive information to a git repo
履歴
git-secrets is an AWS Labs command-line tool that installs Git hooks and scans commits for prohibited secret patterns. Its best-known workflow is preventing AWS credentials and other sensitive strings from entering Git history.
AWS Labs released git-secrets in 2015 as a hook-driven local scanner. The README documents pre-commit, commit-msg, and prepare-commit-msg hooks, as well as repository and global Git configuration for prohibited and allowed patterns.
The changelog shows rapid maturation after the initial release: 1.1.0 added full-history scanning, `.gitallowed`, cached/no-index/untracked scan modes, and staged-file scanning in hooks; 1.3.0 refined provider output handling, Windows path behavior, and IAM key detection.
git-secrets became a recognizable package because it came from AWS Labs and addressed a common Git failure mode with no server dependency. Homebrew and Linux distribution packaging made it easy to add to developer workstations and repository templates.
Practitioners run `git secrets --install` inside a repository, often followed by `git secrets --register-aws`, so commits are blocked when configured patterns are detected. They also run `git secrets --scan-history` before publishing a repository or add custom providers for organization-specific patterns.
The package is important in Git tooling culture because it turns secret scanning into local hooks and plain Git config. It is small, scriptable, and easy to wire into templates, which made it useful before and alongside hosted secret-scanning services.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
local files
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.
Config paths the tool may read or write during local use.
.git/config~/.gitconfig~/.config/git/config/etc/gitconfig実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
git-secrets | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/awslabs/git-secrets
インストールメタデータ
| パッケージキー | brew:git-secrets |
|---|---|
| バージョン | 1.3.0 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/git-secrets |
| ホームページ | https://github.com/awslabs/git-secrets |
| リポジトリ | https://github.com/awslabs/git-secrets |
| 上流ドキュメント | https://github.com/awslabs/git-secrets#readme |
| ライセンス | Apache-2.0 |
| ソースアーカイブ | https://github.com/awslabs/git-secrets/archive/refs/tags/1.3.0.tar.gz |
| Bottle | 利用可能 (対象 all) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | git-secrets |
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
git-secrets 1.3.0-7
Prevents accidental commits of credentials
https://github.com/awslabs/git-secrets
sudo apt install git-secretsgit-secrets
nix profile install nixpkgs#git-secretsgit-secrets 1.3.0-7
Prevents accidental commits of credentials
https://github.com/awslabs/git-secrets
sudo apt install git-secretsgit-secrets 1.3.0-17.fc44
Prevents committing secrets and credentials into git repos
https://github.com/awslabs/git-secrets/
sudo dnf install git-secretsソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.