pi-agent

Fail

Audited by Gen Agent Trust Hub on Jul 12, 2026

Risk Level: HIGHREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONCREDENTIALS_UNSAFEPROMPT_INJECTION
Full Analysis
  • [REMOTE_CODE_EXECUTION]: The documentation recommends an installation method using a shell script downloaded from a remote URL and piped directly to the shell (curl -fsSL https://pi.dev/install.sh | sh in references/overview.md).
  • [EXTERNAL_DOWNLOADS]: The skill provides instructions for installing third-party software and extensions from remote sources, including npm install, npx execution for tool discovery (references/pi-mcp-adapter.md), and Git repository cloning for analysis (references/pi-web-access.md).
  • [COMMAND_EXECUTION]: The documented tool provides extensive shell command execution capabilities as a core feature (bash tool, !command syntax), which runs with the full permissions of the user process (references/quickstart.md, references/usage.md).
  • [CREDENTIALS_UNSAFE]: The skill documents the management of sensitive API keys and OAuth tokens in a local storage file (~/.pi/agent/auth.json), which is a target for potential credential exposure (references/providers.md, references/models.md).
  • [PROMPT_INJECTION]: The tool documented in the skill possesses a large attack surface for Indirect Prompt Injection, as it is designed to ingest and process untrusted data from the web, PDFs, and remote repositories using tools like web_search and fetch_content (references/pi-web-access.md).
  • Ingestion points: Web search results, URL content fetching, GitHub repository cloning, and local file reading.
  • Boundary markers: Not explicitly detailed in the tool's documentation for separating untrusted content from agent instructions.
  • Capability inventory: The platform includes capabilities for file modification (write, edit) and arbitrary command execution (bash).
  • Sanitization: No explicit sanitization or filtering protocols for external content are documented.
Recommendations
  • AI detected serious security threats
Audit Metadata
Risk Level
HIGH
Analyzed
Jul 12, 2026, 03:14 PM