AppleScript Access Groups

Brave for Mac supports various AppleScript commands for manipulating the current state of open tabs, such as redirecting the current website URL’s based on a precondition, which is great for automation opportunities including configurable website block/allow lists.

Executing AppleScript scripts as the current user works as intended, but executing them in a Mac sandbox environment, e.g. within a downloaded Mac app, is not possible without specifying a “temporary exception” for Brave, which can be a privacy concern since various other AS browser-based commands can be executed without user-knowledge.

Alternatively, it’d be fantastic if Brave could add support for “access groups” to explicitly perform particular scripting tasks like URL-redirecting, avoiding the need to declare temporary exceptions, and allow apps to opt-in on scripting capabilities on a case-by-case basis.