gh-pr-review-posting
Pass
Audited by Gen Agent Trust Hub on Apr 9, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill utilizes local bash scripts located in the
scripts/directory to interface with the GitHub CLI (gh) andjq. These scripts are used to construct review payloads, post reviews, and manage inline comments. Arguments such as repository names and PR numbers are passed to these scripts during the workflow. - [EXTERNAL_DOWNLOADS]: The skill makes network requests to the official GitHub API via the
gh apicommand. This interaction is intended for legitimate pull request management and targets a well-known service. - [SAFE]: The implementation follows several best practices. It uses
jqwith the--argflag to safely handle JSON construction, preventing injection in the payload. Additionally, the script for deleting comments usesgrepto ensure only numeric IDs are processed, which mitigates potential shell injection through those specific inputs. The use of the/tmpdirectory for staging payloads provides transparency, allowing the user or agent to inspect data before execution.
Audit Metadata