BSidesLuxembourg 2026

Magic-rs: A Memory-Safe, libmagic-Compatible File Type Detection Ecosystem
2026-05-07 , Main Stage

File identification has been a long-standing problem in software development, traditionally relying on legacy C code embedded within memory-safe applications. Magic-rs is a Rust ecosystem providing near-full compatibility with libmagic's file type detection while eliminating unsafe code. The ecosystem includes Python bindings and a CLI utility called wiza that we will demonstrate. We'll explore key advantages, architecture, and how you can use it in your projects or contribute to improving libmagic compatibility.


Do you consent for this presentation to be recorded and posted online ?:

Quentin is a Rust developer at CIRCL. Inspired by his background in incident response and threat detection, he develops open-source security tools to solve practical problems. His main interests include threat detection, bug hunting, and building tools that help the security community.

This speaker also appears in: