If you just moved onto a recent Mac running macOS Sequoia 15, Tahoe 26, or macOS 27 Golden Gate and tried Control-clicking an open-source app to choose Open, you probably noticed that old shortcut no longer skips Gatekeeper. Apple intentionally removed Control-click overrides starting in macOS Sequoia so users have to visit System Settings > Privacy & Security and inspect what they are approving.
That extra friction exists for a real reason. Manually overriding Gatekeeper is one of the primary ways Macs pick up infostealers disguised as utilities. Whenever I install an open-source tool or internal binary that lacks an Apple notarization ticket, I verify its signature and source before touching Open Anyway, and I never try to turn Gatekeeper off system-wide.
Original SVG diagram by Ajay Kumar Chaturvedi (CC BY 4.0).
Prerequisites
Check these details before overriding any macOS security prompt:
- An administrator password to approve an individual application exception in
System Settings. - Confirmation that you downloaded the
.dmg,.pkg, or.zipdirectly from the official project repository or vendor release page (compare the vendor's SHA-256 checksum if provided). - No MDM profile (
DisableOverride) locking downPrivacy & Securityexceptions on a corporate-managed Mac.
I would skip opening the software entirely if the alert says "App will damage your computer" or "App is damaged and cannot be opened", or if an unfamiliar download page instructs you to copy-paste Terminal commands to bypass macOS warnings.
Step-by-Step Safe Verification and Override
Step 1: Read the exact macOS alert carefully
Try opening the app once by double-clicking it inside /Applications. Read the prompt wording verbatim:
- Downloaded from the Internet: Normal confirmation for a signed and notarized app; click
Open. - Apple cannot check it for malicious software / Developer cannot be verified: The app lacks Apple notarization or a Developer ID signature; proceed carefully to Step 2.
- Will damage your computer / App is damaged: Stop immediately; Apple states this warning triggers when code was altered, damaged, had its certificate revoked, or matched known malware in XProtect.
Step 2: Inspect quarantine, signature, and Gatekeeper verdict
Open Terminal (Applications > Utilities) and inspect what you actually downloaded before granting an exception. Replace /Applications/Example.app with your target bundle path:
xattr -p com.apple.quarantine /Applications/Example.app
codesign -dv --verbose=4 /Applications/Example.app
codesign --verify --deep --strict --verbose=2 /Applications/Example.app
spctl -a -vv /Applications/Example.appHere is what each command tells you:
xattr -p com.apple.quarantineshows which browser or app saved the file and when.codesign -dvprints theIdentifier,TeamIdentifier, andAuthoritychain so you can see whether it was signed by a real developer certificate or only ad-hoc signed.codesign --verify --deep --strictconfirms no files inside the app bundle were modified after signing.spctl -a -vvprints Gatekeeper's assessment (acceptedwithNotarized Developer IDversusrejected).
If you are checking a .pkg installer rather than a .app bundle, inspect its signature with pkgutil --check-signature ~/Downloads/Example.pkg.
Step 3: Check your global Privacy & Security policy
Make sure your baseline setting allows signed third-party software rather than restricting you exclusively to the Mac App Store:
- Choose
Apple menu > System Settingsand clickPrivacy & Securityin the sidebar. - Scroll down to the
Securitysection. - Under
Allow applications from, selectApp Store & Known Developers.
Never hunt for outdated Terminal hacks like spctl --master-disable to enable an "Anywhere" radio button. Apple deprecated and blocked global spctl policy toggles in Sequoia and later, and keeping Gatekeeper enabled protects every future download.
Step 4: Use Open Anyway within one hour of the blocked launch
Security Warning: Overriding Gatekeeper creates a permanent per-app exception on your Mac. Back up important data regularly and approve an app only if you verified its vendor identity and download checksum.
If you verified the app in Step 2 and want to allow it:
- Reopen
System Settings > Privacy & Securityand scroll toSecurity. - Look for the notice saying
"Example.app" was blocked to protect your Mac(Apple keeps this prompt active for roughly one hour after your attempted launch). - Click
Open Anyway. - Authenticate with your Touch ID or administrator password and confirm
Openin the final dialog.
Once approved, macOS stores an exception for that specific application so double-clicking launches it normally afterward.
Step 5: Handle unsigned command-line binaries safely
Unsigned standalone CLI tools downloaded via browser often carry com.apple.quarantine and do not always trigger a clean Open Anyway row in System Settings. First verify the file's SHA-256 hash against the project's official release notes (shasum -a 256 ~/Downloads/tool), then clear only the quarantine attribute on that exact trusted binary or bundle:
shasum -a 256 ~/Downloads/tool
xattr -d com.apple.quarantine ~/Downloads/toolAvoid running xattr -cr recursively across entire folders, because -c wipes every extended attribute (including legitimate Finder metadata or resource forks) rather than targeting only com.apple.quarantine.
Expected Result
Gatekeeper remains active globally (spctl --status prints assessments enabled), your verified application launches cleanly without repeated blocks, and you avoided weakening system-wide runtime protection.
Troubleshooting
The "Open Anyway" button is missing in Privacy & Security
The Open Anyway button stays visible for only about one hour after you try launching the blocked app. Double-click the app in /Applications again, dismiss the alert, and immediately switch back to System Settings > Privacy & Security. If the option still does not appear on a work Mac, your IT department likely enforced DisableOverride via MDM.
macOS says "Example.app is damaged" on an unsigned open-source build
On Apple silicon Macs, unsigned binaries or bundles downloaded by browser sometimes fail code-signing execution policies or carry mismatched ad-hoc signatures after unpacking. Confirm with the maintainer whether the release is legitimately unsigned, verify the SHA-256 checksum on the official release page, and re-extract from the archive cleanly rather than guessing.
How do I check that XProtect definitions are still updating?
Verify your local XProtect.bundle version and ensure Security Responses & System Files stay enabled under System Settings > General > Software Update:
defaults read /Library/Apple/System/Library/CoreServices/XProtect.bundle/Contents/Info.plist CFBundleShortVersionString