gh-address-comments
Pass
Audited by Gen Agent Trust Hub on Nov 23, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill's core functionality relies on executing the
gh(GitHub CLI) tool via shell commands within a Python script. - Evidence: The script
scripts/fetch_comments.pyusessubprocess.runwith a list of arguments to invokegh auth status,gh pr view, andgh api graphql. - [INDIRECT_PROMPT_INJECTION]: The skill fetches and processes untrusted data (GitHub PR comments) and provides the agent with the capability to modify the codebase ("Apply fixes") based on those comments, which represents an indirect prompt injection attack surface.
- Ingestion points:
scripts/fetch_comments.pyretrieves comments, reviews, and review threads from external GitHub PRs. - Boundary markers: Absent. The instructions in
SKILL.mddo not include delimiters or warnings to ignore malicious instructions embedded within the fetched comments. - Capability inventory: The agent is tasked with summarizing and applying code fixes, implying write access to the local filesystem and the ability to run build/test tools.
- Sanitization: None. The script directly parses and outputs JSON content from the API without filtering potentially malicious instruction patterns.
Audit Metadata