python-sdk
Warn
Audited by Gen Agent Trust Hub on Sep 2, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: Documentation files
references/tool-builder.mdandreferences/agent-patterns.mdprovide code templates using the Pythoneval()function to process tool arguments (call.args['expression']). This pattern is inherently dangerous as it allows for arbitrary code execution if the input provided to the tool is not strictly validated. - [COMMAND_EXECUTION]: The skill configuration in
SKILL.mdallows the agent to execute any Python command usingBash(python *). While this level of access is functional for a developer SDK, it grants the agent significant capability to interact with the underlying system. - [EXTERNAL_DOWNLOADS]: The skill prompts for the installation of the
inferenceshpackage from PyPI and mentions other external integrations liketavily/search-assistantand various AI models. - [INDIRECT_PROMPT_INJECTION]: The skill processes data from AI models and user inputs which are interpolated into application logic, creating a surface for indirect injection attacks.
- Ingestion points: Data processed via
client.run()andagent.send_message()as shown inSKILL.mdandreferences/agent-patterns.md. - Boundary markers: The provided examples do not demonstrate the use of delimiters or specific instructions to ignore embedded commands in ingested data.
- Capability inventory: The skill is granted access to the
Bashtool for running Python code, as specified inSKILL.md. - Sanitization: The code templates do not include sanitization or validation steps for external content before execution or processing.
Audit Metadata