Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Mach-O magic bytes to the bundled binary detector #498

Closed
ocku opened this issue Dec 7, 2024 · 3 comments
Closed

Add Mach-O magic bytes to the bundled binary detector #498

ocku opened this issue Dec 7, 2024 · 3 comments

Comments

@ocku
Copy link
Contributor

ocku commented Dec 7, 2024

The bundled binary detector currently detects ELF (Unix) and exe (Windows) files, but it does not account for the magic bytes for Mach-O (Mac) files. This could lead to malicious packages targeting Macs to go unnoticed.

For reference:

Image

See https://en.wikipedia.org/wiki/Mach-O#Mach-O_header for more info.

@ocku
Copy link
Contributor Author

ocku commented Dec 7, 2024

Let me know if I can work on this :)

@sobregosodd
Copy link
Contributor

Hello @ocku , the case you point out seems valid as well
Please, send the PR well look into it.

Thanks again!

@ocku
Copy link
Contributor Author

ocku commented Jan 22, 2025

^ Created. Sorry for the delay! I had some issues with GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants