release-cleanup
Pass
Audited by Gen Agent Trust Hub on Jun 15, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes potentially destructive commands such as
git branch -D,git push origin --delete, andgit worktree remove. These operations are central to the skill's primary purpose of repository maintenance. Safety is maintained through a mandatory 'Merge Oracle' verification phase that prevents the deletion of unmerged or stranded work, and a requirement for explicit user confirmation before any deletions occur. - [INDIRECT_PROMPT_INJECTION]: The skill processes external data that could be controlled by a malicious actor, such as branch names or PR titles.
- Ingestion points: Data enters via
git branchlistings andgh pr listJSON output inSKILL.md(Phase 1 and 2). - Boundary markers: There are no explicit text delimiters wrapping the branch data, though the logic is confined to Bash script blocks.
- Capability inventory: The agent has the ability to delete local/remote branches and modify the file system via worktree removal.
- Sanitization: The skill employs best practices for shell scripting, including using
jq --argfor safe JSON injection and wrapping shell variables in double quotes (e.g.,"$b") to prevent word splitting or command injection from malformed branch names. - [DATA_EXFILTRATION]: While the skill accesses sensitive metadata via
gh auth statusandgh pr list, there is no evidence of data being sent to external or untrusted domains. All network activity is restricted to standard Git and GitHub CLI operations.
Audit Metadata