google-adk
Warn
Audited by Socket on Aug 6, 2026
1 alert found:
SecuritySecurityreference/adk-core-patterns.md
MEDIUMSecurityMEDIUM
reference/adk-core-patterns.md
No evidence of intentional supply-chain malware (backdoor/stealth/exfiltration mechanisms) is present in this fragment. However, it contains a severe security weakness: a callable tool that executes arbitrary Python via eval(expression) with no input validation or sandboxing. Given that tool arguments can be influenced by user prompts through the agent’s tool-calling behavior, this creates a high likelihood of arbitrary code execution if exposed in a real environment. Replace eval with a constrained/safe expression evaluator and strictly validate/allowlist tool inputs; also review logging/console output handling.
Confidence: 74%Severity: 82%
Audit Metadata