sandbox-escape-techniques
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 / 100

The current grade reflects 1 high-severity finding (any HIGH → B).

0 CRIT1 HIGH3 MED0 LOW
To reach a higher grade
  • A
    Reach 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

high
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.
rule: filesystem-overreachline: 181CWE-552
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 filessensitive path — credential-exfiltration vector
182
183# If can mount:
med
Arbitrary subprocess execution detected
The skill spawns subprocesses. Without a capability manifest declaring this, the skill could execute arbitrary commands.
rule: subprocess-executionline: 52CWE-78
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---
med
Arbitrary subprocess execution detected
The skill spawns subprocesses. Without a capability manifest declaring this, the skill could execute arbitrary commands.
rule: subprocess-executionline: 198CWE-78
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` |
med
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-manifest
Scan another →Share
skillox.io/r/crawl-q2cfylrdtfh5ngpmagsxvnme