python-sdk
Warn
Audited by Gen Agent Trust Hub on Mar 17, 2026
Risk Level: MEDIUMREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: Documentation in
references/tool-builder.mdandreferences/agent-patterns.mdcontains examples usingeval()to process model-generated 'expression' arguments. This pattern is unsafe and could lead to arbitrary code execution if used without strict sanitization.- [COMMAND_EXECUTION]: The skill'sallowed-toolsinSKILL.mdpermit the execution of any Python command and package installation viapip. This grants the agent significant control over the local environment.- [EXTERNAL_DOWNLOADS]: The skill requires the installation of theinferenceshpackage from PyPI, which is the vendor's own SDK.- [PROMPT_INJECTION]: The SDK handles data from various AI models and external apps, creating a surface for indirect prompt injection. Ingestion points includeagent.send_messageandclient.runoutputs, which are used to drive tool calls such ascode_executionorwebhook_toolwithout explicit sanitization documented in the examples.
Audit Metadata