BSD Ports

sysutils/magika 1.1.0_1 DragonFly

Fast and accurate AI powered file content types detection

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
APACHE20
Categories
sysutils
Package size
3349.2 KiB, 4502.0 KiB installed

Description

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%25 accuracy on our test set.

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.

In the other systems

The newest version among them is 1.1.0, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlysysutils/magika1.1.0_1 newestnone known-[email protected]-
FreeBSDsysutils/magika1.1.0_2 newestnone known-[email protected]2026-10-14
HardenedBSDsysutils/magika1.1.0_2 newestno data-[email protected]-
GhostBSDsysutils/magika1.1.0_2 newestno data-[email protected]-

Version history 1

  1. 1.1.0

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkg install magika

From DPorts:

cd /usr/dports/sysutils/magika && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 2

No port depends on this one.