google-adk
Warn
Audited by Gen Agent Trust Hub on Aug 6, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The example
calculatetool implementation inreference/adk-core-patterns.mdutilizes Python'seval()function to process input expressions. Although the code includes a developer note suggesting replacement with a safer alternative for production, the use ofeval()on strings derived from model output creates a direct vulnerability for arbitrary code execution if the agent is manipulated via prompt injection.- [PROMPT_INJECTION]: The skill implements a architecture where agents ingest untrusted user data through FastAPI endpoints (as shown inreference/adk-fastapi-integration.md) and are granted high-privilege capabilities includingBashexecution and file systemWriteandEditaccess (as specified inSKILL.md). This combination presents a surface for indirect prompt injection, where an attacker could embed malicious instructions in conversation history or retrieved data to influence the agent to perform unauthorized system or file operations.
Audit Metadata