Automic VaultAutomic Vault

brew

cargo-geiger を Homebrew, apk, Nix, pacman でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install cargo-geiger

local Homebrew formula metadata

Linux

Alpine Linux apk確認済み · 92%
sudo apk add cargo-geiger

Alpine Linux edge package indexes · cargo-geiger · ソース: dl-cdn.alpinelinux.org

Nix確認済み · 92%
nix profile install nixpkgs#cargo-geiger

nixpkgs package indexes · pkgs/by-name/ca/cargo-geiger/package.nix · ソース: api.github.com

Arch Linux pacman確認済み · 92%
sudo pacman -S cargo-geiger

Arch Linux sync databases · cargo-geiger · ソース: geo.mirror.pkgbuild.com

概要

パッケージ概要

Detects usage of unsafe Rust in a Rust crate and its dependencies

コマンドとエイリアス

  • cargo-geiger

履歴

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

cargo-geiger is a Cargo subcommand that reports unsafe Rust usage in a crate and its dependency graph. Its name references a Geiger counter: unsafe code is treated as something worth detecting, measuring, and containing.

The project is intentionally framed as audit input, not an automatic security verdict. Its README warns that unsafe usage is nuanced and that reports should be handled carefully.

プロジェクトの歴史

The cargo-geiger repository and crate were created in June 2018. The README says the tool was originally based on code from cargo-osha and cargo-tree, combining unsafe-code scanning with dependency-tree traversal.

Over time the project split reusable pieces into library crates, including `geiger` and `cargo-geiger-serde`. The changelog records substantial dependency-graph work in 0.11.0 using cargo_metadata and JSON/report serialization improvements.

採用の歴史

cargo-geiger found a niche in Rust security review and supply-chain auditing, especially among developers interested in minimizing or documenting unsafe code in dependencies.

The README points users toward cargo-crev and safety-dance as audit contexts where cargo-geiger statistics can help. That positioning kept it from becoming a simplistic 'unsafe equals bad' badge while still making unsafe usage visible.

使われ方

Usage is intentionally simple: run `cargo geiger` from the directory containing the `Cargo.toml` to analyze. The tool reports unsafe-code statistics for the crate and dependencies.

The README documents installation with `cargo install --locked cargo-geiger`, an optional vendored OpenSSL build, and prebuilt GitHub releases.

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

cargo-geiger is package-nerd significant because it made unsafe-code exposure a transitive package property that could be inspected like licenses, advisories, or dependency trees.

It also shows Rust's audit culture maturing: package metadata alone is not enough, so tools emerged to summarize source-level risk signals across the dependency graph.

タイムライン

  • 2018-06-20: GitHub repository created and cargo-geiger 0.1.0 published to crates.io.
  • 2018-2019: Project builds on cargo-osha and cargo-tree ideas to scan crates and dependencies for unsafe usage.
  • 2020: 0.11.0 changelog records dependency-graph exploration through cargo_metadata and adds JSON/report serialization pieces.
  • 2026: Project remains active under geiger-rs with more than 190,000 crates.io downloads.

Related projects

  • cargo-osha and cargo-tree are named by the README as original sources of code or ideas.
  • cargo-crev and safety-dance are named as audit workflows where cargo-geiger output can provide statistical input.
  • cargo_metadata became important to cargo-geiger's dependency-graph handling, according to the changelog.

セキュリティ状態

リスクレベル: グリーン

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 件の実行時依存関係とともにインストールされます。
  • ビルドメタデータには 2 件のビルド依存関係があります。

推奨レビュー

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

実行可能ファイル

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

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

鮮度

バージョンと鮮度

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

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

https://github.com/geiger-rs/cargo-geiger

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

インストールメタデータ

パッケージメタデータ

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

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

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

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

Nix95%

cargo-geiger

nix profile install nixpkgs#cargo-geiger
  • normalized package name match
  • 一致条件: Cargo Geiger
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ca/cargo-geiger/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

cargo-geiger 0.13.0-r0

Detects usage of unsafe Rust in a Rust crate and its dependencies.

https://github.com/geiger-rs/cargo-geiger

sudo apk add cargo-geiger
  • License: MIT OR Apache-2.0
  • Architecture: x86_64
  • Source Package: cargo-geiger
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Cargo Geiger
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cargo-geiger from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

cargo-geiger-doc 0.13.0-r0

Detects usage of unsafe Rust in a Rust crate and its dependencies. (documentation)

https://github.com/geiger-rs/cargo-geiger

sudo apk add cargo-geiger-doc
  • License: MIT OR Apache-2.0
  • Architecture: x86_64
  • Source Package: cargo-geiger
  • normalized package name match
  • 一致条件: Cargo Geiger
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cargo-geiger-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
pacman95%

cargo-geiger 0.13.0-1

Detects usage of unsafe Rust in a Rust crate and its dependencies

https://github.com/rust-secure-code/cargo-geiger

sudo pacman -S cargo-geiger
  • License: MIT AND Apache-2.0
  • Architecture: x86_64
  • 3 依存関係
  • normalized package name match
  • 一致条件: Cargo Geiger
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: cargo-geiger from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

ソース経路

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

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