python-sdk

Warn

Audited by Gen Agent Trust Hub on Nov 22, 2026

Risk Level: MEDIUMDYNAMIC_EXECUTIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
  • [DYNAMIC_EXECUTION]: The documentation in references/tool-builder.md provides examples that use the Python eval() function to process tool arguments. Executing eval() on strings generated by an LLM is a dangerous practice that allows for arbitrary code execution if the agent is manipulated via prompt injection.
  • [DATA_EXFILTRATION]: The SDK features an 'Automatic File Upload' capability where local file paths provided in input dictionaries are automatically uploaded to the platform's cloud. This creates a data exfiltration vector; a malicious prompt could trick an agent into including sensitive local paths (e.g., .ssh/id_rsa, .env) in its input, leading to the silent upload of those files.
  • [INDIRECT_PROMPT_INJECTION]: The skill's primary function is to build agents with capabilities such as code_execution and web_search. This establishes an attack surface where instructions hidden in untrusted external data (e.g., search results) could be executed by the agent.
  • Ingestion points: agent.send_message, web_search output, and file ingestion in SKILL.md and references/files.md.
  • Boundary markers: Absent; the documentation does not show the use of delimiters or 'ignore' instructions for external data.
  • Capability inventory: File system access (upload), network communication (webhooks), and arbitrary code execution (code_execution tool).
  • Sanitization: Absent; input is passed directly to processing functions in all provided examples.
  • [EXTERNAL_DOWNLOADS]: The skill requires the installation of the inferencesh package from PyPI and the belt-sh/cli skill. While the inferencesh package is a vendor-related resource, the inclusion of third-party tools like belt-sh/cli constitutes an external dependency that executes code on the host machine.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Nov 22, 2026, 05:06 AM