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
collectandintakesubcommands inscripts/review_pr.pyretrieve 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
gitfor repository operations (diff, show, fetch) and theteaCLI 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.pyexecutesgitandtea(Gitea CLI) commands usingsubprocess.run. - Evidence: Multiple calls to
subprocess.runinscripts/review_pr.pyinvoke 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