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 in pi-run.mjs (using execSync) and land.sh (using bash -c).
  • [DYNAMIC_EXECUTION]: The skill constructs and executes shell commands at runtime. Specifically, pi-run.mjs runs verification logic against a baseline and worker-modified code, while land.sh runs 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.md instructions 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 execSync in pi-run.mjs, bash -c in land.sh, git worktree management, and background process launching via nohup in launch.sh and continue.sh.
  • Sanitization: No explicit sanitization or validation of the verification commands generated or executed.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 17, 2026, 06:18 PM