Platforms 8-minute read

macOS Clash Permissions: Network Extensions, Keychain Access & Helper Tools

Learn what macOS permission prompts mean when you first launch Clash, from “app is damaged” warnings to network extensions, Keychain access, and helper tool installation.

First, identify when the prompt appears

Use the action you just took to identify the permission being requested. If macOS blocks the app as you launch it, check the installer first. If the prompt appears only after you click “Enable TUN,” check whether it asks to add a VPN configuration or install a background helper. A Keychain prompt names the requesting process and item; verify those separately rather than treating it as a network permission.

What the prompt saysWhat it relates toWhat to do first
“App is damaged and can’t be opened”Security checks at launchVerify the download source and macOS compatibility, then download it again
“Would like to add VPN configurations”Registering a system VPN configurationVerify the app name and the feature you just enabled
Prompt to allow a network extensionmacOS management of network extensionsFind the extension settings for your macOS version
Request to access a Keychain itemReading a saved credentialVerify the item name and requesting process
Administrator approval required to install a helper toolRegistering or updating a background helperConfirm the request followed the installation or update you just started

“App is damaged” on first launch: replace the installer, not your security settings

“App is damaged” can have several causes, including an incomplete download or an app signature that fails verification. It is not a TUN permission issue, nor does it mean the same thing as “Apple cannot check it for malicious software.” Note the exact message, then try these steps in order.

  1. Open the Apple menu → About This Mac. If it shows an Apple M-series chip, choose a release labeled arm64 or Apple Silicon. For an Intel Mac, choose x64 or x86_64. A package labeled Universal by the publisher usually supports both architectures. Also check the release notes for the minimum macOS version.
  2. Download a complete installer from a trusted release source. For a .dmg, drag the app into Applications, then launch it from there. Back up your local configuration before updating, and check both Downloads and Applications for duplicate copies of the app so you don’t launch an older one by mistake.
  3. If a freshly downloaded, compatible release still shows “App is damaged,” note the app version, macOS version, and exact message. Check whether the publisher has reported a signing issue, or try another compatible release from the publisher. Don’t remove the quarantine attribute or turn off Gatekeeper.

Network extensions and VPN configurations: find the right settings for your macOS version

Approve a network extension only if the client uses Apple’s network extension framework for the feature in question. The “Add VPN Configurations” prompt appears only when a client requests a system VPN configuration. Some mihomo clients use a helper to create a TUN interface and configure routes without registering a system VPN or appearing in the network extensions list. The app being called Clash—or the presence or absence of a VPN entry—doesn’t tell you whether TUN is running.

  • macOS 15 Sequoia: Open System Settings → General → Login Items & Extensions. If the client specifically asks you to approve a network extension, click the details button next to Network Extensions, verify the name, and enable the matching item.
  • macOS 13 Ventura and macOS 14 Sonoma: If the prompt points to Privacy & Security, open System Settings → Privacy & Security and check the Security section near the bottom for the blocked component and an Allow button. If the client asks to add a VPN configuration, respond to that request; you don’t need to look for an extension approval button.
  • Check the VPN configuration: After approving the request, search for “VPN” in System Settings and verify the new entry. Its presence confirms that the configuration was registered, not that it’s connected; check the system status and client logs for connection state. If your work- or school-managed Mac blocks adding a configuration, contact your device administrator.

If you only need apps that respect system proxy settings to use a proxy, test the client’s System Proxy option before enabling TUN. Open System Settings → Network → your current Wi-Fi or Ethernet service → Details → Proxies to check the configured address and port. Test TUN separately with an app that doesn’t use the system proxy.

Keychain prompts: distinguish credential access from unlocking the Keychain

A prompt to access an item usually names the requesting process, the item, and whether it’s in the “login” Keychain. If it appears while you’re updating a subscription, saving credentials, or migrating a configuration—and the process and item match that action—you can choose “Allow” to approve this read. If the item name isn’t recognizable or the request appears unexpectedly, choose “Deny” or “Cancel,” then check what the client is doing.

  • Prompt to unlock the “login” Keychain: Enter the Keychain password, not your subscription password. It’s usually the same as your Mac login password, but an older Keychain may still use your previous password if you’ve reset your login password.
  • Prompt appears every time you launch: First, check Applications to make sure you’re using the intended version. Then open Keychain Access with Spotlight and search for the full item name shown in the prompt. Check whether the request always comes from the same process and targets the same item. After switching clients or helper processes, the existing item’s access permission may no longer apply.
  • Before choosing “Always Allow”: Use it only for a program and item you’ve verified. Don’t change the item to allow access from all apps just to stop the prompt, and don’t reset the default Keychain while troubleshooting; doing so may make passwords saved in the old Keychain unavailable.

Helper tool installation: verify the helper before enabling TUN

Some clients call the option to install a privileged helper “Service Mode.” Depending on the client, the helper can create a virtual network interface or configure system routes. This is separate from Accessibility permissions in Privacy & Security. A request for administrator authentication to enable Service Mode does not mean the client needs to view your screen or control other apps.

  1. Turn off TUN and quit the old client, then open the version you want to use from Applications. In the client settings, find Service Mode or Helper Service and check whether it’s not installed, installed, or needs an update. The option’s name may vary by version; refer to the client’s interface and documentation.
  2. After you start an installation or update, check the app or tool name shown in the macOS authentication dialog. Proceed only if it matches the action you just initiated, then authenticate as prompted. If the client says a background item is disabled, check System Settings → General → Login Items → Allow in the Background on macOS 13 or 14, or Login Items & Extensions on macOS 15.
  3. Return to the client and check the helper’s status before enabling TUN. If it repeatedly asks to reinstall after an update, check the logs for a helper version mismatch. If reinstallation is needed, use the client’s own uninstall and install options rather than manually deleting system service files.

Still offline after approval? Test the proxy and TUN separately

Test the local proxy port and rule matching

Turn off TUN first. If the active configuration uses mixed-port: 7890, use a terminal to send one HTTPS request explicitly through that local proxy port. 7890 is an example; if the client overrides the port, use the value shown in its running interface. You can substitute a site you know is reachable and that matches your current rules.

curl --proxy http://127.0.0.1:7890 --connect-timeout 5 --max-time 15 -I https://example.com/

If the connection is refused, first check that the core is running and that the address and port are correct. If you get an HTTP response, check the client’s connection log to see which rule matched and which policy group handled the request. A DIRECT match means the request reached the local proxy; it doesn’t prove that a remote node is working. A result from a request with --proxy specified also doesn’t prove that the system proxy was configured.

Test whether TUN handles regular connections

Turn off the system proxy, then enable TUN on its own. If your client uses mihomo and supports these fields, check tun.enable and tun.auto-route in the active configuration—not just in unapplied YAML. Use the request below without specifying a proxy, and check the client’s connection log and logs.

curl --noproxy '*' --connect-timeout 5 --max-time 15 -I https://example.com/

If the page loads but the request doesn’t appear in the connection log, first check that the log isn’t filtered, then inspect route exclusions; the request may have bypassed the client and used your regular network. If the request fails, use the logs to distinguish a virtual interface creation failure from a routing or DNS failure. If another VPN is connected, disconnect VPNs one at a time and retest, provided your device policy allows it. Record your macOS and client versions, the mode enabled, and the first error; this is more useful than repeatedly approving prompts. Remove subscription links, tokens, account details, and other sensitive information before sharing logs.

Download Clash