chainguard-dev / malcontent

detect malicious program behaviors
Apache License 2.0
407 stars 26 forks source link

Add .xz archive support #433

Closed egibs closed 1 month ago

egibs commented 1 month ago

We've had support for .tar.xz files but not .xz files. This PR tweaks our .tar.xz checks to support both.

This will allow us to scan our archived sample binaries without needing to extract them as part of the repository cloning. To do so, I'll need to make the archive names match the .simple file names so that's for a later PR.