sandbox-escape-techniques
Warn
Audited by Gen Agent Trust Hub on Jul 21, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill provides detailed instructions and ready-to-use code snippets for executing shell commands to escape restricted environments. Examples include
os.system('sh')in Python,ffi.C.system('sh')in Lua, and various shell-based escapes for restricted shells (rbash) likevi,awk, andfind. - [REMOTE_CODE_EXECUTION]: Includes high-risk exploit patterns for achieving arbitrary code execution through Python's
pickle.loadsdeserialization, dynamic code object construction viatypes.CodeType, and Lualoadstringexecution. - [PROMPT_INJECTION]: Contains methodologies for bypassing software 'jail' constraints and instruction-based sandboxes, teaching the agent how to circumvent filters such as keyword blocks, AST node restrictions, and builtin removals.
- [DYNAMIC_EXECUTION]: (Internally identified as MEDIUM) The skill documents techniques for runtime code generation and execution, specifically within the
PYTHON_SANDBOX_ESCAPE.mdfile, usingcompile,exec, andevalto bypass static analysis. - [OBFUSCATION]: (Internally identified as MEDIUM) Demonstrates the use of Base64 encoding (
X19pbXBvcnRfXygnb3MnKS5zeXN0ZW0oJ3NoJyk=), Hex escapes (\x5f\x5f), and character concatenation (chr()) to hide sensitive keywords like__import__andsystemfrom security scanners.
Audit Metadata