pi-delegate
Pass
Audited by Gen Agent Trust Hub on Oct 27, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The
relay.mjsscript executes thepiandgitcommand-line tools. On Windows systems,piis executed through a shell wrapper (shell:true) to resolve the.cmdshim. - [INDIRECT_PROMPT_INJECTION]: The
piagent is designed to automatically ingest context files from the repository (such asAGENTS.mdorCLAUDE.md). This creates a surface where malicious instructions embedded in the codebase could influence the agent's behavior. - Ingestion points: Auto-loading of
AGENTS.mdandCLAUDE.mdfrom the workspace and parent directories. - Boundary markers: The skill emphasizes using task-specific briefs but does not implement delimiters for the auto-loaded context files.
- Capability inventory: The delegated agent (
pi) has the capability to modify the filesystem and execute shell commands with host permissions. - Sanitization: No sanitization is performed on the ingested repository content before it is processed by the agent.
- [EXTERNAL_DOWNLOADS]: The skill instructions require the manual installation of the
@earendil-works/pi-coding-agentpackage from the NPM registry. - [DYNAMIC_EXECUTION]: The
relay.mjsscript dynamically locates and executes a resolution script (lane.mjs) from a relative path if the--lanefeature is utilized.
Audit Metadata