pr-comment
Pass
Audited by Gen Agent Trust Hub on Jul 12, 2026
Risk Level: SAFEPROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection. It retrieves and processes untrusted content from GitHub PR comments using the
ghAPI. While the instructions advise the agent not to blindly accept the comment's claims, the lack of boundary markers or explicit isolation instructions means a malicious comment could potentially manipulate the agent's behavior when it uses tools likeBashorWriteto implement fixes. - Ingestion points: Comment bodies fetched from the GitHub API via
gh api. - Boundary markers: Absent in the skill instructions.
- Capability inventory:
Bash,Write,Read,Glob,Grep, andAskUserQuestion. - Sanitization: No sanitization or validation of the fetched comment content is performed before processing.
- [COMMAND_EXECUTION]: The skill instructions direct the agent to extract information from user-provided URLs to build shell commands for the
ghCLI. This involves a risk of command injection if the agent incorrectly handles a URL containing shell metacharacters during the extraction and command construction process. - [EXTERNAL_DOWNLOADS]: The skill fetches data from GitHub's official API to retrieve PR comments and thread history. This behavior is documented neutrally as it targets a well-known service and is fundamental to the skill's stated purpose.
Audit Metadata