pr-tour
Pass
Audited by Gen Agent Trust Hub on Nov 3, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from pull request descriptions, commit messages, and source code contents which could contain malicious instructions designed to influence the agent's summary or tour generation.
- Ingestion points: PR metadata and file contents are fetched in
scripts/build.mjsandscripts/lib.mjsusingghandgitcommands. - Boundary markers: The instructions in
SKILL.mdadvise the agent to never invent intent and to use verbatim quotes, providing behavioral constraints to mitigate obedience to embedded instructions. - Capability inventory: The skill utilizes
execFileSyncacross its scripts to executegitandghCLI tools. - Sanitization: The
scripts/annotate.mjsscript provides a robust validation layer, ensuring that model-generated quotes are verbatim and that line pointers are accurate. It also explicitly forbids phrases that provide a security or merge verdict (e.g., 'LGTM', 'is safe'). Additionally,scripts/render.mjsperforms HTML escaping for the final viewer output. - [COMMAND_EXECUTION]: The skill scripts (
scripts/lib.mjs,scripts/build.mjs,scripts/tour.mjs) usenode:child_process.execFileSyncto interact with system tools likegitandghand to trigger sub-processes like the report renderer. While standard for this use case, these operations represent a capability surface for executing CLI commands based on the environment and PR context.
Audit Metadata