stack-merge
Pass
Audited by Gen Agent Trust Hub on Sep 18, 2026
Risk Level: SAFECOMMAND_EXECUTIONPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill relies on
git,gh(GitHub CLI), andgt(Graphite CLI) to automate branch management, PR synchronization, and pushing changes. These commands are executed locally to perform the defined stack-merge workflow. - [PRIVILEGE_ESCALATION]: The skill uses administrative bypass capabilities for repository branch protection to enable fast-forward pushes to the
mainbranch. It performs explicit read-only checks (inscripts/validate.sh) of the user's repository permissions and the branch's protection status to ensure the operation is authorized and safe to perform. - [INDIRECT_PROMPT_INJECTION]: The skill processes external inputs such as branch names, commit messages, and pull request metadata.
- Ingestion points: Data is ingested via
gh pr view,gh pr list, andgt lscommands. - Boundary markers: While the skill defines distinct operational phases, it does not use explicit boundary delimiters for the interpolated branch data.
- Capability inventory: The skill can perform force-pushes, update the
mainbranch, and close pull requests. - Sanitization: Shell scripts use secure argument handling and quoting (e.g., using shell arrays for branch lists) to mitigate command injection risks from external data like branch names.
- [DYNAMIC_EXECUTION]: The skill utilizes
python3 -cfor parsing JSON output from the GitHub CLI. This execution is limited to a static, localized command for data formatting and does not incorporate untrusted code or remote payloads.
Audit Metadata