review-pr
Fail
Audited by Gen Agent Trust Hub on Aug 20, 2026
Risk Level: HIGHCOMMAND_EXECUTIONDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses dynamic context injection in
SKILL.mdthat interpolates the$ARGUMENTSvariable directly into a shell command (gh pr view "$ARGUMENTS"). This presents a high risk of command injection if the user-supplied input contains shell metacharacters. - [DATA_EXFILTRATION]: The skill automatically executes
gh auth statuswithin its dynamic context inSKILL.md. This silently reveals authentication status and account information every time the skill is loaded, which could be exploited to harvest environment metadata. - [PROMPT_INJECTION]: The skill contains a significant indirect prompt injection attack surface as it processes untrusted data from external sources.
- Ingestion points: The agent reads pull request diffs via
gh pr diff, reviewer comments viagh api ... comments, and CI logs viagh run view --log-failedas specified inSKILL.mdandreferences/review-loop.md. - Boundary markers: While prompt templates use structured headers like
Context:andComments to evaluate:, they lack explicit instructions or strict delimiters to prevent the agent from following malicious instructions embedded within the ingested data. - Capability inventory: The skill has extensive permissions, including the ability to write code (
git commit), update repository state (git push), edit pull request details (gh pr edit), and perform final merges (gh pr merge). - Sanitization: No input sanitization or validation is performed on the PR diffs or comments before they are passed to the triage and review sub-agents.
- [COMMAND_EXECUTION]: The skill is configured to perform autonomous repository actions, specifically the automatic merging of pull requests in Phase 5 of
SKILL.mdandreferences/closeout.md. The instructions explicitly command the agent to never ask for user confirmation, which removes human oversight from sensitive write operations.
Recommendations
- AI detected serious security threats
Audit Metadata