discovered 03 Aug 2026
polyfile
→ View on GitHubPolyFile is a versatile utility designed to identify and analyze the semantic and syntactic structure of various file types, including polyglots and embedded files. It features a pure-Python implementation of libmagic, allowing it to serve as a drop-in replacement for the traditional `file` command while supporting recursive identification of contents similar to binwalk. Notably, PolyFile includes an interactive debugger for enhanced file classification and integrates with PolyTracker for advanced lexical annotation and navigation of parsers.