Automic VaultAutomic Vault

brew

detekt を Homebrew, Nix, scoop でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install detekt

local Homebrew formula metadata

Linux

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

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

Windows

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

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

概要

パッケージ概要

Static code analysis for Kotlin

履歴

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

detekt is a static-analysis and linting tool for Kotlin. Its official README describes code smell analysis, configurable rule sets, baselines for legacy projects, multiple report formats, Gradle integration, and extension points for custom rules and reports.

プロジェクトの歴史

The detekt GitHub repository was created in October 2016. Early release tags used milestone and release-candidate names, while the modern project documents stable 1.x releases and 2.0.0 alpha documentation on detekt.dev.

採用の歴史

detekt grew with Kotlin's move from Android-focused adoption into broader JVM and multiplatform use. Its README highlights Maven Central, the Gradle plugin, third-party plugins, IDE and CI integrations, SARIF output for code scanning, and a marketplace for custom rules.

使われ方

Package users typically install the CLI jar, Homebrew formula, or Gradle plugin, then point detekt at Kotlin sources with a YAML config and optional baseline XML. In Gradle builds, teams commonly configure reports such as HTML, Checkstyle XML, SARIF, and Markdown.

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

detekt matters in package-manager culture because it is one of the canonical Kotlin quality gates: language-specific, rule-driven, CI-friendly, and packaged across CLI, Maven Central, Gradle, Homebrew, Scoop, and Nix-style workflows.

タイムライン

  • 2016: GitHub repository created for detekt/detekt.
  • 2018: Release-candidate era visible in official GitHub releases.
  • 2023: detekt 1.23.0 added the experimental detekt compiler plugin and expanded rule coverage.
  • 2025: detekt 1.23.8 shipped as a point release with Kotlin 2.0.21 support.

Related projects

  • The official README names Kotlin, Gradle, ktlint, PMD, Checkstyle, SARIF, SonarQube, Codacy, and third-party detekt plugins as nearby tools and integration surfaces.

セキュリティ状態

リスクレベル: グリーン

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

推奨レビュー

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

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
config/detekt/detekt.ymlconfig/detekt/baseline.xml

実行可能ファイル

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

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

鮮度

バージョンと鮮度

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

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

https://github.com/detekt/detekt

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:detekt
バージョン1.23.8
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/detekt
ホームページhttps://detekt.dev
リポジトリhttps://github.com/detekt/detekt
上流ドキュメントhttps://detekt.dev/
ライセンスApache-2.0
ソースアーカイブhttps://github.com/detekt/detekt/releases/download/v1.23.8/detekt-cli-1.23.8-all.jar
最終更新2026-07-21T19:07:03-04:00
Pulseupdated
依存関係openjdk@21
Bottle利用可能 (対象 all)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

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

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

Nix95%

detekt

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

main/detekt

scoop install main/detekt
  • normalized package name match
  • 一致条件: Detekt
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/detekt.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 configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment