langgraph
Fail
Audited by Gen Agent Trust Hub on Aug 1, 2026
Risk Level: HIGHCOMMAND_EXECUTIONREMOTE_CODE_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The code example for the
calculatortool inSKILL.mdimplements a math evaluator using the Pythoneval()function. This is a significant security risk becauseeval()executes the string passed to it as Python code. If an attacker provides a malicious string through the agent's input, they could execute arbitrary shell commands on the host environment. - [REMOTE_CODE_EXECUTION]: The use of
eval()within a tool definition represents a remote code execution vulnerability. In an agentic workflow where an LLM determines the arguments for a tool, an indirect prompt injection or a direct malicious query could lead to the execution of arbitrary Python code, potentially compromising the entire application and its environment.
Recommendations
- AI detected serious security threats
Audit Metadata