-
-
Notifications
You must be signed in to change notification settings - Fork 9.9k
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
"mc" was not opened because it contains malware. This action did not harm your Mac. #19078
Comments
Might be related to issues affecting other software this week: https://www.bleepingcomputer.com/news/security/docker-desktop-blocked-on-macs-due-to-false-malware-alert/. Will need further investigation into console logs for why it's suddenly rejecting it. |
What's weird is that for most applications I try to run spctl on that are homebrew I just get
Also, it only seems to freak out when I use mc over SSH, if I use it locally I don't have an issue. More than happy to provide anything useful - I'd love to just override this but I'm not sure if there's any command I can run to do so except disabling gatekeeper system wide, which I do not want to do (unfortunately since it only happens when I run the application over SSH I cannot use System Settings to override it.) One last edit, checked log stream while trying to launch the app - Apple did indeed revoke this (which I guess means blacklist it since I doubt it was notarized):
|
Indeed, there should be no notarization on any Homebrew formulae. I'm not entirely sure why this has been flagged. How Apple even know about it is odd too given it was never registered with them, and surely we haven't hit the astronomically low chance of a hash collision. We could just rebuild it and the hash will change I guess and "fix" the issue. 🤷♂️ Can you run Also post the output of |
It was indeed built on macOS 15 (output from the Also, bizarre thing, I am seeing stuff returned from codesign on the file in
On
Let me know if anything else is needed. Hopefully rebuilding it will fix it. |
The one in Not all formulae are like that. |
Gotchya, that makes sense. Thanks for your quick responses! |
[~]$ codesign -dvvv /opt/homebrew/Cellar/midnight-commander/4.8.32/libexec/bin/mc Executable=/opt/homebrew/Cellar/midnight-commander/4.8.32/libexec/bin/mc [~]$ jq .built_on.os_version /opt/homebrew/Cellar/midnight-commander/4.8.32/INSTALL_RECEIPT.json |
The problem exists with the precompiled binary only. Installing with |
yes rebuild work i have latest MacOS Sequoia 15.2 on M4 pro |
brew doctor
outputVerification
brew doctor
output" above saysYour system is ready to brew.
and am still able to reproduce my issue.brew update
twice and am still able to reproduce my issue.brew install wget
. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.brew config
outputWhat were you trying to do (and why)?
I ran the mc program in the terminal.
What happened (include all command output)?
After running it, I got an error window “Malware Blocked and Moved to Bin. "mc" was not opened because it contains malware. This action did not harm your Mac.” on my screen and the mc binary was moved to the trash.
What did you expect to happen?
Starting Midnight Commander.
Step-by-step reproduction instructions (by running
brew
commands)The text was updated successfully, but these errors were encountered: