Automic VaultAutomic Vault

brew

counterfeiter を Homebrew でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install counterfeiter

local Homebrew formula metadata

概要

パッケージ概要

Tool for generating self-contained, type-safe test doubles in go

コマンドとエイリアス

  • counterfeiter

履歴

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

counterfeiter is a Go code generator for creating self-contained, type-safe test doubles from interfaces.

プロジェクトの歴史

The public repository was created in 2014. Its README frames the project around a Go-specific testing problem: fake implementations are useful for unit tests but cannot be generated automatically at runtime in Go.

The project has continued through a v6 release line, with current documentation using Go modules and Go tool dependencies.

採用の歴史

counterfeiter's documented workflow follows Go ecosystem conventions: add it as a tool dependency, place `go:generate` or `counterfeiter:generate` directives near interfaces, and regenerate fakes with `go generate`.

The README notes that the project has largely been maintained by the community, which fits its role as a small but durable testing utility rather than a framework-owned generator.

使われ方

Typical use is to generate fakes for interfaces in the same module or for third-party interfaces, then import the generated `foofakes` package in tests to inspect call counts, arguments, and stubbed return values.

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

For package maintainers, counterfeiter is a good example of a Go CLI whose preferred installation changed with Go tooling: Homebrew can ship a binary, but the upstream docs now prefer module-pinned tool dependencies for reproducible generation.

タイムライン

  • 2014: Public GitHub repository created.
  • 2024: v6.8.x through v6.11.x releases published.
  • 2026: v6.12.2 release published.

Related projects

  • go generate
  • Go modules
  • Go tool dependencies

セキュリティ状態

リスクレベル: グリーン

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 件の実行時依存関係とともにインストールされます。

推奨レビュー

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

実行可能ファイル

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

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

鮮度

バージョンと鮮度

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

ページ生成日2026-07-25
マネージャ版6.12.2
マネージャ更新日2026-06-22
ローカルデータOK
上流最新
検出された最新v6.12.2

https://github.com/maxbrunsfeld/counterfeiter

  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:counterfeiter
バージョン6.12.2
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/counterfeiter
ホームページhttps://github.com/maxbrunsfeld/counterfeiter
リポジトリhttps://github.com/maxbrunsfeld/counterfeiter
上流ドキュメントhttps://github.com/maxbrunsfeld/counterfeiter#readme
ライセンスMIT
ソースアーカイブhttps://github.com/maxbrunsfeld/counterfeiter/archive/refs/tags/v6.12.2.tar.gz
最終更新2026-06-22T14:03:05-07:00
Pulseupdated
依存関係go
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソース経路

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

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