pr-review
Pass
Audited by Gen Agent Trust Hub on Sep 16, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- Indirect Prompt Injection Surface: The skill ingests untrusted repository data (diffs and file contents) as part of its core review functionality.
- Ingestion points: The
collect-diff.ps1script gathers information fromgit diffand reads untracked file contents usingGet-Content, which are then passed into sub-agent prompts defined inSKILL.md. - Boundary markers: The skill uses structured templates to separate orchestrator instructions from the ingested diff content, although it lacks explicit delimiters or escaping for the code content.
- Capability inventory: The orchestrator utilizes the platform's
tasktool to delegate analysis to specialized sub-agents and reports the consolidated results tostdout. - Sanitization: There is no explicit sanitization of the reviewed code content. A malicious actor could attempt to embed instructions within a Pull Request (e.g., in code comments or documentation) designed to influence the sub-agents into providing a biased or incorrect review.
- Local Command Execution: The skill executes a bundled PowerShell script to interact with the local git environment.
- Pattern:
SKILL.mdinvokespwsh -NoProfile -File .github/skills/pr-review/collect-diff.ps1. - Context: This script is a local component of the skill designed to provide a deterministic capture of the diff. It operates within the repository's scope and respects standard
.gitignorerules when identifying untracked files, reducing the risk of accidental exposure of sensitive local files.
Audit Metadata