release-mac-app
Pass
Audited by Gen Agent Trust Hub on Oct 26, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The
mac_release_expandfunction inscripts/lib/mac_release.shusesevalto process variables from the.mac-release.envmanifest (e.g.,APP_ZIP,FEED_URL). This permits shell command substitution (e.g.,$(command)) if the manifest file contains malicious content. - [INDIRECT_PROMPT_INJECTION]: The skill ingests configuration and release notes from repository-owned files such as
.mac-release.envandCHANGELOG.md. This represents a vulnerability surface where a compromised or untrusted repository could trigger arbitrary command execution through theevalvector or by defining a malicious build command. - [COMMAND_EXECUTION]: The script executes a build command specified in the
MAC_RELEASE_PACKAGE_CMDmanifest variable. While this is the intended primary purpose of the skill, it allows the repository to dictate the commands executed by the agent. - [DYNAMIC_EXECUTION]: The 1Password integration (
mac_release_load_1password_env) dynamically generates and executes temporary Bash and Node.js scripts in/tmpto handle credential parsing and retrieval. - [SAFE]: The skill implements significant security hardening at its entry point (
scripts/mac-release), including the use ofbash -p(privileged mode) to ignoreBASH_ENVand other startup hooks, environment scrubbing to remove exported functions, and unsetting potentially dangerous shell variables likeCDPATHandGLOBIGNORE. - [SAFE]: Sensitive data such as 1Password service tokens and private keys are handled with restrictive file permissions (
umask 077,chmod 600) and are kept out of the process tree through the use of temporary files and isolatedtmuxsessions.
Audit Metadata