pr-review-comments
Pass
Audited by Gen Agent Trust Hub on Jun 22, 2026
Risk Level: SAFEPROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/post_pr_comments.pyusessubprocess.runto execute the GitHub CLI (gh) for repository detection and API interactions. It properly passes arguments as a list, which avoids shell interpretation and mitigates common command injection vulnerabilities. - [PROMPT_INJECTION]: The skill exhibits an indirect prompt injection surface because it ingests data from an external JSON file and interpolates its content into GitHub Pull Request comments without sanitization or boundary markers.
- Ingestion points: The
--jsonfile read and parsed byscripts/post_pr_comments.py. - Boundary markers: None; the script does not wrap untrusted content in delimiters or include instructions to the model to ignore embedded commands.
- Capability inventory: The script possesses the capability to write data to GitHub (creating reviews and comments) via the
gh apitool inscripts/post_pr_comments.py. - Sanitization: None; values for
body,summary, andfailure_scenarioare extracted directly from the JSON and posted as-is.
Audit Metadata