langgraph
Fail
Audited by Gen Agent Trust Hub on Sep 30, 2026
Risk Level: HIGHDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [DYNAMIC_EXECUTION]: The provided code example for the 'calculator' tool uses the Python 'eval()' function to process user-provided strings. This is a severe security vulnerability that allows for arbitrary code execution within the environment where the agent is running. Evidence: 'return str(eval(expression))' in the 'calculator' tool definition in SKILL.md.
- [INDIRECT_PROMPT_INJECTION]: The skill defines agents designed to process untrusted user messages and execute tools based on those messages without explicit sanitization or safety boundaries.
- Ingestion points: User messages are ingested into the 'messages' field of 'AgentState' in SKILL.md.
- Boundary markers: None. The instructions do not provide delimiters or warnings to the LLM to ignore potentially malicious instructions embedded in user messages.
- Capability inventory: The agent has capabilities to call LLMs, perform web searches via 'search', and execute Python code via the 'calculator' tool.
- Sanitization: None. User input from 'messages' is passed to the LLM, and tool arguments (like the 'expression' for the calculator) are processed without validation or sanitization.
Recommendations
- AI detected serious security threats
Audit Metadata