read-only-gh-pr-review
Pass
Audited by Gen Agent Trust Hub on Mar 9, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses local shell commands and the GitHub CLI (
gh) to perform repository analysis. This is documented as the primary purpose of the skill. To mitigate risk, the skill implements a multi-layered security wrapper inscripts/activate-gh-readonly.shandscripts/gh-readonly.sh. This wrapper intercepts calls to theghbinary, shadows shell builtins likecommandandenvto prevent bypasses, and enforces a strict allowlist of read-only subcommands (e.g.,pr view,pr diff,apiGET requests to specific endpoints). The skill also includes a test suite (scripts/test-readonly.sh) to verify these protections.
Audit Metadata