pi-coordinator
Pass
Audited by Gen Agent Trust Hub on Oct 17, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes arbitrary shell commands provided via environment variables (
PI_VERIFY_CMD,PI_BASELINE_PREP,VERIFY_CMD) to perform project checks and environment setup. This occurs inpi-run.mjs(usingexecSync) andland.sh(usingbash -c). - [DYNAMIC_EXECUTION]: The skill constructs and executes shell commands at runtime. Specifically,
pi-run.mjsruns verification logic against a baseline and worker-modified code, whileland.shruns final verification before merging. - [INDIRECT_PROMPT_INJECTION]: The coordinator agent is instructed to read local files and project code to plan tasks and extract facts. This represents an attack surface where maliciously crafted files in the repository could influence the agent's planning or the commands it chooses to execute during verification.
- Ingestion points:
SKILL.mdinstructions to "Grep, run the codegraph or a script, read the code" to extract facts (Step 2). - Boundary markers: None identified for the coordinator's ingestion of project files; the worker prompts use delimiters but the coordinator's planning phase does not appear to have specific safety boundaries for untrusted code ingestion.
- Capability inventory: Shell command execution via
execSyncinpi-run.mjs,bash -cinland.sh,gitworktree management, and background process launching vianohupinlaunch.shandcontinue.sh. - Sanitization: No explicit sanitization or validation of the verification commands generated or executed.
Audit Metadata