review
Pass
Audited by Gen Agent Trust Hub on Jul 7, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes local shell commands and a Python script to interact with the git version control system.
- Evidence:
SKILL.mdcontains a dynamic context injection (!) that runsgit diff --statto provide immediate context on file changes when the skill is loaded. - Evidence: The skill instructs the agent to execute
python3 ${CLAUDE_SKILL_DIR}/scripts/diff-analyzer.py [base_branch]to categorize changes and scan for secrets. - Subprocess Safety: The
scripts/diff-analyzer.pyscript usessubprocess.run()with argument lists (rather than shell strings) for git commands likerev-parseanddiff. This follows security best practices by preventing shell injection even if a malicious branch name were provided as an argument. - [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection because it processes untrusted data (git diffs and file contents) which could contain adversarial instructions.
- Ingestion points: Git diff output and file contents read via the
Readtool inSKILL.mdandscripts/diff-analyzer.py. - Boundary markers: The skill uses Markdown sections to structure its workflow, but does not provide explicit instructions to the agent to disregard instructions embedded within the code changes being reviewed.
- Capability inventory: The agent has access to
Read,Grep,Glob, andBashtools as defined in the frontmatter. - Sanitization: No explicit sanitization or filtering of external code content is performed before the agent analyzes it, although the Python script performs regex-based scanning for secrets.
Audit Metadata