implement-review-pr

Pass

Audited by Gen Agent Trust Hub on Nov 15, 2026

Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill executes multiple shell commands using the GitHub CLI (gh) to view PRs, diffs, issues, and checks. It also performs write operations like posting reviews and commenting on issues.
  • Evidence: Commands such as gh pr view, gh pr diff, gh pr checks, gh pr review, gh issue comment, and gh issue list are present in SKILL.md.
  • Sanitization: The skill explicitly instructs the agent to use variable quoting ("${var}") and HEREDOC (<<'EOF') to prevent command injection, demonstrating a strong security posture regarding shell safety.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from GitHub PRs (code diffs, titles, and body content) and Issue descriptions, which can be controlled by external contributors.
  • Ingestion points: Untrusted content enters the agent's context via gh pr view, gh pr diff, and gh issue view as specified in SKILL.md (Step 1).
  • Boundary markers: The skill does not explicitly define delimiters or "ignore previous instructions" warnings when passing this data to sub-agents or processing it internally (Steps 4 and 5).
  • Capability inventory: The agent has write capabilities including posting PR reviews (gh pr review), commenting on issues (gh issue comment), and creating new issues.
  • Sanitization: While shell-level sanitization is present, there is no explicit sanitization for natural language instructions that might be embedded in the PR data (e.g., a contributor placing instructions in a code comment to trick the reviewer into approving).
  • [AUTONOMY_CONCEALMENT]: The skill includes instructions to seek explicit user confirmation before performing write operations (Step 7), which acts as a critical security control to prevent automated abuse.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 15, 2026, 12:05 AM