second-opinion
Warn
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATION
Full Analysis
- [COMMAND_EXECUTION]: The skill dynamically constructs shell commands using user-provided inputs like branch names and commit SHAs (e.g.,
git diff <branch>...HEADandgit diff <sha>~1..<sha>). If the agent interpolates these strings directly into theBashtool without validation, it could lead to command injection. Additionally, it modifies the environmentPATHat runtime to locate binaries. - [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from the local repository, specifically the output of
git diffcommands and project configuration files (CLAUDE.md,AGENTS.md). This content is included in prompts sent to external LLMs, exposing the review process to potential injection from the codebase. - Ingestion points: Git diff output and project files (
CLAUDE.md,AGENTS.md). - Boundary markers: The prompt assembly uses
---delimiters to separate instructions from code. - Capability inventory: The skill utilizes the
Bashtool to rungit,codex, andagycommands. - Sanitization: The
agycommand uses the--disable-slash-commandsflag to prevent interpretation of lines as CLI commands, but the diff content is not otherwise sanitized. - [EXTERNAL_DOWNLOADS]: The skill provides instructions for installing external review tools from trusted organizations, such as OpenAI's
@openai/codexvianpmand Google'sagyCLI from an official domain. - [DATA_EXFILTRATION]: To perform its primary function, the skill reads repository diffs and project documentation and transmits them to external LLM providers (OpenAI and Google). Users should be aware that their source code is being sent to these third-party APIs.
Audit Metadata