News for hackers. Stuff that matters.
Re:Magika: AI powered fast and efficient file type identific... by rvnx on Friday February 16, 2024 @04:05AM (#39394787)
You can try it here: https://google.github.io/magika/

It barely can support more than few file formats compared to `file`. It's more like a specialized classificator for basic file formats, so such cases are really out-of-scope.

Where is the actual source of the model ?

Apparently only the source of the interpreter is here, not the source of the model nor the training set, which is the most important thing.

Re:Magika: AI powered fast and efficient file type identific... by alexandreyc on Friday February 16, 2024 @04:27AM (#39394932)
Yes, I totally agree; it's not what I would qualify as open source.

Do you plan to release the training code along the research paper? What about the dataset?

In any case, it's very neat to have ML-based technique and lightweight model for such tasks!

Re:Magika: AI powered fast and efficient file type identific... by tempay on Friday February 16, 2024 @05:11AM (#39395195)
Is there anything about the performance on unknown files?

I've tried a few that aren't "basic" but are widely used enough to be well supported in libmagic and it thinks they're zip files. I know enough about the underlying formats to know they're not using zip as a container under-the-hood.

Re:Magika: AI powered fast and efficient file type identific... by kevincox on Friday February 16, 2024 @06:37AM (#39395656)
Apparenty the Super Mario Bros. 3 ROM is 100% a SWF file.

Cool that you can use it online though. Might end up using it like that. Although it seems like it may focus on common formats.