
Sandbox Escape Techniques
This is a comprehensive reference for breaking out of restricted execution environments, covering everything from CTF pyjails to Docker containers. It's structured as a decision tree with concrete techniques: Python subclass walks to recover builtins, Lua FFI abuse, chroot double-escape patterns, and browser Mojo IPC exploitation. The skill distinguishes between sandbox types (which base models apparently confuse) and provides actual one-liners and code snippets rather than theory. Clearly written for offensive security work, CTF competitions, and penetration testing where you need to escalate from restricted code execution to unrestricted system access. The cross-references to related skills like kernel exploitation and container escape suggest it's part of a larger offensive toolkit.
- skills.sh installs
- 3.7K
- GitHub stars
- 2.6K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add yaklang/hack-skills --skill sandbox-escape-techniques --agent claude-codeInstalls into .claude/skills of the current project.
Files
SKILL: Sandbox Escape — Expert Attack Playbook
AI LOAD INSTRUCTION: Expert sandbox escape techniques across Python, Lua, seccomp, chroot, Docker/container, and browser sandbox contexts. Covers CTF pyjail patterns, seccomp architecture confusion, chroot fd leaks, namespace escape, and Mojo IPC abuse. Distilled from ctf-wiki sandbox sections and real-world container escapes. Base models often miss the distinction between sandbox types and apply wrong escape techniques.
0. RELATED ROUTING
- browser-exploitation-v8 — V8 exploitation for renderer RCE before browser sandbox escape
- container-escape-techniques — Docker/container specific escape techniques
- kernel-exploitation — kernel exploit for container/namespace escape
- linux-privilege-escalation — post-escape privilege escalation
Advanced References
Sponsors
Details
- Repository
- github.com/yaklang/hack-skills
- Categories
- DevOps & CI/CD, Automation & Workflows, Python
- First seen
- Jun 3, 2026
More from yaklang/hack-skills
All 102- Lattice Crypto Attacks3.7K
- Symmetric Cipher Attacks3.7K
- Windows Lateral Movement3.7K
- Macos Security Bypass3.7K
- Ntlm Relay Coercion3.7K
- Nosql Injection3.7K
- Macos Process Injection3.7K
- Upload Insecure Files3.7K
- Unauthorized Access Common Services3.6K
- Reverse Shell Techniques3.6K
- Ghost Bits Cast Attack3.5K
- Hack4.6K
- Android Pentesting Tricks4.3K
- Recon And Methodology4.3K
- Sqli Sql Injection4.2K
- Code Obfuscation Deobfuscation4.2K
- Xss Cross Site Scripting4.2K
- Api Sec4.1K
- Business Logic Vulnerabilities4.1K
- Ssrf Server Side Request Forgery4.1K
- Idor Broken Object Authorization4K
- Authbypass Authentication Flaws4K
- Jwt Oauth Token Attacks4K
- Api Recon And Docs4K