oletools - python tools to analyze MS OLE2 files (Structured Storage, Compound File Binary Format) and MS Office documents, for malware analysis, forensics and debugging.
Compared to other solutions, which are mostly magic-based, magika should provide better results for text-based formats such as JavaScript, VBScript, PowerShell, etc.
This would be mostly useful for text-based formats, which cannot be easily identified.
https://opensource.googleblog.com/2024/02/magika-ai-powered-fast-and-efficient-file-type-identification.html https://github.com/google/magika
Compared to other solutions, which are mostly magic-based, magika should provide better results for text-based formats such as JavaScript, VBScript, PowerShell, etc.
Other potential solutions: