security-review
Warn
Audited by Gen Agent Trust Hub on Apr 26, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill utilizes dynamic context injection (the
!syntax) withinSKILL.mdto execute git commands such asgit status,git diff, andgit logautomatically when the skill is loaded. While these specific commands are typically benign for project context gathering, they represent a mechanism for silent command execution. - [COMMAND_EXECUTION]: In Phase 1.5 of the methodology, the skill instructs the agent to search for and execute a shell script named
security-scan.shfrom the repository's local file system. Executing scripts from an untrusted or newly cloned repository—especially one being reviewed for potential vulnerabilities—presents a risk of command execution if the script is malicious or has been tampered with. - [PROMPT_INJECTION]: Indirect prompt injection surface detected. Ingestion points:
git diffcontent,trivy-*.jsondependency scan results, andgitleaks.jsonsecret detection reports. Boundary markers: No specific delimiters or instructions to ignore embedded commands are defined for the ingested content. Capability inventory: File writing, directory creation (mkdir -p), GitHub PR commenting (gh pr comment), and execution of local shell scripts. Sanitization: The skill lacks explicit sanitization or validation of external data before it is interpolated into prompts. This allows malicious code or comments in a PR to potentially influence the reviewer's output or trigger unauthorized tool actions.
Audit Metadata