pre-push-review

Pass

Audited by Gen Agent Trust Hub on Nov 17, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from the repository's git diff and provides it as context to a subagent for automated code review, creating a potential injection surface.
  • Ingestion points: Raw output from git diff "origin/$BASE...HEAD" is processed in Step 1 and passed to a subagent in Step 3.
  • Boundary markers: The skill lacks explicit delimiters or instructions to the subagent to disregard natural language commands that might be embedded within the code diff.
  • Capability inventory: The agent has the ability to execute local shell commands via npm, perform git push operations, and modify pull requests using the gh CLI tool.
  • Sanitization: There is no evidence of sanitization or filtering applied to the diff content before it is interpolated into the prompt for the review subagent.
  • [COMMAND_EXECUTION]: The skill automates several local development and repository management tasks through direct shell commands.
  • Evidence: Instructions include running npm run preflight, npm test, git fetch, git push, and gh pr edit.
  • Evidence: Uses command grep to perform local string analysis on diffs, specifically including patterns designed to detect and prevent the accidental commit of hardcoded credentials (e.g., api_key, secret, token).
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 17, 2026, 08:33 PM