Benches macOS

1

How to see blocked apps in gatekeeper

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

I need to be able to see what apps are being blocked by gatekeeper but without knowing the precise apps name. I've looked at spctl and its OK for letting you know what is approved but it seems to rely on you knowing the precise name if you want to test if it is blocked. I have tried to access /var/db/SystemPolicy but I don't have the permissions to access. Have I missed something?

1 reply

Sign in or join Beachball Help to reply.

  1. 0

    BDAqua

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    In System Information > Software > Disabled Software, it shows a list of these extensions with their bundle identifier. In my case, that was enough info to understand what the app is, but to locate the actual kext file requires more digging. Example:

    grep -r "com.aladdin.kext.aksfridge" /Library/Extensions finds nothing.

    grep -r "com.aladdin.kext.aksfridge" /Library/Application Support found it.

    I'm not sure if there is a documented list of locations that are allowed to load kexts, but you could grep the whole hard drive for the bundle ID and that would surely find it.

    https://apple.stackexchange.com/questions/328141/how-to-identify-extensions-blocked-by-gatekeeper

    Determine if an application is allowed

    With Gatekeeper enabled, you can have the system check a specific application package to see whether it has privileges to run. To do so, simply type "spctl -a" in the Terminal followed by a single space, and then drag the application of choice to the Terminal window to complete the full path to the program package so it looks like the following:

    spctl -a /Path/To/program.app

    The program can be an application bundle, a shell script, or any other executable file. When you execute this command on the targeted file, Gatekeeper will assess the file's eligibility to run and output the results to you.

    https://www.cnet.com/news/how-to-manage-os-x-gatekeeper-from-the-command-line/