gh-address-comments
Pass
Audited by Gen Agent Trust Hub on Oct 6, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONPRIVILEGE_ESCALATION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes data from GitHub PR comments, which are external and could contain embedded instructions.
- Ingestion points: Data is fetched from the GitHub API in
scripts/fetch_comments.pyvia thegh api graphqlcommand. - Boundary markers: The instructions in
SKILL.mddo not specify delimiters or instructions to ignore potential commands embedded within PR comments. - Capability inventory: The skill is authorized in
SKILL.mdto 'Apply fixes', which involves code modifications andgh/gitcommand execution. - Sanitization: The script
scripts/fetch_comments.pyperforms no sanitization or validation of the comment content before the agent processes it. - [COMMAND_EXECUTION]: The skill relies on the GitHub CLI (
gh) to perform its functions. - Execution is managed in
scripts/fetch_comments.pyusingsubprocess.runwith list-based arguments, which is a standard security practice to mitigate injection risks. - [PRIVILEGE_ESCALATION]: The skill requests elevated permissions via
sandbox_permissions=require_escalatedinSKILL.mdto ensure theghCLI has sufficient access to authentication states and repository data.
Audit Metadata