pr-triage
Pass
Audited by Gen Agent Trust Hub on Nov 3, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill executes
gitandgh(GitHub CLI) commands to fetch repository data, analyze pull request diffs, and manage a local cache. These operations are performed using Node.jsspawnSyncandexecFileSyncwithout shell interpolation, mitigating common command injection risks. - [INDIRECT_PROMPT_INJECTION]: The skill analyzes Pull Request descriptions, titles, and commit messages which originate from external contributors. These sources could potentially contain malicious instructions intended to manipulate the LLM's triage judgment.
- Ingestion points: The
scripts/build.mjsscript ingests the PRbody,title, andcommitsinto the agent's context. - Boundary markers: Instructions in
SKILL.mdexplicitly direct the agent to "Judge the change, not its size, title, or author" and provide a specific judge brief. - Capability inventory: The skill allows the agent to read file contents, search codebases via
grep, and generate reports, but restricts actions on GitHub to read-only. - Sanitization: The
scripts/annotate.mjsscript acts as a deterministic validator that checks every claim in the model-written notes against the actual diff and refuses any content containing merge approval keywords (e.g., "LGTM", "safe to merge"). - [EXTERNAL_DOWNLOADS]: The skill references and downloads resources from well-known and trusted services.
- Fonts: The
scripts/render.mjsscript links tohttps://fonts.googleapis.comto style the generated HTML reports. - Tooling: The
scripts/repos.mjsscript provides links to the officialhttps://git-scm.comandhttps://cli.github.comwebsites for dependency installation.
Audit Metadata