benchmarking-kubernetes-with-kube-bench

benchmarking-kubernetes-with-kube-bench is a skill for Claude Code, Codex from andycungkrinx91/konoha. It costs 24 tokens per session (2,082 once invoked), scanned B, original, MIT.

A Kubernetes security benchmark using kube-bench, which checks a cluster against the CIS Kubernetes Benchmark, a published set of configuration recommendations. It reports passing, failing, warning, and informational checks with remediation guidance.

In plain words
What is it for?
It is used to inspect control-plane, worker-node, kubelet, and policy settings and to guide fixes for failed checks.
Why use it?
It makes common Kubernetes security weaknesses visible before they become paths into the cluster.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit It is used to inspect control-plane, worker-node, kubelet, and policy settings and to guide fixes for failed checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/andycungkrinx91/konoha/benchmarking-kubernetes-with-kube-bench
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.

Any agent
npx skills add andycungkrinx91/konoha --skill benchmarking-kubernetes-with-kube-bench
Clone the repo
git clone --depth 1 https://github.com/andycungkrinx91/konoha

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 benchmarking-kubernetes-with-kube-bench

README.md
[![agentmods](https://agentmods.dev/badge/skills/andycungkrinx91/konoha/benchmarking-kubernetes-with-kube-bench/github.svg)](https://agentmods.dev/skills/andycungkrinx91/konoha/benchmarking-kubernetes-with-kube-bench)
Your own site
<a href="https://agentmods.dev/skills/andycungkrinx91/konoha/benchmarking-kubernetes-with-kube-bench"><img src="https://agentmods.dev/badge/skills/andycungkrinx91/konoha/benchmarking-kubernetes-with-kube-bench/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for benchmarking-kubernetes-with-kube-bench

Your own site · 80×15
<a href="https://agentmods.dev/skills/andycungkrinx91/konoha/benchmarking-kubernetes-with-kube-bench"><img src="https://agentmods.dev/badge/skills/andycungkrinx91/konoha/benchmarking-kubernetes-with-kube-bench.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,082 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original 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.1 $0.00024 $0.02082
Opus 5.5 $0.00010 $0.00833
Sonnet 5.5 $0.00005 $0.00416
Haiku 4.5 $0.00002 $0.00208

Measured today against content hash 7acf7b4d180a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

benchmarking-kubernetes-with-kube-bench scanned grade B 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 today.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/agent.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo mv kube-bench /usr/local/bin/

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -L -o kube-bench.tgz \
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.agents/skills/akatsuki-skill/references/anthropic-cybersecurity-skills-assets/skills/benchmarking-kubernetes-with-kube-bench/SKILL.md · 220 lines

How it starts

The opening of the file, as written. The whole thing — 220 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Benchmarking Kubernetes with kube-bench

Overview

kube-bench (by Aqua Security) is an open-source tool that checks whether a Kubernetes cluster is deployed securely by running the checks documented in the CIS Kubernetes Benchmark. It inspects the control-plane components (API server, controller manager, scheduler, etcd), the kubelet and worker-node configuration, and cluster-wide policy settings, then reports each check as PASS, FAIL, WARN, or INFO with a remediation recommendation drawn directly from the CIS guidance. Tests are configuration-driven YAML files, so kube-bench tracks new Kubernetes versions and benchmark revisions and supports managed distributions (EKS, GKE, AKS, ACK, OpenShift, RKE, k3s).

Hardening a cluster against the CIS Benchmark directly reduces the attack surface for T1610 (Deploy Container), where an adversary deploys a container to execute code or evade defenses — for example by abusing privileged containers, host namespaces, anonymous API access, or insecure kubelet settings that an unhardened cluster leaves exposed.

kube-bench can run as a standalone binary on a node, inside a container, or — most commonly — as a Kubernetes Job whose pod has the host filesystem mounted so it can read the relevant config files. Output is available as human-readable text, JSON, JUnit, or AWS Security Finding Format (ASFF) and can be pushed to a PostgreSQL database for trend tracking.

When to Use

  • When establishing a security baseline for a new Kubernetes cluster against the CIS Kubernetes Benchmark.
  • When performing periodic compliance audits of control-plane and node hardening.
  • When validating remediation after applying hardening changes (re-run to confirm checks now PASS).
  • When integrating cluster compliance scanning into CI/CD or a continuous monitoring pipeline.
  • When preparing evidence for SOC 2, PCI DSS, or internal hardening compliance.

Prerequisites

  • Access to the cluster: either SSH access to a control-plane/worker node (binary mode) or kubectl with permission to create Jobs (in-cluster mode).
  • Knowledge of the cluster's Kubernetes version (kube-bench auto-detects, or specify with --version / --benchmark).
  • Install kube-bench (Aqua Security official methods):

Read the full file on GitHub · 220 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. today First seen · 220 lines · 24 tokens per session scan B 7acf7b4d180a

Subscribe to this mod's changes

benchmarking-kubernetes-with-kube-bench is a skill published in the GitHub repository andycungkrinx91/konoha (12 stars, last pushed today), licensed MIT. It adds 24 tokens to every session and 2,082 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-25.

Related

Other skills, from other repositories

benchmarking-kubernetes-with-kube-bench

Run kube-bench (Aqua Security) against a Kubernetes cluster's control-plane, kubelet, and node configuration to check compliance with the CIS Kubernetes Benchmark and remediate PASS/FAIL/WARN findings. Use when establishing a security baseline for a new cluster, performing periodic hardening audits, validating…

Youngmaidainon/Agent-Level-Up · 86 tokens

performing-kubernetes-cis-benchmark-with-kube-bench

Audit Kubernetes cluster security posture against CIS benchmarks using kube-bench with automated checks for control plane, worker nodes, and RBAC.

xalgorix/xalgorix · 40 tokens

performing-kubernetes-cis-benchmark-with-kube-bench

Audit Kubernetes cluster security posture against CIS benchmarks using kube-bench with automated checks for control plane, worker nodes, and RBAC.

Njones17/AI-agent-master-cyber-skills-list · 40 tokens

detecting-container-drift-at-runtime

Detect unauthorized modifications to running containers by monitoring for binary execution drift, file system changes, and configuration deviations from the original container image.

xalgorix/xalgorix · 34 tokens

hardening-docker-containers-for-production

Hardening Docker containers for production involves applying security best practices aligned with CIS Docker Benchmark v1.8.0 to minimize attack surface, prevent privilege escalation, and enforce leas.

xalgorix/xalgorix · 43 tokens

performing-container-security-scanning-with-trivy

Scan container images, filesystems, and Kubernetes manifests for vulnerabilities, misconfigurations, exposed secrets, and license compliance issues using Aqua Security Trivy with SBOM generation and CI/CD integration.

xalgorix/xalgorix · 48 tokens