sandbox-escape-techniques
https://raw.githubusercontent.com/yaklang/hack-skills/main/skills/sandbox-escape-techniques/SKILL.md
github.com/yaklang/hack-skills
Scanned Thu, 28 May 2026 17:29:26 GMT
Scan ID crawl-q2cfylrdtfh5ngpmagsxvnme · 3ms
B
SCORE 75 / 100
Verdict: Safe to install
1 high-severity finding.
This skill reads protected filesystem locations plus 3 other issues listed below.
0 critical1 high3 medium8 rules passed
Why grade B?
score · 75 / 100The current grade reflects 1 high-severity finding (any HIGH → B).
0 CRIT1 HIGH3 MED0 LOW
To reach a higher grade
- AReach Atarget score 95
Resolve all 1 HIGH + 1 of 3 MED (cap is 2).
Thresholds are documented at /docs/grading. Source-of-truth is the grade() function in @skillox/scanner.
Findings · ordered by severity
highSensitive filesystem path referencedThe skill references a path (`\/etc\/shadow`) that contains credentials or system secrets. Reading this from an unsandboxed skill is a credential-exfiltration vector.▾
Sensitive filesystem path referenced
The skill references a path (`\/etc\/shadow`) that contains credentials or system secrets. Reading this from an unsandboxed skill is a credential-exfiltration vector.
179# If can see host filesystem via /proc/1/root:
180ls -la /proc/1/root/ # host root filesystem
181cat /proc/1/root/etc/shadow # read host files← sensitive path — credential-exfiltration vector
182
183# If can mount:
medArbitrary subprocess execution detectedThe skill spawns subprocesses. Without a capability manifest declaring this, the skill could execute arbitrary commands.▾
Arbitrary subprocess execution detected
The skill spawns subprocesses. Without a capability manifest declaring this, the skill could execute arbitrary commands.
50| chr construction | `eval(chr(95)+chr(95)+'import'+chr(95)+chr(95))` |
51| Pickle escape | `pickle.loads(b"cos\nsystem\n(S'sh'\ntR.")` |
52| Code object | Construct `types.CodeType(...)` then `exec()` with custom bytecode |← spawns a subprocess outside declared capabilities
53
54---
medArbitrary subprocess execution detectedThe skill spawns subprocesses. Without a capability manifest declaring this, the skill could execute arbitrary commands.▾
Arbitrary subprocess execution detected
The skill spawns subprocesses. Without a capability manifest declaring this, the skill could execute arbitrary commands.
196| awk | `awk 'BEGIN {system("/bin/bash")}'` |
197| find | `find / -exec /bin/bash \;` |
198| python/perl/ruby | `python -c 'import pty;pty.spawn("/bin/bash")'` |← spawns a subprocess outside declared capabilities
199| ssh | `ssh user@host -t /bin/bash` |
200| Environment | `export PATH=/usr/bin:/bin; /bin/bash` |
medNo capability manifest declaredThe skill ships without a `manifest.yaml` or `capabilities` block in its frontmatter. Without a manifest, the runtime cannot enforce what this skill is permitted to do.rule: no-manifest▾
No capability manifest declared
The skill ships without a `manifest.yaml` or `capabilities` block in its frontmatter. Without a manifest, the runtime cannot enforce what this skill is permitted to do.
rule:
no-manifestskillox.io/r/crawl-q2cfylrdtfh5ngpmagsxvnme