code-review
Warn
Audited by Gen Agent Trust Hub on Jun 22, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONREMOTE_CODE_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill's instructions involve interpolating the
$ARGUMENTSvariable directly into shell commands such asgh pr diff $ARGUMENTS,gh pr view $ARGUMENTS, andgh pr checks $ARGUMENTS. This represents a command injection vulnerability where a user could provide a malicious string (e.g.,; rm -rf /) to execute arbitrary commands. - [REMOTE_CODE_EXECUTION]: The instructions require the agent to run
npm run lintandnpm run test. These commands execute scripts defined in thepackage.jsonfile of the repository being reviewed. If the skill is used to review code from an untrusted source or a malicious pull request, those scripts could contain arbitrary code that executes on the runner. - [PROMPT_INJECTION]: The skill has a significant indirect prompt injection surface.
- Ingestion points: The agent reads untrusted data from
gh pr diffandgh pr viewoutput, as well as the full content of changed files (SKILL.md). - Boundary markers: The instructions lack any boundary markers or warnings to the agent to ignore instructions embedded within the code being reviewed.
- Capability inventory: The skill uses high-privilege tools including
gh(with API access),git, andnpm(SKILL.md). - Sanitization: There is no sanitization or escaping of the diff content or PR metadata before it is processed by the agent.
Audit Metadata