github-pr-review

Pass

Audited by Gen Agent Trust Hub on Sep 25, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The skill implementation follows security best practices for handling untrusted external data and sensitive credentials.
  • [DATA_EXFILTRATION]: The skill prevents accidental credential leakage by using a sanitize_stream function in its shell scripts. This utility redacts Authorization headers, personal access tokens (PATs), and GitHub-specific tokens from all captured command output and error logs before they are saved or processed.
  • [PRIVILEGE_ESCALATION]: PR context and metadata are stored in private temporary directories created with restricted permissions (umask 077 and chmod 700). This prevents other local users from accessing sensitive code diffs or PR details.
  • [INDIRECT_PROMPT_INJECTION]: The skill is designed to handle untrusted PR content safely.
  • Ingestion points: PR titles, bodies, diffs, and comments collected via gh CLI in collect_pr_context.sh.
  • Boundary markers: Explicit 'Untrusted Content Boundary' instructions in SKILL.md direct the agent to treat PR content as data for analysis rather than instructions.
  • Capability inventory: Uses standard gh and git commands for read/write operations.
  • Sanitization: Findings are anchored to the diff, and scripts redact tokens automatically.
  • [COMMAND_EXECUTION]: The workflow incorporates multiple authorization checkpoints. It validates the active GitHub account identity and verifies the target commit SHA before performing any mutation operations, ensuring that posted reviews are both authorized and current.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 25, 2026, 08:22 AM