Skip to content
KitploitKITPLOIT
ツールエクスプロイトブログ
Log in
提出
ツールエクスプロイトブログ
提出

ハッキング、侵入テスト、サイバーセキュリティツールをあなたのセキュリティアーセナルに!

Kitploitはハッキング、サイバーセキュリティ、ペネトレーションテストのツールディレクトリです。最新のプロジェクトアップデートを見つけて、脆弱性の発見、システム分析、テストの自動化、セキュリティの強化を行いましょう。

フィードお問い合わせプライバシー© 2026 Kitploit

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
magika — 高速かつ正確なAI駆動のファイルコンテンツタイプ検出 | Kitploit
ツール/GitHubGitHub/google/magika
汎用ユーティリティ静的分析コード分析フォレンジックマルウェア分析機械学習
GitHubgoogle/magika

magika

高速かつ正確なAI駆動のファイルコンテンツタイプ検出

リポジトリを見るウェブサイト
17.9k1.1k652026年12月2日Kitploit レビュー済み
共有
要求された言語のコンテンツは利用できません。英語版を表示しています。

Magika

image NPM Version image image Go Version

OpenSSF Best Practices CodeQL Python Coverage Actions status PyPI Monthly Downloads PyPI Downloads

Magika is a novel AI-powered file type detection tool that relies on the recent advance of deep learning to provide accurate detection. Under the hood, Magika employs a custom, highly optimized model that only weighs about a few MBs, and enables precise file identification within milliseconds, even when running on a single CPU. Magika has been trained and evaluated on a dataset of ~100M samples across 200+ content types (covering both binary and textual file formats), and it achieves an average ~99% accuracy on our test set.

[!NOTE] Magika 2.0 release candidates are now on PyPI (2.0.0rc0 and above) and crates.io (2.0.0-rc.0 and above for magika and magika-cli) — help testing is very welcome!

Try it with pip install --pre -U magika (Python API + bundled CLI) or cargo install --locked magika-cli --version "^2.0.0-rc.0" (Rust CLI; prebuilt binaries on GitHub Releases). Share feedback via GitHub Issues; see the Python, Rust CLI, and Rust library changelogs for details.

What's new in the 2.0 release candidates:

  • Faster, zero-dependency Rust core (~5x smaller footprint): A natively compiled pure-Rust tract runtime replaces ONNX Runtime across Rust and the PyO3 Python bindings — dropping external runtime deps (~5x smaller disk footprint overall) and speeding up startup and inference, even while still using standard_v3_3 under the hood.
  • Cohesive pipeline (YARA rules, resolvers, & ML): Custom YARA rules (bring your own detections for hotfixes while waiting for upstream patches, or other custom needs), native format resolvers (up to 500x faster on supported binary formats, with container decompression), and the ML model work together out of the box.
  • 400+ supported content types (up from 216): See the full list.
  • GPU acceleration & parallel batching: Metal (macOS) and CUDA (Rust CLI/crate) with non-blocking startup (classifying on CPU while GPU initializes), plus parallel batch identification in Rust.
  • Broader platform support: Expanded pre-built wheels and binaries, including musl environments like Alpine Linux.

Coming in subsequent 2.0 release candidates:

  • 1000+ content types: Further coverage expansion via additional native format resolvers.
  • Next-generation ML model: A smaller, faster model with stronger short-snippet detection.

Here is an example of what Magika command line output looks like:

Magika is used at scale to help improve Google users' safety by routing Gmail, Drive, and Safe Browsing files to the proper security and content policy scanners, processing hundreds billions samples on a weekly basis. Magika has also been integrated with VirusTotal (example) and abuse.ch (example).

For more context you can read our initial announcement post on Google's OSS blog, you can consult Magika's website, and you can read more in our research paper, published at the IEEE/ACM International Conference on Software Engineering (ICSE) 2025.

You can try Magika without installing anything by using our web demo, which runs locally in your browser!

