Google Open Sources Magika File-Type Detection System


Magika uses deep learning to outperform traditional tools, the company says.

Google has open sourced Magika, its AI-powered file-type identification system.

Magika “leverages the power of deep learning” to help accurately detect binary and textual file types. “Under the hood, Magika employs a custom, highly optimized deep-learning model, enabling precise file identification within milliseconds, even when running on a CPU,” the announcement states.

Accurately detecting file types is crucial for determining how to process files, the announcement notes, and tools such as libmagic and the file utility have been the standard for more than 50 years. Magika, however, “outperforms traditional tools with 99%+ average precision and recall,” the website says.

The Magika code and model are freely available on GitHub under the Apache2 License. You can try out Magika through the web demo or install it as a Python library and standalone command-line tool using the command: pip install magika



Related content

  • News for Admins
    In the news: CIQ Offers Long-Term Support for Rocky Linux on AWS; Apple's PQ3 Brings Post-Quantum Security to iMessage; Google Open Sources Magika File-Type Detection System; Microsoft Announces Sudo for Windows; Linux Foundation Launches Post-Quantum Cryptography Alliance; Sys Admins Saw the Biggest Average Salary Increase in 2023, According to Dice; Use of Open Source Software Increased Significantly in 2023; Docker Build Cloud Announced; Wi-Fi CERTIFIED 7 Announced; EU Commissions Nostradamus Project for Quantum Testing; and NIST Identifies Main Types of Adversarial Machine Learning Threats, GitLab Announces Critical Security Releases.
comments powered by Disqus
Subscribe to our ADMIN Newsletters
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs

Support Our Work

ADMIN content is made possible with support from readers like you. Please consider contributing when you've found an article to be beneficial.

Learn More”>


		<div class=