pi-delegation
Warn
Audited by Snyk on Jun 22, 2026
Risk Level: MEDIUM
Full Analysis
MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).
- Third-party content exposure detected (high risk: 0.75). Outsider free text can enter the LLM context when a delegated named agent or task uses runtime web/MCP tools (e.g.,
web_fetch_exa/web_search_exaor an MCP server like Exa via themcpproxy), which fetches public pages and injects their readable content into Pi’s prompt.
MEDIUM W012: Unverifiable external dependency detected (runtime URL that controls agent).
- Potentially malicious external URL detected (high risk: 0.90). The example MCP server URL https://mcp.exa.ai/mcp?exaApiKey=YOUR_KEY is declared in the runtime mcp.json and the pi-mcp-adapter uses it at runtime to register/invoke remote MCP tools, which can directly influence agent behavior and execute remote actions, so it is a runtime external dependency that controls prompts/tools.
Issues (2)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
W012
MEDIUMUnverifiable external dependency detected (runtime URL that controls agent).
Audit Metadata