Automic VaultAutomic Vault

brew

detect-secrets を Homebrew, Nix でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install detect-secrets

local Homebrew formula metadata

概要

パッケージ概要

Enterprise friendly way of detecting and preventing secrets in code

コマンドとエイリアス

  • detect-secrets
  • detect-secrets-hook

履歴

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

detect-secrets is Yelp's open-source command-line scanner for finding secrets in code and, more importantly, preventing newly introduced secrets from entering a repository. Its README describes the baseline workflow as a way to accept existing findings while blocking new ones.

プロジェクトの歴史

The GitHub repository was created in December 2017, and the README presents the tool as enterprise-friendly secret detection. Its changelog shows continued 1.x releases through 2024, including new detectors for GitLab, Telegram, PyPI, OpenAI, and IP addresses, plus support for newer Python versions.

採用の歴史

detect-secrets was designed for large repositories where immediately removing every old secret-like value may be impractical. The baseline model helped it fit pre-commit hooks and CI workflows: teams generate .secrets.baseline, audit it, and then use detect-secrets-hook or scans to catch new findings.

使われ方

The standard package-manager workflow is to install the CLI, run detect-secrets scan into .secrets.baseline, and wire detect-secrets-hook into staged-file or tracked-file checks. The README also documents auditing the baseline and tuning detectors and filters for local policy.

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

Package nerds care about detect-secrets because it is a practical DevSecOps CLI with a persistent config artifact rather than a one-shot grep-like scanner. It sits alongside pre-commit, GitHub secret scanning, trufflehog-style tools, and policy-driven CI checks.

タイムライン

  • 2017: GitHub repository created for Yelp/detect-secrets.
  • 2020: 0.14.x releases continued the pre-1.0 series.
  • 2022: 1.2.0 added CI and release-pipeline work plus new token detectors.
  • 2024: 1.5.0 added OS-agnostic baseline support and more modern token detectors.

Related projects

  • The project is commonly used with pre-commit-style hooks, CI pipelines, and other secret-scanning tools that enforce repository hygiene.

セキュリティ状態

保護ツール対応はまだ見つかっていません

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

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • 3 件の実行時依存関係とともにインストールされます。

推奨レビュー

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

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

実行可能ファイル

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

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

鮮度

バージョンと鮮度

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

ページ生成日2026-07-25
マネージャ版1.5.0
マネージャ更新日2026-05-20
ローカルデータOK
上流not checked
検出された最新未検出

https://github.com/Yelp/detect-secrets

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:detect-secrets
バージョン1.5.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/detect-secrets
ホームページhttps://github.com/Yelp/detect-secrets
リポジトリhttps://github.com/Yelp/detect-secrets
上流ドキュメントhttps://github.com/Yelp/detect-secrets#readme
ライセンスApache-2.0
ソースアーカイブhttps://files.pythonhosted.org/packages/69/67/382a863fff94eae5a0cf05542179169a1c49a4c8784a9480621e2066ca7d/detect_secrets-1.5.0.tar.gz
最終更新2026-05-20T12:50:03Z
Pulseupdated
依存関係certifi, libyaml, python@3.14
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

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

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

Nix95%

detect-secrets

nix profile install nixpkgs#detect-secrets
  • normalized package name match
  • 一致条件: Detect Secrets
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: detect-secrets from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

ソース経路

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

このページは 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