code-review-bot

Pass

Audited by Gen Agent Trust Hub on Nov 4, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted pull request data, including titles, bodies, and code diffs. It implements strong mitigations such as forcing configuration to be read from the base branch (preventing PR authors from disabling the bot), explicitly instructing the agent to treat all input as data rather than instructions, and forbidding the execution of any code from the pull request. Findings are summarized below according to the mandatory evidence chain:
  • Ingestion points: Untrusted data enters via gh pr view and GitHub API calls for diffs, comments, and files (documented in SKILL.md).
  • Boundary markers: The skill uses <!-- ai-review --> markers for its own content and contains explicit rules in references/automation-contract.md to treat PR data solely as untrusted input.
  • Capability inventory: The skill can write review comments and check runs to GitHub via the gh CLI. It does not possess capabilities to execute shell commands or code derived from the PR content.
  • Sanitization: The skill explicitly requires redaction of secrets and tokens before publishing any output to GitHub.
  • [COMMAND_EXECUTION]: To perform its logic, the skill executes its own local Python scripts (assets/prepare_review.py and assets/validate_review_report.py). These scripts are part of the skill's assets and are used for data validation and payload preparation without interacting with the network or executing user-provided code.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 4, 2026, 01:16 PM