pr-comment-resolution
Pass
Audited by Gen Agent Trust Hub on Oct 22, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process GitHub pull request comments and review threads, which are provided by external users and are therefore untrusted data sources.
- Ingestion points: The script
scripts/collect_pr_feedback.pyretrievesreview_threadsandissue_commentsvia the GitHub API and passes them to the agent for auditing. - Boundary markers: The skill attempts to separate feedback from analysis by using blockquotes for reviewer comments and a formal classification rubric. However, these are instructional boundaries and do not technically sanitize the input against sophisticated prompt injection attacks targeting the LLM.
- Capability inventory: The agent is authorized to modify the local filesystem (Step 4: Implement approved fixes) and execute GitHub CLI commands to post replies or resolve threads (Step 5: Reply and resolve after push).
- Sanitization: There is no evidence of filtering or sanitization of the comment body text to prevent it from containing hidden instructions that could override the agent's logic during the audit or implementation phases.
- [COMMAND_EXECUTION]: The scripts
collect_pr_feedback.pyandapply_resolution_actions.pyinvoke external CLI tools (ghandgit) using thesubprocessmodule. - The commands are constructed using data derived from the pull request (e.g., repository names, PR numbers, and comment IDs).
- The scripts use list-based arguments for
subprocess.runwithoutshell=True, which prevents traditional shell injection; however, the agent still performs automated command execution based on external data.
Audit Metadata