gh-fix-ci
Pass
Audited by Gen Agent Trust Hub on Jul 15, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
inspect_pr_checks.pyscript facilitates interaction with GitHub and Git viasubprocess.runcalls. These operations are executed using list-based arguments (e.g.,['gh', 'pr', 'view', ...]) rather than raw shell strings, which mitigates the risk of shell command injection. - [PROMPT_INJECTION]: As the skill processes untrusted data from GitHub PR comments and CI logs, it presents a potential surface for indirect prompt injection.
- Ingestion points: The
inspect_pr_checks.pyscript fetches review thread contents, PR comments, and GitHub Action logs using theghCLI tool. - Boundary markers: The
SKILL.mdinstructions enforce a rigid 'Diagnosis Report' structure and 'Progress' template to guide the agent's output and minimize unintended instruction following. - Capability inventory: The skill has the capability to modify repository content, push commits, resolve PR review threads, and post PR comments via the
ghCLI and the bundled script. - Sanitization: PR numbers are validated using regular expressions, and GraphQL mutations are performed using variable binding through the
gh api -fflag to prevent query injection. - [SAFE]: The skill requires the user to provide an environment where the GitHub CLI (
gh) is authenticated withworkflowandreposcopes. While these permissions are extensive, they are necessary for the skill's primary function of fixing CI failures and managing PR threads.
Audit Metadata