Automic VaultAutomic Vault

brew

bfg を Homebrew, MacPorts, scoop でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install bfg

local Homebrew formula metadata

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

MacPorts ports tree · java/bfg/Portfile · ソース: api.github.com

Windows

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

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

概要

パッケージ概要

Remove large files or passwords from Git history like git-filter-branch

履歴

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

BFG Repo-Cleaner is a Scala/JVM command-line tool for removing large files, passwords, credentials, and other unwanted blobs from Git history. Its official positioning is as a simpler and much faster alternative to git-filter-branch for cleansing bad data from repositories.

プロジェクトの歴史

The official GitHub repository was created in December 2012. BFG's README and project site center on two core repository-cleaning jobs: stripping large blobs and replacing sensitive text across history.

Release history shows BFG maturing through the 2010s, including Git LFS support in v1.12.5 in 2015, Java 8 and Scala 2.12 support in v1.13.0 in 2018, Scala 2.13 in v1.14.0 in 2021, and v1.15.0 in January 2025.

採用の歴史

BFG became widely known because git-filter-branch was powerful but slow and difficult to use for common cleanup jobs. BFG narrowed the problem to the operations teams most often needed after accidentally committing giant artifacts or secrets, then packaged that workflow as a standalone executable.

The input records Homebrew, MacPorts, and Scoop packaging, matching BFG's cross-platform appeal: it is a Java-based tool that can be used from macOS, Linux, or Windows when a Git repository needs emergency cleanup.

使われ方

Typical usage is on a mirror clone or bare repository, with commands such as stripping blobs above a size threshold or replacing text listed in a file. After BFG rewrites the repository objects, users still need the normal Git cleanup and force-push workflow expected after history rewriting.

Because it rewrites repository history, BFG is used deliberately: it is most valuable when a repository has already leaked bulky files or secrets and the team needs a repeatable cleanup tool rather than manual filter-branch scripting.

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

BFG is package-nerd significant because it turned one of Git administration's ugliest chores into a memorable, packaged CLI. Before git-filter-repo became the modern upstream-recommended tool, BFG was the package many developers reached for when Git history got polluted.

Its design is a good example of a focused package beating a built-in general-purpose tool for a painful workflow: fewer knobs, better defaults for common cleanup cases, and performance claims strong enough to become part of the project's identity.

タイムライン

  • 2012: Official repository created in December.
  • 2015: v1.12.5 added Git LFS support.
  • 2018: v1.13.0 moved to Scala 2.12 and Java 8.
  • 2021: v1.14.0 updated to Scala 2.13.
  • 2025: v1.15.0 released in January.

Related projects

  • Related projects include git-filter-branch, git-filter-repo, git lfs migrate, and secret-scanning tools such as Gitleaks or TruffleHog that may detect the problem before BFG is needed.

セキュリティ状態

リスクレベル: グリーン

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 メタデータは 1 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。

推奨レビュー

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

実行可能ファイル

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

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

鮮度

バージョンと鮮度

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

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

https://rtyley.github.io/bfg-repo-cleaner/

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:bfg
バージョン1.15.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/bfg
ホームページhttps://rtyley.github.io/bfg-repo-cleaner/
リポジトリhttps://github.com/rtyley/bfg-repo-cleaner
上流ドキュメントhttps://rtyley.github.io/bfg-repo-cleaner
ライセンスGPL-3.0-or-later
ソースアーカイブhttps://search.maven.org/remotecontent?filepath=com/madgag/bfg/1.15.0/bfg-1.15.0.jar
依存関係openjdk
Bottle利用可能 (対象 all)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

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

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

MacPorts95%

bfg

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

main/bfg

scoop install main/bfg
  • normalized package name match
  • 一致条件: Bfg
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/bfg.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

ソース経路

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

このページは 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 package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment