suggest-pr-reviewers
Pass
Audited by Gen Agent Trust Hub on Sep 18, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
scripts/reviewersandtests/backtestscripts execute external binariesgitandgh(GitHub CLI) viasubprocess.runto interact with the repository history, configuration, and the GitHub GraphQL API. - [DYNAMIC_EXECUTION]: The
tests/backtestscript usesimportlib.machinery.SourceFileLoaderto dynamically load and execute thereviewersscript from a file path that can be provided as a command-line argument (--script). - [DYNAMIC_EXECUTION]: The
tests/test_reviewers.pyscript generates a mock GitHub CLI tool at runtime by writing a Python source string (FAKE_GH) to a temporary file and executing it viasubprocessduring unit testing. - [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from the repository being analyzed, such as Git commit subjects and GitHub pull request metadata (titles, reviewer logins). This information is processed and displayed to the AI agent in a ranked table, creating a surface where a malicious contributor could attempt to influence the agent's behavior through crafted repository content.
- Ingestion points: Git log output (commit subjects, author names) and GitHub API responses (PR metadata).
- Boundary markers: The output is structured in a Markdown table, but it lacks explicit sanitization or escaping for the potentially adversarial content within individual cells.
- Capability inventory: The skill has the ability to read local files and execute shell-based tools like
gitandgh. - Sanitization: While the script filters for known bot accounts, it does not sanitize user-controlled strings like commit subjects before presenting them to the agent.
Audit Metadata