k8s-storage-exploit

k8s-storage-exploit is a skill for Claude Code, Codex from wgpsec/AboutSecurity. It costs 112 tokens per session (1,311 once invoked), scanned C, original, no licence file.

A guide to assessing shared storage mounted inside Kubernetes containers, such as NFS, EFS, persistent volumes, ConfigMaps, and Secrets.

In plain words
What is it for?
Use it to assess NFS mounts, inspect shared directories such as /efs or /mnt, test EFS identity settings, read files without mounting storage, and extract sensitive data from persistent volumes.
Why use it?
It helps identify when remote or shared files may be readable or writable from a container, including cases where the storage is not mounted in the usual way.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/wgpsec/aboutsecurity/k8s-storage-exploit
Any agent
npx skills add wgpsec/AboutSecurity --skill k8s-storage-exploit
Clone the repo
git clone --depth 1 https://github.com/wgpsec/AboutSecurity

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for k8s-storage-exploit

README.md
[![agentmods](https://agentmods.dev/badge/skills/wgpsec/aboutsecurity/k8s-storage-exploit.svg)](https://agentmods.dev/skills/wgpsec/aboutsecurity/k8s-storage-exploit)
Your own site
<a href="https://agentmods.dev/skills/wgpsec/aboutsecurity/k8s-storage-exploit"><img src="https://agentmods.dev/badge/skills/wgpsec/aboutsecurity/k8s-storage-exploit.svg" alt="Measured on agentmods" height="20"></a>
Per session 112 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,311 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. Scan, not verified.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00112 $0.01311
Opus 5 $0.00056 $0.00656
Sonnet 5 $0.00022 $0.00262
Haiku 4.5 $0.00011 $0.00131

Measured 4d ago against content hash 69d7d02990b0, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

k8s-storage-exploit scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Enumerates the file system for secretsmediumData exfiltration

Searching home directories for .env, .ssh, .aws or credential files is reconnaissance for credential theft.

find / -name "*.key" -o -name "*.pem" -o -name "*.crt" 2>/dev/null | head -20

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Reaches for credential filesmediumPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

ls /host/etc/shadow 2>/dev/null

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

skills/cloud/k8s-storage-exploit/SKILL.md · 128 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 128 lines · 112 tokens per session scan C 69d7d02990b0

Subscribe to this mod's changes

k8s-storage-exploit is a skill published in the GitHub repository wgpsec/AboutSecurity (1,715 stars, last pushed 4d ago), with no licence file. It adds 112 tokens to every session and 1,311 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it C with 2 findings (enumerates the file system for secrets, reaches for credential files). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

osint-recon

OSINT 开源情报收集知识库 — 四维信息收集模型(服务器→网站→域名→人员),维度四(人员信息)条件触发.

Netw0rkNoob/VulnClaw · 42 tokens

redteam-crypto-detail-pack

Domain routing and boundary guidance for authorized cryptography weakness testing, including weak algorithms, padding oracles, key management errors, insecure randomness, and hash collision risks. Use when a task belongs to the cryptography testing domain and needs scope, evidence, pivot, or exit criteria.

Netw0rkNoob/VulnClaw · 62 tokens

redteam-injection-detail-pack

Domain routing and boundary guidance for authorized general injection testing outside SQL injection, including NoSQL, LDAP, XPath, and expression language injection. Use when a task belongs to the general injection domain and needs scope, evidence, pivot, or exit criteria.

Netw0rkNoob/VulnClaw · 56 tokens

ctf-ai-ml

Provides AI and machine learning techniques for CTF challenges. Use when attacking ML models, crafting adversarial examples, performing model extraction, prompt injection, membership inference, training data poisoning, fine-tuning manipulation, neural network analysis, LoRA adapter exploitation, LLM jailbreaking, or…

ljagiello/ctf-skills · 67 tokens

homepage-generator

Generate a fact-checked academic personal homepage from a CV, optionally augmented by an existing manual homepage and an assets directory. Produces editable structured source files (profile.yml + publications.bib + bio.md + news.md) and a single-file HTML page. Uses Codex MCP for independent factual review against…

wanshuiyin/ARIS-in-AI-Offer · 129 tokens

re-game

游戏逆向:Unity/Unreal、Cheat Engine、Lua 脚本引擎、图形 Shader。触发词:游戏逆向、Unity、Unreal、Cheat Engine、内存修改、反作弊、Lua、LuaJIT、.luac、.jsc、脚本引擎、Shader、着色器、SPIR-V、DXIL、DXBC、GLSL.

dslsdzc/rev-skills · 92 tokens