TechBuzzPro

Apple cannot check it for malicious software – Fix it

· 5 min read · Apps & Browsers

In this article
  1. What You'll Need
  2. Step‑by‑Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can get past the “Apple cannot check it for malicious software” warning on macOS by adjusting the security settings or using a simple Terminal command; the message appears because the system’s Gatekeeper cannot verify the app’s notarization status.

What You'll Need

  • A Mac running macOS Catalina (10.15) or later – the warning is shown on these versions.
  • An administrator password for the user account you are logged into.
  • Internet access if you need to download the latest macOS updates.
  • The app you are trying to open (saved in your Downloads folder or another location you can locate easily).

Step‑by‑Step

  1. Confirm your macOS version. Click the Apple menu  > About This Mac. The warning only appears on macOS 10.15 and later, so if you are on an older system you will not see it.
  2. Open System Settings (called System Preferences on older releases). You can find it by clicking the Apple menu  > System Settings, or by launching it from the Dock.
  3. Navigate to the Privacy & Security pane. The exact name may vary slightly – on macOS Ventura it is “Privacy & Security”, while on Monterey it appears as “Security & Privacy”.
  4. Scroll to the bottom of the pane. You will see a section titled Allow apps downloaded from with a button labelled Open Anyway next to the app that triggered the warning. If the button is not visible, proceed to the next sub‑step.
  5. If the Open Anyway button does not appear, locate the app in Finder, then Control‑click (or right‑click) the app icon and choose Open from the contextual menu. A second dialog will appear asking if you are sure; click Open again. This registers the app as trusted for future launches.
  6. For users who prefer the command line, open the Terminal app (Applications > Utilities > Terminal) and type the following command, replacing /path/to/app with the actual path to the app:
    xattr -d com.apple.quarantine '/path/to/app'
    Press Enter. This removes the quarantine attribute that tells Gatekeeper the app is unverified.
  7. After performing any of the above actions, double‑click the app to launch it. The warning should no longer appear, and the app will start normally.
  8. If the app still refuses to open, return to System Settings > Privacy & Security, click the lock icon in the lower‑left corner, enter your administrator password, and ensure that Allow apps downloaded from: App Store and identified developers is selected. Then repeat step 4.
  9. Finally, consider updating macOS. Click the Apple menu  > System Settings > General > Software Update and install any available updates. Apple occasionally patches Gatekeeper to improve compatibility with older installers.

Common Mistakes

  • Trying to click Open Anyway before the warning actually appears – the button only shows up after the system has blocked the app once.
  • Removing the quarantine attribute from the wrong file path – ensure you target the *.app bundle, not a sub‑folder inside it.
  • Using the wrong System Settings pane – older macOS versions use “Security & Privacy” instead of “Privacy & Security”.
  • Entering the administrator password incorrectly and locking yourself out of the settings pane. If this happens, click the lock icon again and re‑enter the password.
  • Downloading a corrupted or incomplete installer. The warning can also be a sign that the app is damaged; in that case, redownload from the official source.

Tips

  • Keep a copy of the app on an external drive after you have cleared the quarantine attribute. Future copies will inherit the trusted status.
  • If you frequently use unsigned utilities, create a dedicated folder (e.g., ~/Utilities/Unsigned) and add it to the Full Disk Access list under Privacy & Security. This reduces the number of prompts.
  • Use the spctl --master-disable command only as a last resort; it disables Gatekeeper entirely and reduces overall system security.
  • When possible, obtain a notarized version of the software from the developer. Notarized apps are automatically trusted by Gatekeeper.
  • Always verify the developer’s digital signature with codesign -dv --verbose=4 '/path/to/app' before bypassing security prompts.

Troubleshooting

If the steps above do not resolve the issue, follow this escalation path:

  1. Restart the Mac. A simple reboot clears temporary Gatekeeper caches.
  2. Check for macOS updates. Go to System Settings > General > Software Update. Install any pending updates, then repeat the “Open Anyway” process.
  3. Reset Gatekeeper. Open Terminal and run:
    sudo spctl --reset-default
    This restores Gatekeeper to its default configuration. You will need to re‑authenticate with your admin password.
  4. Remove the app completely and reinstall. Drag the app to the Trash, empty the Trash, then download a fresh copy from the developer’s website.
  5. Verify the app’s integrity. In Terminal, run:
    codesign -dv --verbose=4 '/path/to/app'
    Look for the line that says code object is not signed at all. If the app truly lacks a signature, you may need to contact the developer for a signed version.
  6. Consult Apple’s support page. Search for “Gatekeeper” on support.apple.com for the latest official guidance.

If none of these solutions work, it is safest to avoid using the software, as the inability to verify it may indicate a genuine security risk.

Frequently Asked Questions

Why does macOS show this warning for some apps but not others?

Gatekeeper checks whether an app is notarized by Apple or signed by a recognized developer. Apps that lack either are blocked and trigger the warning.

Can I permanently disable the warning?

You can turn Gatekeeper off with sudo spctl --master-disable, but this disables all app verification and is strongly discouraged for everyday use.

Is it safe to use the xattr -d com.apple.quarantine command?

The command itself is safe; it merely removes the quarantine flag. However, you should only use it on apps you trust, because you are bypassing Apple’s security check.

Do I need an internet connection to open the app after allowing it?

No. The internet is only required to download updates or to verify the app’s signature during the initial check.

What if the app still refuses to launch after I click “Open Anyway”?

Try resetting Gatekeeper (step 3 in Troubleshooting) and ensure the app’s code signature is intact. If the problem persists, the app may be corrupted.

Will these steps work on Apple Silicon Macs?

Yes. Gatekeeper functions the same on Intel and Apple Silicon; the only difference is the location of System Settings, which may be labeled slightly differently.