pi-agent
Pass
Audited by Gen Agent Trust Hub on Oct 2, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The documentation recommends installing the Pi CLI and its extensions via npm and shell scripts from external sources like pi.dev and npmjs.org. Examples include
npm install -g @earendil-works/pi-coding-agentandpi install npm:pi-subagents. - [REMOTE_CODE_EXECUTION]: One reference document (overview.md) mentions a remote script execution pattern for installation:
curl -fsSL https://pi.dev/install.sh | sh. While this is a common installation method for developers, it involves executing untrusted code directly from a remote URL. - [COMMAND_EXECUTION]: The skill documents tools and features that allow for arbitrary shell command execution, such as the
bashtool and user-initiated commands using the!commandsyntax. These capabilities are intended for development but grant the agent significant control over the local environment. - [INDIRECT_PROMPT_INJECTION]: The
pi-web-accessandpi-mcp-adapterpackages provide tools for fetching and processing content from the web and third-party APIs. This creates a surface where malicious instructions embedded in external data could influence the agent's behavior. - [DYNAMIC_EXECUTION]: The
pi-subagentspackage supports aworkflowScriptfeature that allows for the execution of JavaScript strings at runtime to orchestrate subagents, representing a dynamic code execution vector.
Audit Metadata