gh-stack
Pass
Audited by Gen Agent Trust Hub on Nov 19, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill instructs the agent to use the
ghCLI and thegh-stackextension to execute various commands such asrebase,push,submit, andlinkto manage Git branch stacks and Pull Requests. - [INDIRECT_PROMPT_INJECTION]: The skill represents a potential surface for indirect prompt injection because it ingests and processes untrusted data from GitHub PRs and branches.
- Ingestion points: The skill reads PR metadata and stack state from GitHub using the
gh stack view --jsoncommand (SKILL.md). - Boundary markers: No explicit delimiters or instructions to ignore embedded commands within the PR data are provided.
- Capability inventory: The skill possesses significant capabilities, including pushing code to remote branches and merging pull requests via direct GitHub API calls (
PUT pulls/<number>/merge-async). - Sanitization: There is no evidence of sanitization or validation of the content retrieved from GitHub PRs before it is used by the agent to determine its next steps.
Audit Metadata