pkg.soopen package index

brew / 順位 4770

magika を Homebrew, apk, Nix, scoop, winget でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install magika

local Homebrew formula metadata

Windows

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

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

Windows Package Manager確認済み · 92%
winget install --id Google.Magika -e

Windows Package Manager source index · Google.Magika · ソース: cdn.winget.microsoft.com

概要

パッケージ概要

Fast and accurate AI powered file content types detection

コマンドとエイリアス

  • magika

履歴

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

Magika is Google's AI-powered file content type detection tool. It ships as a Rust CLI plus Python, Rust, JavaScript/TypeScript, and emerging Go bindings, using a compact deep-learning model to classify binary and text files quickly on CPU.

プロジェクトの歴史

Google created the public repository in August 2023 and announced the open-source release in February 2024. Official docs describe a model trained and evaluated on roughly 100 million samples across more than 200 content types, with about 99 percent average precision and recall on Google's test set.

The project moved beyond a Python package into a multi-language toolchain. The README documents a Rust command-line tool, Python API, JavaScript package, Rust bindings, web demo, and additional bindings, with release tags split by CLI, Python, JavaScript, and Go components.

採用の歴史

Magika had unusually fast visibility because Google said it was already used at scale inside Gmail, Drive, and Safe Browsing routing, processing hundreds of billions of samples weekly. Official docs also note integrations with VirusTotal and abuse.ch.

The open-source package spread into package managers quickly: the README documents Homebrew, pipx, pip, cargo, npm, and installer scripts, while the supplied Homebrew input also lists apk, Nix, and winget packages. The GitHub repository has tens of thousands of stars and more than a thousand forks, reflecting broad interest from security and developer-tooling users.

使われ方

The CLI scans files or directories and can emit descriptions, labels, MIME types, scores, JSON, or JSONL. Typical package-manager usage is `magika PATH`, often recursively, as a faster and ML-backed complement to extension- or magic-number-based detection.

Library users embed Magika to classify uploads, repositories, malware samples, or large file corpora. The docs emphasize near-constant inference time because the model uses a limited subset of file content.

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

Magika is package-nerd interesting because it packages an ML model as a normal fast CLI. It belongs in the same mental drawer as `file` and libmagic, but with model assets, language bindings, and security-scanning use cases layered on top.

Its multi-artifact release style matters to maintainers: Homebrew ships the CLI, Python users install `magika`, Rust users can install `magika-cli`, JavaScript users have npm bindings, and downstreams need to track model/data changes as part of versioning.

タイムライン

  • 2023: Public GitHub repository created.
  • 2024: Google open-sourced Magika and announced it on the Google Open Source Blog.
  • 2024: CLI, Python, Rust, and JavaScript packaging paths documented.
  • 2025: Research paper published at ICSE according to official docs.
  • 2026: CLI and binding release tags continue in the public repository.

Related projects

  • libmagic and the Unix `file` command are the traditional content-type detection tools Magika is commonly compared with.
  • VirusTotal and abuse.ch are named by Google as integrations.
  • Gmail, Drive, and Safe Browsing are named by Google as internal-scale consumers.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • Homebrew bottle メタデータは記録されていません。

推奨レビュー

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

実行可能ファイル

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

コマンド種類公開範囲メモ
magika実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。

鮮度

バージョンと鮮度

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

ページ生成日2026-08-03
マネージャ版1.0.2
マネージャ更新日2026-07-15
ローカルデータ不明
上流利用不可
検出された最新未検出
  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:magika
バージョン1.0.2
パッケージマネージャHomebrew
ホームページhttps://securityresearch.google/magika/
リポジトリhttps://github.com/google/magika
最終更新2026-07-15T14:17:07+09:00
Pulseupdated
Bottle未記録
サービス宣言なし

ソースデータベース一致

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

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

Nix95%

magika

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

magika 1.1.0-r0

Detect file content types with deep learning

https://github.com/google/magika

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

main/magika

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

Google.Magika

winget install --id Google.Magika -e
  • normalized package name match
  • 一致条件: Magika
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Google.Magika from https://cdn.winget.microsoft.com/cache/source.msix

ソース経路

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

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation