pi-agent
Fail
Audited by Gen Agent Trust Hub on Oct 31, 2026
Risk Level: HIGHREMOTE_CODE_EXECUTIONDATA_EXFILTRATIONCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONMETADATA_POISONINGPRIVILEGE_ESCALATION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The documentation in
references/overview.mdencourages installing the Pi CLI via a shell script fetched usingcurl -fsSL https://pi.dev/install.sh | sh. Aspi.devis not a trusted organization, this pattern presents a direct remote code execution risk. - [DATA_EXFILTRATION]: The skill describes a session-sharing feature in
references/pi-subagents.mdthat uploads complete session data (including command history and potential credentials) to a suspicious external domain,https://shittycodingagent.ai/. This constitutes a significant data exfiltration risk. - [COMMAND_EXECUTION]: The skill documents and encourages the use of
npm install,npx, and the agent's native!commandsyntax, which allows the LLM to execute arbitrary shell commands on the host system without a sandbox. - [DYNAMIC_EXECUTION]: The skill documents 'codemode' and 'workflows' which execute JavaScript and QuickJS scripts at runtime (
references/mcp.md,references/pi-subagents.md). These features allow the agent to run dynamically generated or retrieved code. - [INDIRECT_PROMPT_INJECTION]: The skill provides tools for web search and content fetching (
pi-web-access.md). This establishes an ingestion point for untrusted external data (e.g., website content, PDF files) which could contain malicious instructions. The documentation acknowledges that prompt injection is an 'expected local-agent risk' and that Pi is not sandboxed by default. - [METADATA_POISONING]: There is a discrepancy between the author identified in the instruction context (umich-fatml) and the author listed in the skill's frontmatter (K-Dense Inc.). Additionally, the skill includes citations and review dates for the year 2026, which is inconsistent and suggestive of synthetic or adversarial content.
- [PRIVILEGE_ESCALATION]: The skill describes a lack of built-in sandboxing, noting that Pi runs with all user permissions and can modify host files directly, even when using containerization patterns if they are misconfigured to mount host directories as read/write.
Recommendations
- AI detected serious security threats
Audit Metadata