watch-pr
Pass
Audited by Gen Agent Trust Hub on Oct 11, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted strings from external GitHub pull request check names and URLs, creating a surface for indirect prompt injection.\n
- Ingestion points: The
scripts/watch-checks.shscript fetches check data via thegh pr checkscommand.\n - Boundary markers: No explicit delimiters or instructions are provided to the agent to ignore potentially malicious content within the job names or links reported.\n
- Capability inventory: The agent has broad execution capabilities via the
MonitorandBashtools, which could be abused if an injected instruction is followed.\n - Sanitization: While the script uses
jqfor JSON parsing, the resulting output interpolated into the agent's context (job names and links) is not escaped or sanitized.\n- [COMMAND_EXECUTION]: The skill executes local bash scripts and utilizes standard command-line utilities likeghandjqto monitor pull request status.\n - Evidence: Execution of
scripts/watch-checks.shandscripts/guard-watch.shwithin theBashandMonitortools.\n - Hardening: Both scripts implement environment hardening by pinning
LC_ALL=Cand unsetting variables that could silently retarget commands, such asGH_REPO,GH_HOST, andCDPATH.
Audit Metadata