review-pr

Pass

Audited by Gen Agent Trust Hub on Oct 3, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill fetches and processes data from Gitea Pull Requests, including titles, descriptions, and comments. This content is provided by external users and could contain malicious instructions aimed at influencing the AI agent's review process or triggering unintended actions.
  • Ingestion points: The collect and intake subcommands in scripts/review_pr.py retrieve and load PR metadata, discussion comments, and review history into the agent's context.
  • Boundary markers: The skill does not implement specific delimiters or safety instructions to separate untrusted PR content from the agent's core instructions.
  • Capability inventory: The skill uses git for repository operations (diff, show, fetch) and the tea CLI to interact with the Gitea API (lookup, submit reviews). It also writes to the local filesystem (review notes and temporary bundles).
  • Sanitization: The scripts perform basic validation for Git refs (checking for leading hyphens) but do not sanitize or filter natural language content from PR comments.
  • [COMMAND_EXECUTION]: The script scripts/review_pr.py executes git and tea (Gitea CLI) commands using subprocess.run.
  • Evidence: Multiple calls to subprocess.run in scripts/review_pr.py invoke binaries with arguments derived from PR metadata and user-supplied refs. While the script uses list-based arguments which mitigate shell injection, the integrity of these operations depends on the underlying tools' handling of specific arguments.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 3, 2026, 03:20 PM