comprehensive-review-pr-enhance
Pass
Audited by Gen Agent Trust Hub on Oct 27, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill's implementation playbook contains Python code (
PRAnalyzerclass) that usessubprocess.runto execute localgitcommands such asgit rev-parseandgit diff. These are used to identify changed files and calculate line statistics. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data in the form of git diffs to generate summaries and review checklists. A malicious actor could include specific strings in code comments or diffs designed to manipulate the generated PR description or bypass the review checklist logic.
- Ingestion points: Git diff output is ingested via the
analyze_changesmethod inresources/implementation-playbook.mdand the manual workflow inSKILL.md. - Boundary markers: The PR Description Template in
SKILL.mduses markdown headers but lacks explicit 'ignore' instructions for the content of the diffs themselves. - Capability inventory: The skill uses
subprocess.runto interact with the local filesystem's git repository and generates structured text based on file contents. - Sanitization: No explicit sanitization or filtering of diff content is implemented before it is processed by the AI for summary generation.
- [METADATA_POISONING]: The YAML frontmatter in
SKILL.mdincludes a fieldrisk: critical. While this might be a platform-specific classification or a self-reported tag, it is a significant metadata claim that does not appear to reflect the actual functional risk of the skill's logic.
Audit Metadata