sandbox-escape-techniques
Pass
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: SAFECOMMAND_EXECUTIONOBFUSCATIONREMOTE_CODE_EXECUTIONPRIVILEGE_ESCALATIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: Provides detailed payloads and one-liners for executing shell commands through various languages and tools, including Python's
os.systemandsubprocess.Popen, Lua'sos.execute, and restricted shell escapes usingvi,awk, andfind. - [OBFUSCATION]: Documents methodologies for bypassing keyword-based security filters. Techniques include Base64 encoding (e.g.,
base64.b64decode), hex and Unicode escape sequences in strings, and string construction usingchr()to hide function names like__import__andsystem. - [REMOTE_CODE_EXECUTION]: Details high-impact exploitation vectors such as Mojo IPC bugs for browser sandbox escapes,
io_uringfor bypassing Seccomp filters, and insecure Pythonpickledeserialization to achieve code execution. - [PRIVILEGE_ESCALATION]: Outlines procedures for escaping restricted environments, including double chroot escapes, Linux namespace escalation (
unshare), and Seccomp architecture confusion (using 32-bitint 0x80syscalls on 64-bit systems). - [DYNAMIC_EXECUTION]: Demonstrates the use of
eval()andexec()for runtime code evaluation and the manual construction of Python code objects (types.CodeType) to bypass static analysis tools and Abstract Syntax Tree (AST) restrictions. - [INDIRECT_PROMPT_INJECTION]: The skill provides the agent with a significant repository of exploitation primitives which could be leveraged if the agent is instructed to process untrusted external data.
- Ingestion points: The skill instructions and methodologies are loaded into the agent context via
SKILL.md,PYTHON_SANDBOX_ESCAPE.md, andSECCOMP_BYPASS.md. - Boundary markers: The skill uses
AI LOAD INSTRUCTIONmarkers to define context, but does not provide explicit sanitization or boundary markers for runtime data processing. - Capability inventory: The skill grants the agent knowledge of file system access, process injection (
ptrace), command execution, and network exfiltration techniques. - Sanitization: No active sanitization of external content is implemented within the playbook's documentation-style files.
Audit Metadata