本文へスキップ
ToolNaviq

Magika

Identify file content types with a local CLI or library, then inspect confidence and exceptions.

未翻訳のため、原文を表示しています。

料金体系
無料

利用シーン

Route files to a suitable parser.

Compare extensions against detected types.

Preserve uncertain classifications for review.

製品概要とその他の利用例

Product overview

Magika classifies file contents using a compact machine-learning model. Its command-line tool and language bindings can produce labels, MIME types and structured results for a file-processing pipeline. It identifies a content type rather than proving a file is safe. Choose a confidence mode and preserve unknown or ambiguous results for further checking.

機能、モデル、連携
できること適用条件と制約

Classify binary and textual file content.

Read a file, directory or standard input through the CLI.

Output labels, MIME types, scores or JSON results.

Choose prediction modes with different confidence tradeoffs.

Usage limits

Detection is probabilistic and does not replace malware scanning or content validation. Known limitations include no polyglot detection. Best-guess returns a prediction regardless of confidence; higher recall can reduce precision. Published speed and accuracy numbers describe project evaluations, not a guarantee for your files. Apache 2.0 permits use under its conditions; redistribution requires appropriate notices. Local hardware, maintenance and integration still have costs. The repository disclaims official Google support. Chinese documentation and binding compatibility were not tested.

利用方法と連携

Choose an interface

Check the project documentation for the CLI or language binding matching your environment.

Inspect a sample result

Compare the label, MIME type and score with the known sample contents.

Handle uncertain cases

Keep fallback labels and use separate validation for security decisions.

料金と利用条件

Software licence

Apache 2.0

Use and redistribution must follow the licence conditions.

全プランと課金ルールを比較
Software licence
Apache 2.0

Use and redistribution must follow the licence conditions.

    Local operation
    Infrastructure costs separate

    A code licence does not supply managed hosting or a support SLA.

      利用条件

      Platforms
      API, ローカルインストール

      資料と出典

      よくある質問

      Is this an antivirus?

      It identifies content types; that alone does not establish whether a file is malicious.

      Does best-guess guarantee a correct answer?

      No. It returns the prediction even when its confidence is low.

      Can it detect polyglot files?

      The current known-limitations page says polyglot detection is unsupported.

      製品の基本情報
      Product type
      Local file-type detection tool and library
      Where to start
      Project CLI or supported language binding
      Cost
      Apache 2.0 code; local operating costs separate
      Chinese readiness
      English documentation observed
      Main condition
      A detected type does not establish file safety
      Identifiers
      Slug magika · Product ID 13934544-b66e-4478-a043-520f13150fe9
      既存の資料とガイド

      製品概要と利用例

      Our selection advice

      Start with harmless sample files, choose a confidence policy and define how unknown results will be handled.

      Billing notes

      Software licence

      Use and redistribution must follow the licence conditions.

      Local operation

      A code licence does not supply managed hosting or a support SLA.

      Updates, relationships and reviews

      Official usage resources checked in this batch. Independent user reviews are still pending verification; no overall sentiment rating is assigned.

      Questions and guides

      Magika repository and supported interfaces

      Official reference for the workflow and its conditions.

      Plan a harmless file-type check

      Compare the detected type of a synthetic CSV sample with its expected CSV content; retain any unknown result for review.

      Check type, confidence and fallback behavior; do not treat the label as a safety verdict.

      Editorial example only; no package installation, file scan or performance benchmark was run.

      Related guides原文の詳細と出典を見る
      出典 5
      [1]
      Is this an antivirus? ↗Local operation · Choose an interface · Our selection advice · Magika repository and supported interfaces · Product type · Where to starthttps://github.com/google/magika
      [4]
      Software licence ↗Magika Apache 2.0 licence · Costhttps://raw.githubusercontent.com/google/magika/main/LICENSE
      [5]
      Inspect a sample result ↗Plan a harmless file-type check · Chinese readiness · securityresearch.googlehttps://securityresearch.google/magika/getting-started/quick-start/
      SOURCE