Re:macOS gatekeeper and file quarantine bypass
by btilly on Monday April 26, 2021 @06:54PM
(#26949356)
Given how ubiquitous your problem is, I would be suspicious that security alerts are going off because you have a real security problem. I've seen similar problems when a piece of malware keeps trying to inject itself into various things, and Gatekeeper is catching it. The variety of places where you're getting alerts is a testament to the persistence of the malware, and not the fact that everything is actually broken.
Re:macOS gatekeeper and file quarantine bypass
by kstrauser on Monday April 26, 2021 @04:42PM
(#26947834)
That's OK. If I were in your boat, I'd probably be pretty frustrated.
Does the method of right-clicking on an app, then "Open", in Finder work to tell Gatekeeper to quit complaining?
Re:macOS gatekeeper and file quarantine bypass
by setr on Monday April 26, 2021 @04:25PM
(#26947607)
Probably the simplest thing then would be to alias brew install to something like spctl —master-disable; brew install $1; spctl —master-enable
Re:macOS gatekeeper and file quarantine bypass
by Wowfunhappy on Monday April 26, 2021 @06:46PM
(#26949279)
`spctl --master-disable` requires root permissions (sudo).
You could edit sudoers so the command doesn't require a password. But really, at that point I'd just leave Gatekeeper off.
Re:macOS gatekeeper and file quarantine bypass
by vlovich123 on Tuesday April 27, 2021 @01:30PM
(#26958949)
Is it possible you do this on a corp machine that has Google's Santa running & it's just a language precision issue? Google Santa will definitely prompt on nearly everything & is extremely annoying for Homebrew. Google Santa != Gatekeeper though.
I been reading other comments and as someone (xrisk) pointed out that it is Homebrew Casks which it made sense since all of the gatekeeper alerts is coming from 'Cask-ed' apps. I could disable Gatekeeper but I rather not because MacOS is not my daily driver. I rather to keep Gatekeeper active to protect itself from moronic me.