sandbox-sdk
Pass
Audited by Gen Agent Trust Hub on Oct 31, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: Fetches documentation, API references, and examples from Cloudflare's official developer portal and GitHub repositories.
- [COMMAND_EXECUTION]: Enables execution of shell commands within the isolated sandbox environment using the
sandbox.execinterface. - [DYNAMIC_EXECUTION]: Facilitates runtime code execution for Python, JavaScript, and TypeScript via the
sandbox.runCodeandcreateCodeContextmethods. - [INDIRECT_PROMPT_INJECTION]: The skill identifies the risk of processing untrusted LLM-generated input and provides comprehensive mitigations:
- Ingestion points: Untrusted code or commands are passed to the
runCodeorexecmethods. - Boundary markers: Recommends the use of
inputSchemato validate data before processing. - Capability inventory: Restricts execution to isolated containers with configurable resource limits (CPU, memory, timeout).
- Sanitization: Enforces least-privilege network policies by routing all external requests through an allowed host callback pattern.
Audit Metadata