-
-
Notifications
You must be signed in to change notification settings - Fork 681
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
MacOS is marking odin executable as malware #4744
Comments
We do not sign our executable so macos isn't happy with it. You can go into settings -> privacy and security and allow the executable there, it will then probably pop up one or 2 more times for the dynamic libraries we ship and then you are good to go. The homebrew case is a weird one, I have always been able to use homebrew without any of these pop-ups ever appearing. |
I"m not sure this is the case. When I got this notification I wasn't able to allow to run the executable through privacy & security. It just straight up refused to run. It seems like that once I put it in the I think this is caused by some sort of update, as more developer tools started to report this popup this month. |
Try |
If you download an executable or a zip containing an executable the usual way (i.e. using the browser), macOS will set the quarantine attribute on that file/contained files preventing you to execute them. You can check that by running |
Context
I've just downloaded odin, as I wanted to give it a shot - but find out upon installation, that macOS is marking binary as malware. This happens to both downloaded binaries from github and running them from sourced path as well as binaries installed via Homebrew.
Operating System & Odin Version:
odin version dev-2024-11:e6475fec4
macOS Sequoia 15.1
Please paste
odin report
output:This is the output after I managed to run it
Expected Behavior
odin
command should be (in my opinion) usable right away after extracting the binary or installing it from the package manager.Current Behavior
When
odin
command is being called in CLI after installation you will get this prompt from macOSSteps to Reproduce
brew install odin
or by downloading the binary from githubodin
executableExploring the issue
When I was researching the issue - I want to get it working and I managed to do so. By coping binary into
/Library/PrivilegedHelperTools/
. This seems to be a common issues with a lot of binaries not only for odin (e.g. docker has this problem too), but I'm not sure how to resolve it, neither does docker from what I understand. The command to fix this malware popup is:After moving the binary to PrivilegedHelperTools I can run the command and work with executable tho. Here's the link for the docker thread, as it might be useful for further investigation.
I'm so sorry if this kind of issue doesn't belong here, but from what I could understand this was the place I found the best to report to. And I would also like to save trouble for other developer too.
The text was updated successfully, but these errors were encountered: