hunting-kubelet-and-node-api-exposure

hunting-kubelet-and-node-api-exposure is a skill for Claude Code from UnboundCompute/security-agent-skills. It costs 171 tokens per session (1,926 once invoked), scanned A, original, MIT.

A security review for Kubernetes node APIs, especially the kubelet. The kubelet is the service on each node that manages containers and can expose pod listings, logs, and command execution.

In plain words
What is it for?
Use it to check anonymous access, read-only endpoints, authorization settings, network reachability from pods, and node-local metadata or debugging endpoints.
Why use it?
If a kubelet is reachable without proper authentication or authorization, a caller may read other pods' secrets, run commands in their containers, or gain control over the node.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the security-agent-skills plugin — 194 skills shipped together

Good fit Use it to check anonymous access, read-only endpoints, authorization settings, network reachability from pods, and node-local metadata or debugging endpoints.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/unboundcompute/security-agent-skills/hunting-kubelet-and-node-api-exposure
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 UnboundCompute/security-agent-skills --skill hunting-kubelet-and-node-api-exposure
Clone the repo
git clone --depth 1 https://github.com/UnboundCompute/security-agent-skills

Made for: Claude Code.

Or install security-agent-skills, the plugin that ships this one along with the rest of its 194 skills.

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 hunting-kubelet-and-node-api-exposure

README.md
[![agentmods](https://agentmods.dev/badge/skills/unboundcompute/security-agent-skills/hunting-kubelet-and-node-api-exposure/github.svg)](https://agentmods.dev/skills/unboundcompute/security-agent-skills/hunting-kubelet-and-node-api-exposure)
Your own site
<a href="https://agentmods.dev/skills/unboundcompute/security-agent-skills/hunting-kubelet-and-node-api-exposure"><img src="https://agentmods.dev/badge/skills/unboundcompute/security-agent-skills/hunting-kubelet-and-node-api-exposure/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 hunting-kubelet-and-node-api-exposure

Your own site · 80×15
<a href="https://agentmods.dev/skills/unboundcompute/security-agent-skills/hunting-kubelet-and-node-api-exposure"><img src="https://agentmods.dev/badge/skills/unboundcompute/security-agent-skills/hunting-kubelet-and-node-api-exposure.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 171 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,926 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00171 $0.01926
Opus 5.5 $0.00068 $0.00770
Sonnet 5.5 $0.00034 $0.00385
Haiku 4.5 $0.00017 $0.00193

Measured 1mo ago against content hash 62c1126522e1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

hunting-kubelet-and-node-api-exposure scanned grade A with 0 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 1mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/hunting-kubelet-and-node-api-exposure/SKILL.md · 135 lines

How it starts

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

Hunting kubelet and node API exposure: the control plane on every node

Every Kubernetes node runs a kubelet, and the kubelet is a powerful local API: it can list the pods on the node, stream their logs, and exec into their containers. That makes each node a small control plane, and the kubelet's authentication and authorization are the only thing between a caller who can reach it and node-level control over every pod scheduled there. The exposures are concrete: a kubelet configured to allow anonymous requests, a read-only port that serves pod and node data without auth, an authorization mode that authenticates the caller but then allows the action anyway, and reachability from a pod or the network that should never have existed. A caller who reaches an under-authenticated kubelet can read secrets from other pods' environments, exec into neighbors, and pivot. You hunt this by finding node endpoints that are reachable and testing whether their authentication actually refuses an unauthorized caller.

When to use

  • Kubelet or other node-local endpoints may be reachable from pods or the surrounding network.
  • The kubelet may allow anonymous requests or expose a read-only port without authentication.
  • The kubelet's authorization mode may authenticate a caller without restricting the action.

Scope check

Test node endpoints only on clusters and nodes you own or are authorized to assess, on non-production nodes. Reaching a kubelet can read other pods' data and exec into containers, so use a non-production node and stop at proof rather than pivoting into neighboring pods. If you can't name the authorization, stop.

The loop

  1. Establish who should reach node endpoints first. Name what is supposed to talk to the kubelet and node services: the control plane, specific node agents, nothing from workload pods. This is the false-positive killer: a kubelet that requires authentication, uses an authorization mode that restricts actions, disables anonymous access and the read-only port, and is unreachable from pods is correctly closed. Name the intended callers, then find endpoints reachable beyond them.

Read the full file on GitHub · 135 lines

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. 1mo ago First seen · 135 lines · 171 tokens per session scan A 62c1126522e1

Subscribe to this mod's changes

hunting-kubelet-and-node-api-exposure is a skill published in the GitHub repository UnboundCompute/security-agent-skills (5 stars, last pushed 1mo ago), licensed MIT. It adds 171 tokens to every session and 1,926 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.

Related

Other skills, from other repositories

cloud-security-engineer

Cloud Security Engineer role bundle for cloud security posture management, IaC review, container security, and identity governance across AWS, Azure, and GCP. Orchestrates cloud-specific posture reviews and zero trust program assessments. Auto-invoked when the user needs help with cloud security configuration, IaC…

UnitOneAI/SecuritySkills · 79 tokens

azure-review

Performs an Azure security posture review against the CIS Microsoft Azure Foundations Benchmark v2.1.0. Auto-invoked when reviewing Azure infrastructure, Entra ID configurations, NSG rules, Defender for Cloud settings, or Key Vault access policies. Walks through all nine benchmark sections, evaluates each…

UnitOneAI/SecuritySkills · 81 tokens

gcp-review

Performs a GCP security posture review against the CIS Google Cloud Platform Foundation Benchmark v2.0.0. Auto-invoked when reviewing GCP infrastructure, IAM bindings, VPC firewall rules, Cloud Audit Logs, or GCS bucket security. Walks through all seven benchmark sections, evaluates each recommendation, and produces a…

UnitOneAI/SecuritySkills · 83 tokens

aws-review

Performs an AWS security posture review against the CIS Amazon Web Services Foundations Benchmark v3.0.0. Auto-invoked when reviewing AWS infrastructure, IAM policies, S3 configurations, CloudTrail settings, VPC security groups, or RDS encryption. Walks through all five benchmark sections, evaluates each…

UnitOneAI/SecuritySkills · 83 tokens

prodcheck-review

Review this codebase against the prodcheck pre-production checklists — security, performance, scale, integrations, post-launch readiness and people. Use when asked to check whether a project is ready to ship, to audit an area before launch, or to work through a specific checklist. Produces evidence with file:line…

FarzamHabibi/pre-production-checklist · 72 tokens

cloud-pivot-finder

Maps cloud infrastructure from domains and identifies pivot paths from external to cloud internals. Detects cloud providers, enumerates S3/GCS/Azure storage, finds subdomain takeover opportunities, discovers serverless functions, CI/CD exposure, and IaC leaks. Use when user asks for "cloud security", "S3 enumeration"…

Orizon-eu/claude-code-pentest · 104 tokens