python-sdk
Pass
Audited by Gen Agent Trust Hub on Nov 21, 2026
Risk Level: SAFEDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The documentation and reference files (e.g.,
references/tool-builder.md) provide code examples for implementing custom tools that use theeval()function to evaluate user-supplied mathematical expressions. While intended as a simplified example, executing dynamically generated code or evaluating untrusted input strings is a risky practice that can lead to arbitrary code execution if not properly sandboxed. - [INDIRECT_PROMPT_INJECTION]: The SDK provides a framework for building agents that ingest data from external sources, presenting a potential surface for indirect prompt injection attacks.
- Ingestion points: Untrusted data can enter the agent's context through file uploads (
client.upload_file), web search tool results (internal_tools().web_search(True)), and external API responses via webhook tools. - Boundary markers: The provided examples do not demonstrate the use of specific delimiters or markers to isolate untrusted content from the agent's core instructions.
- Capability inventory: The skill enables capabilities including file system access, network operations (webhooks, requests), and code execution.
- Sanitization: To mitigate risks, the documentation promotes human-in-the-loop oversight through the
require_approval()method and manual tool-call handling logic.
Audit Metadata