watch-pr
Pass
Audited by Gen Agent Trust Hub on Jul 8, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- Command Execution: The skill executes several shell commands and local scripts (e.g.,
ci-wait.sh,lint.sh,test.sh) located in the.claude/hooks/directory. While this is standard for CI/CD automation, it assumes the local repository environment is trusted, as these scripts are executed with the agent's permissions. - Indirect Prompt Injection Surface: The skill ingests untrusted data from external sources, specifically CI failure logs and GitHub PR comments/reviews from the
greptile-apps[bot]. - Ingestion points: Data enters the context via
gh run view --log-failedandgh apicalls for review bodies and comments inSKILL.md. - Boundary markers: The skill does not use explicit delimiters or specific instructions to ignore embedded prompts within the ingested data.
- Capability inventory: The agent has permissions for file modification (
Edit,Write), command execution (Bash), and network interaction (git push,gh apireplies). - Sanitization: The skill includes a logic check to compare suggested changes against
PRINCIPLES.mdandINVARIANTS.md, and it utilizes theAskUserQuestiontool to require human approval before committing review-based changes, which serves as a significant mitigation. - Automated Git Operations: The skill performs automated
git commitandgit pushoperations. The use of a human-approval checkpoint before these actions is a recommended practice to prevent unintended code changes.
Audit Metadata