Skip to main content
Protect My Mac — FreeNo credit card required

Automation (AppleScript) (Automation) is a macOS privacy permission. Automation permission lets one app control another app using AppleScript, Apple Events, or the Shortcuts framework. This means the requesting app can tell other apps to perform actions — like making Finder move files, making Safari open URLs, or making Mail send emails. Common apps that request this permission include Alfred, Hazel, Keyboard Maestro, Raycast, Default Folder X. Risk level: caution. To check which apps have this permission, open System Settings, go to Privacy & Security, and select Automation. CoreLock maps all Automation permission pairs and identifies unusual combinations — like a recently installed app that can control Mail or Messages. It flags apps with Automation access to sensitive system apps and helps you understand the potential impact of each automation pair.

Security/Permissions

Automation (AppleScript) on Mac

CautionModerate risk — grants access to personal data

Automation permission lets one app control another app using AppleScript, Apple Events, or the Shortcuts framework. This means the requesting app can tell other apps to perform actions — like making Finder move files, making Safari open URLs, or making Mail send emails.

Apps That Commonly Request This

Alfred
Hazel
Keyboard Maestro
Raycast
Default Folder X

Privacy Risks

  • An app can control other apps to perform actions on your behalf — sending emails, moving files, or opening websites
  • Malware can use Automation to exfiltrate data through trusted apps like Mail or Messages
  • AppleScript can chain actions across multiple apps to perform complex attacks automatically
  • The controlled app may not show any visible indication that it's being automated by another process

How to Check Automation (AppleScript) on Your Mac

1

Open System Settings

Click the Apple menu and select System Settings.

2

Navigate to Privacy & Security

Click Privacy & Security in the sidebar.

3

Select Automation

Click Automation. You'll see a list of apps and which other apps they're allowed to control.

4

Review each pairing

Automation permissions are shown as pairs: App A can control App B. Review each pairing and ask whether it makes sense. Does Alfred need to control Finder? Probably yes. Does a random utility need to control Mail? Probably not.

How to Revoke Automation (AppleScript)

1

Open Automation in System Settings

Go to System Settings > Privacy & Security > Automation.

2

Disable specific automation pairs

Expand each app and toggle off the specific target apps you don't want it to control. You can allow an app to automate Finder but not Mail, for example.

3

Reauthorize when needed

If you revoke a needed automation pair, the app will prompt you again when it tries to use it. You can re-approve at that time.

How CoreLock Helps

CoreLock maps all Automation permission pairs and identifies unusual combinations — like a recently installed app that can control Mail or Messages. It flags apps with Automation access to sensitive system apps and helps you understand the potential impact of each automation pair.

Automatic permission scanning
Change detection alerts
Plain-English risk explanations

Frequently Asked Questions

What's the difference between Automation and Accessibility?

Automation lets one app control another through Apple Events (a structured API). Accessibility lets an app interact with any app's UI directly — clicking buttons, reading text, simulating input. Automation is more structured and limited; Accessibility is broader and more powerful. Both can be abused by malware.

Can Automation send emails without my knowledge?

If an app has Automation permission to control Mail.app, it can compose and send emails using AppleScript without showing you a visible compose window. This is a real attack vector — malware has used Automation to send phishing emails from victims' own accounts.

Do I need Automation for Shortcuts to work?

Shortcuts that interact with third-party apps may need Automation permission. Simple shortcuts using only built-in actions typically don't. If a Shortcut needs to control another app, macOS will prompt you for Automation permission the first time it runs.

Audit Your Permissions — Free

CoreLock scans every app on your Mac and shows you exactly which permissions each one has. Find hidden access in under 60 seconds.

Download CoreLock Free

Available for macOS and Windows