skills/mai0313/skills/code-review/Gen Agent Trust Hub

code-review

Pass

Audited by Gen Agent Trust Hub on Sep 30, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from the repository and user inputs as part of its primary function.
  • Ingestion points: The Custom target option in SKILL.md allows for arbitrary user-provided instructions. The subagent also ingests the full content of repository files and diffs being reviewed.
  • Boundary markers: The instructions lack explicit boundary markers or directives for the subagent to ignore embedded instructions within the source code or the user's custom review prompt.
  • Capability inventory: The skill is granted read access to the local filesystem (including CLAUDE.md, AGENTS.md, and repo source) and executes read-only git commands via the shell.
  • Sanitization: There is no evidence of sanitization or escaping applied to the repository content or user-supplied instructions before they are incorporated into the subagent's prompt.
  • [DYNAMIC_EXECUTION]: The skill instructs the orchestrating agent to build and execute shell commands using variables derived from user requests.
  • Evidence: SKILL.md describes command patterns such as git rev-list --left-right --count '<branch>...<branch>@{upstream}' and git diff <sha>, where <branch> and <sha> are placeholders for user input.
  • Risk: This pattern introduces a command injection surface. If a user provides a branch name or commit identifier containing shell metacharacters, it could lead to the execution of unintended commands if the host environment does not perform strict input validation or escaping.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 30, 2026, 12:49 PM