Handling permissions to run a bash script
AppleScript
Wrap the shell script in a do shell script AppleScript command:
do shell script &quot;say \&quot;hello world\&quot;&quot;

If your script needs administrator rights, append with administrator privileges to the command:
do shell script &quot;say \&quot;goodbye moon\&quot;&quot; with administrator privileges

Using Script Editor.app in /Applications/Utilities, you can save the AppleScript as a .applescript text file that will launch in Script Editor on the host computer.
The end user will need to select the menu item:

Script (menu) &gt; Run

Alternatively, you can Export as an Application and code sign the resulting application. This assumes you have a code signing certificate available.

Automator
An Automator workflow can also include shell scripts and AppleScripts. Automator can also save as an application, with the Export… menu item also prompting to code sign the result for you.