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

code-review

Pass

Audited by Gen Agent Trust Hub on Oct 31, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted external data in the form of pull request diffs and branch code via gh pr diff and git diff. This creates a surface for indirect prompt injection where an attacker could embed instructions within a PR to influence the agent's review or subsequent actions.
  • Ingestion points: The agent reads diff content and surrounding code context using gh pr view, gh pr diff, and git diff (as specified in SKILL.md under Decision Gates and Execution Steps).
  • Boundary markers: The skill lacks explicit instructions for the agent to ignore or delimit instructions found within the code diffs it is reviewing.
  • Capability inventory: The skill uses gh api to post comments and reviews, and has access to git and gh CLI tools. However, it explicitly forbids merging (gh pr merge) or running tests/linters (npm test, pytest, etc.) in its 'Hard Rules'.
  • Sanitization: No explicit sanitization or filtering of the diff content is mentioned before the agent processes it for classification and review.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 31, 2026, 08:22 PM