kubernetes-pentesting

github.com/yaklang/hack-skills
Verdict: Generally safe
0 critical1 high2 medium
B
SCORE 75 / 100
$skillox install kubernetes-pentestingSoon
Sign in to followFollowing emails you when a re-scan drops the grade. Opt-out is per-creator on /account/billing.

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.

Latest scan findings

Scan crawl-ouyamq0ecsvtdh98ynyit949 · Thu, 28 May 2026 17:28:28 GMT · 1ms

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
View latest scan →
skillox.io/c/kubernetes-pentesting