python-sdk
Pass
Audited by Gen Agent Trust Hub on Sep 8, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill provides a framework for building agents that ingest external data and possess significant capabilities, creating a potential surface for indirect prompt injection attacks.
- Ingestion points: User-provided messages in
agent.send_message()(found inSKILL.md) and external data retrieved through theweb_searchinternal tool (found inreferences/tool-builder.md). - Boundary markers: The provided documentation examples do not demonstrate the use of delimiters or specific instructions to ignore embedded commands in processed data.
- Capability inventory: The SDK supports powerful capabilities including
code_execution(True)(found inreferences/agent-patterns.md), arbitrary command execution via theBash(python *)allowed-tool, and the creation ofwebhook_toolinstances for external API interactions. - Sanitization: There is no evidence of input sanitization or validation in the provided tool implementation examples.
- [DYNAMIC_EXECUTION]: Documentation examples in
references/tool-builder.mdsuggest the use of the Pythoneval()function to implement a calculator tool. While this is provided as a simplified implementation example for developers, it demonstrates a pattern that could lead to arbitrary code execution if user-provided strings are passed to the tool without strict validation.
Audit Metadata