Skip to content
Back to skills

Sandbox Escapes

ASecurity

This skill should be used when the user asks about "sandbox escape", "vm escape", "template injection to RCE", "SSTI exploitation", "vm2 bypass", "restricted execution bypass", "sandbox breakout", or needs to identify sandbox escape and template engine exploitation techniques during whitebox security review.

  • 24 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 26, 2026
developmentpythonrubynodenodejsapisecurity

Works with

  • api

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned May 27, 2026

npx -y skills add allsmog/vuln-scout --skill sandbox-escapes --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sandbox Escapes?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Sandbox Escapes
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/allsmog-sandbox-escapes/badge)](https://www.skillsdirectory.com/skills/allsmog-sandbox-escapes)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: Sandbox Escapes
description: This skill should be used when the user asks about "sandbox escape", "vm escape", "template injection to RCE", "SSTI exploitation", "vm2 bypass", "restricted execution bypass", "sandbox breakout", or needs to identify sandbox escape and template engine exploitation techniques during whitebox security review.
version: 1.0.0
---

# Sandbox Escape Techniques

Techniques for escaping restricted execution environments and exploiting template engines across Node.js, Python, and Ruby.

## When to Use

Activate this skill during:
- Code review where `vm`, `eval`, or template engines process user input
- Identifying SSTI-to-RCE exploitation paths
- Analyzing restricted execution environments (vm2, RestrictedPython, $SAFE)
- Building exploit chains that leverage sandbox escapes

## Language-Specific References

- **Node.js**: `nodejs-sandbox-escape.md` -- vm module bypass, vm2 CVEs, EJS/Pug injection, prototype pollution to RCE
- **Python**: `python-sandbox-escape.md` -- Jinja2 SSTI, Mako exploitation, serialization attacks, RestrictedPython bypass
- **Ruby**: `ruby-sandbox-escape.md` -- ERB injection, Slim/Haml exploitation, $SAFE bypasses, Marshal deserialization

Files in this skill

  • SKILL.md1.2 KB
  • nodejs-sandbox-escape.md6.2 KB
  • python-sandbox-escape.md5.6 KB
  • ruby-sandbox-escape.md5.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.