How to Allow an Untrusted Shortcut to Run on a Mac

Illustration for How to Allow an Untrusted Shortcut to Run on a Mac

Quick Answer

To allow an untrusted shortcut to run on a Mac:

  1. Open the Shortcuts app.
  2. Choose Shortcuts > Settings from the menu bar.
  3. Select the General tab.
  4. Turn on Allow Sharing of Private Shortcuts.
  5. Confirm the change if macOS asks.
  6. Open the shortcut again and select Add Shortcut or Open.

If the option is missing, run at least one shortcut first. Then return to Shortcuts > Settings > General and look for the setting again.

Only allow a shortcut if you understand where it came from and what it does. An untrusted shortcut can potentially access information, open websites, run scripts, or modify files depending on the actions it contains.

What “Untrusted Shortcut” Means

Apple uses the term “untrusted shortcut” for a shortcut that was not created in your own Shortcuts library or received through Apple’s usual sharing process. This commonly includes shortcuts downloaded from a website, received from another person, or imported from a file.

A shortcut is an automated workflow made from individual actions. For example, it might resize images, organize files, create reminders, or convert text. Some shortcuts can also interact with files, websites, apps, and system services.

The warning does not automatically mean the shortcut is malicious. It means macOS wants you to review or approve the shortcut before adding it to your library.

Before You Allow an Untrusted Shortcut

Review the shortcut before running it, especially if it came from an unknown source.

Look for actions that:

  • Read, move, rename, overwrite, or delete files
  • Send email or messages
  • Upload information to a website
  • Run JavaScript or shell scripts
  • Open links or download files
  • Access contacts, calendars, reminders, photos, or other personal data
  • Change settings or interact with other apps

A shortcut can contain many actions, and some actions may be hidden farther down the workflow. If you do not understand an action, search for an explanation before allowing the shortcut.

Do not enter passwords, financial information, or other sensitive data into a shortcut merely because it asks for permission. You can remove a shortcut later, but actions it already performed may not be reversible.

Method 1: Allow Untrusted Shortcuts in Shortcuts Settings

This is the standard method for enabling shortcuts that macOS identifies as untrusted.

1. Open the Shortcuts app

Open Shortcuts from the Applications folder, Launchpad, or Spotlight.

If you use Spotlight to open the app, press Command-Space, type Shortcuts, and press Return. For more ways to customize Spotlight, see our guide on how to change the Spotlight keyboard shortcut on a Mac.

2. Open Shortcuts settings

With the Shortcuts app active, select Shortcuts > Settings in the menu bar.

Do not choose System Settings. The setting you need is inside the Shortcuts app.

3. Select the General tab

In the Shortcuts settings window, select General if it is not already selected.

Look for a setting named Allow Sharing of Private Shortcuts. Depending on how the shortcut was obtained, this setting may be required before you can add it.

4. Enable the setting

Select the checkbox next to Allow Sharing of Private Shortcuts.

macOS may display a warning explaining that shortcuts from outside the usual sharing system can be risky. Read the warning, then choose Allow if you trust the shortcut and want to continue.

If macOS asks for your administrator password or authentication, follow the onscreen instructions.

5. Add the shortcut

Return to the shortcut’s download page, message, or file. Open the shortcut again and select Add Shortcut, Open, or the equivalent button shown by macOS.

The exact wording can vary depending on whether the shortcut came from a website, a file, or another person.

If macOS displays the shortcut’s actions or permissions, review them before selecting Add Shortcut.

6. Test it carefully

After the shortcut appears in your library, select it once to test it. Watch for permission prompts and read each one before choosing Allow.

If the shortcut changes files or sends information, test it with nonimportant data first. For example, use a copy of a document rather than the original.

Method 2: Open the Shortcut from Finder

If you downloaded the shortcut as a file and opening it does not work normally, use Finder to locate it.

Warning: Opening an untrusted shortcut can immediately begin the import process. Review its actions and permissions before approving anything. Do not continue if you cannot identify the shortcut’s source.

  1. Open Finder.
  2. Select Downloads in the sidebar, or open the folder where you saved the shortcut.
  3. Double-click the shortcut file.
  4. If macOS shows a warning, select Open only if you trust the source.
  5. Review the shortcut’s actions.
  6. Select Add Shortcut if everything looks appropriate.

If the file is compressed, such as a ZIP archive, double-click it first to extract the shortcut. Do not open unrelated files included in the archive unless you know what they are.

If double-clicking does nothing, Control-click the shortcut file and choose Open. If macOS still blocks it, confirm that Allow Sharing of Private Shortcuts is enabled in Shortcuts > Settings > General.

How to Review a Shortcut Before Running It

You can inspect a shortcut after it has been added to your library.

  1. Open Shortcuts.
  2. Find the shortcut in the sidebar or in the main window.
  3. Double-click the shortcut, or select it and choose Edit Shortcut if that option is available.
  4. Review every action from top to bottom.