Highlights

  • Available as a command line tool written in Rust, a Python API, and additional bindings for Rust, JavaScript/TypeScript (with an experimental npm package, which powers our web demo), and GoLang (WIP).
  • Trained and evaluated on a dataset of ~100M files across 200+ content types.
  • On our test set, Magika achieves ~99% average precision and recall, outperforming existing approaches -- especially on textual content types.
  • After the model is loaded (which is a one-off overhead), the inference time is about 5ms per file, even when run on a single CPU.
  • You can invoke Magika with even thousands of files at the same time. You can also use -r for recursively scanning a directory.
  • Near-constant inference time, independently from the file size; Magika only uses a limited subset of the file's content.
  • Magika uses a per-content-type threshold system that determines whether to "trust" the prediction for the model, or whether to return a generic label, such as "Generic text document" or "Unknown binary data".
  • The tolerance to errors can be controlled via different prediction modes, such as high-confidence, medium-confidence, and best-guess.
  • The client and the bindings are already open source, and more is coming soon!

Table of Contents

  1. Getting Started
    1. Installation
    2. Quick Start
  2. Documentation
  3. Security Vulnerabilities
  4. License
  5. Disclaimer

Getting Started

Installation

Command Line Tool

Magika ships a CLI written in Rust, and can be installed in several ways.

Via magika python package:

pipx install magika

Via brew (macOS / Linux)

brew install magika

Via installer script:

curl -LsSf https://securityresearch.google/magika/install.sh | sh

or:

powershell -ExecutionPolicy Bypass -c "irm https://securityresearch.google/magika/install.ps1 | iex"

Via magika-cli Rust package:

cargo install --locked magika-cli

Python package

pip install magika

JavaScript package

ツールをダウンロード

関連ツール

  • CyberChef

    サイバー・スイスアーミーナイフ - 暗号化、エンコーディング、圧縮、データ解析のためのウェブアプリ

  • SecLists

    セキュリティ評価のための厳選されたワードリスト集で、ペネトレーションテストや偵察に使用するユーザー名、パスワード、URL、ファジングペイロード、機密データパターンを含みます。

  • scapy

    Pythonベースの対話型パケット操作ライブラリ。幅広いプロトコルにわたるネットワークパケットの偽造、デコード、送信、キャプチャ、解析に対応し、スキャン、トレースルーティング、攻撃、ネットワーク探索をサポートします。

人気

すべて見る →

コミュニティで最も使われているツールを見つけましょう。

  • 1

    Callisto

    jetp1ane/callisto

    Ghidraを介して実行可能ファイルを逆コンパイルし、Semgrepで擬似Cコードをスキャンし、GPT-3.5-Turboを使用して検出結果を検証することで誤検知を低減する、自動化されたバイナリ脆弱性解析ツール。

    2.3k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock ワンタップ実行アプリ(CVE-2026-43499)

    843
  • 3

    DFRoot

    a2333c/dfroot

    Samsung Galaxy S25 Ultra (SM-S938B) 向けの Android root ツール。DirtyFrag CVE-2026-43284 と CVE-2026-43499 を連鎖させ、KernelSU 経由で起動時に自動的に root を取得します。

    445
  • 4

    ARTEX

    baarai/artex

    プランナー/ワーカーエージェント、資産グラフと探索グラフ、MITMトラフィック記録、脆弱性の再テストを備えたLLMマルチエージェント自律ペネトレーションテストプラットフォーム。

    387
  • 5

    OsintHunter

    letox4/osinthunter

    🎯 究極のOSINTツールキット:調査グラフ、信頼度スコアリング、エイリアスファミリー、マップ、タイムライン、レポート。49個のモジュール、400以上のサイト、APIキー不要。

    352
  • 6

    faraday

    infobyte/faraday

    オープンソースかつAIを活用したサイバーセキュリティツール。オフェンシブセキュリティ、脆弱性管理、自律型ペネトレーションテスト向け。ラテンアメリカのハッカーによって開発され、世界中で使用されています。

    344

すべてのツールを探索

ツールコレクションを閲覧

すべてのツールを見る →