Context-Inappropriate Capability
High
- Confidence
- 99% confidence
- Finding
- The example function uses Python's eval() on an expression string that can be influenced by agent or user input, enabling arbitrary code execution in the host process rather than just mathematical evaluation. In an AI agents SDK reference, readers may copy this pattern into production tool functions, making the documentation context especially risky because it normalizes a dangerous primitive for agent-triggered execution.