Pay particular attention to actions with names such as:

  • Get Contents of URL
  • Run Shell Script
  • Run JavaScript for Automation
  • Delete Files
  • Move File
  • Save File
  • Send Message
  • Send Email
  • Open URLs
  • Ask for Input

Some actions are legitimate but still deserve attention. For example, a shortcut that downloads an image may need access to a website, while a file-organizing shortcut may need access to folders in your home directory.

If the shortcut asks for access that does not match its purpose, cancel the setup and remove it.

How to Remove an Untrusted Shortcut

Removing the shortcut prevents you from running it again, but it does not undo changes it already made.

  1. Open Shortcuts.
  2. Locate the shortcut.
  3. Control-click it.
  4. Select Delete.
  5. Confirm the deletion if macOS asks.

If the shortcut created or changed files, inspect those files separately. Restore them from a backup if necessary. If it sent a message, email, or uploaded data, deleting the shortcut cannot retract that action.

How to Turn Off Permission for Shared Shortcuts

If you no longer want to import shortcuts from outside the normal sharing process, disable the setting.

  1. Open Shortcuts.
  2. Select Shortcuts > Settings.
  3. Select General.
  4. Turn off Allow Sharing of Private Shortcuts.

This does not remove shortcuts already in your library. It only prevents or limits future imports that require this permission. To remove an existing shortcut, delete it from the Shortcuts app.

Troubleshooting

The “Allow Sharing of Private Shortcuts” option is missing

Run a built-in shortcut first, then check the setting again.

  1. Open Shortcuts.
  2. Select one of the shortcuts already available in the app.
  3. Run it once.
  4. Return to Shortcuts > Settings > General.

If the option still does not appear, quit and reopen Shortcuts. You can also restart the Mac and check again.

The shortcut still says it is untrusted

Make sure you enabled the setting in the Shortcuts app, not a similarly named option elsewhere.

After enabling it:

  1. Quit Shortcuts.
  2. Reopen the app.
  3. Open the shortcut again from its original location.
  4. Review and select Add Shortcut.

If the shortcut was downloaded before you changed the setting, download it again from the original source. Avoid copies from unfamiliar websites or file-sharing services.

macOS says the shortcut cannot be opened

The file may be incomplete, damaged, or incompatible with your current setup. Delete the downloaded copy and obtain it again from a source you trust.

Also check whether the shortcut is actually a shortcut file. A web page, text file, or renamed file will not import correctly.

A shortcut asks for permission every time

Some actions request access when they first run or when the shortcut’s behavior changes. Read the prompt carefully and decide whether the requested access is necessary.

If the prompt concerns files, photos, contacts, calendars, or another protected category, review the shortcut’s actions before granting access. You can manage many app permissions in System Settings, but changing a permission does not make an unsafe shortcut safe.

The shortcut runs, but the result is wrong

Review its inputs and actions. A shortcut may expect a file, selected text, a URL, or another type of input.

Try running it with a simple test file or sample text. If it uses folders, confirm that the folder still exists and that the shortcut has permission to access it.

The shortcut will not run after a macOS update

Open the shortcut in the Shortcuts app and look for actions marked with warnings or errors. An action may have changed, lost permission, or depend on another app that is no longer installed.

Do not reinstall a replacement shortcut automatically. Compare the replacement’s actions with the original before adding it.

Frequently Asked Questions

Is it safe to allow an untrusted shortcut?

It can be safe if you trust the source and understand the shortcut’s actions, but the label is a reason to review it carefully. A shortcut may access personal information, files, websites, or other apps.

Can an untrusted shortcut damage my Mac?

A shortcut may be able to delete or change files, run scripts, download content, or send information, depending on its actions and the permissions you grant. Review it before running it, and test it with noncritical data.

Why can’t I find the setting to allow untrusted shortcuts?

Open the Shortcuts app and check Shortcuts > Settings > General. If the option is not visible, run a built-in shortcut once, then check the setting again.

Does allowing shared shortcuts allow every shortcut automatically?

No. The setting permits you to add certain shortcuts from outside the usual sharing process. You still need to open or add each shortcut, review its actions, and approve requested permissions.

How do I undo the change?

Open Shortcuts > Settings > General and turn off Allow Sharing of Private Shortcuts. This affects future imports; it does not remove shortcuts already in your library.

Can I trust a shortcut because it came from a friend?

Not automatically. Your friend may not have reviewed the shortcut’s actions, and the shortcut may have been changed or replaced. Inspect it before running it.

Final Thoughts

To allow an untrusted shortcut on a Mac, enable Allow Sharing of Private Shortcuts in Shortcuts > Settings > General, then reopen and add the shortcut. Treat the setting as permission to import the workflow—not as proof that the workflow is safe. Review its actions, approve only necessary permissions, and test it with noncritical data first.