Scripts2026年4月8日·1 分钟阅读

Magika — Google AI File Type Detection Tool

Google's deep learning file type detector with 99%+ accuracy. Magika identifies 200+ file types using AI instead of magic bytes, ideal for security scanning and content processing.

What is Magika?

Google's AI file-type detection tool. A deep-learning model identifies 200+ file types more accurately than magic bytes.

TL;DR: Google AI file-type detection. Deep learning, 200+ types, 99%+ accuracy. Distinguishes similar types and disguised files. Used inside Gmail/Drive security. 8k+ stars.

Best for: Security scanning, content-processing pipelines, file validation.

Core Features

1. 200+ File Types — code / docs / data / media / executables

2. Byte-Level Detection — no file required, detect from content

3. Security Detection — catch disguised files

FAQ

Q: Production-ready? A: Yes — ~1ms per file; thousands per second in batch.

🙏

来源与感谢

google/magika — 8k+ stars, Apache 2.0

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产