kubernetes-pentesting
github.com/yaklang/hack-skills
Scanned Thu, 28 May 2026 17:28:28 GMT
Scan ID crawl-ouyamq0ecsvtdh98ynyit949 · 1ms
B
SCORE 75 / 100
Verdict: Safe to install

1 high-severity finding.

This skill reads protected filesystem locations plus 2 other issues listed below.

0 critical1 high2 medium9 rules passed

Why grade B?

score · 75 / 100

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

0 CRIT1 HIGH2 MED0 LOW
To reach a higher grade
  • A
    Reach Atarget score 95

    Resolve all 1 HIGH.

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 (`~\/\.kube\/config`) that contains credentials or system secrets. Reading this from an unsandboxed skill is a credential-exfiltration vector.
rule: filesystem-overreachline: 55CWE-552
53
54```bash
55# Common kubeconfig locations: ~/.kube/config, /etc/kubernetes/admin.conf,sensitive path — credential-exfiltration vector
56# /etc/kubernetes/kubelet.conf, /var/lib/kubelet/kubeconfig
57kubectl --kubeconfig=/etc/kubernetes/admin.conf get pods --all-namespaces
med
Arbitrary subprocess execution detected
The skill spawns subprocesses. Without a capability manifest declaring this, the skill could execute arbitrary commands.
rule: subprocess-executionline: 333CWE-78
331├── External access only?
332│ ├── API server exposed? → anonymous/token check (§1)
333│ ├── Kubelet 10250 exposed? → direct pod exec (§6)spawns a subprocess outside declared capabilities
334│ ├── etcd 2379 exposed? → direct secret dump (§4)
335│ └── Dashboard/UI exposed? → authentication bypass
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-ouyamq0ecsvtdh98ynyit949