/security-agent-skills:hunting-kubelet-and-node-api-exposurefrom security-agent-skills
Hunts for reachable, under-authenticated kubelet and node-level Kubernetes endpoints that allow anonymous or unauthorized access to list pods, read logs, or exec into containers.
Ships in security-agent-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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.
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.
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.
Find reachable node endpoints. Determine which node-local endpoints are reachable and from where: the kubelet API port, the read-only kubelet port, and any node-local metadata or debug service, tested from a pod and from the network. Reachability from a workload pod is the key finding, since a pod compromise then reaches the node control surface.
Test anonymous and unauthenticated access. For each reachable endpoint, test whether it serves requests without credentials: anonymous kubelet access, the read-only port, or an unauthenticated debug endpoint. An endpoint that returns pod listings, logs, or node data to an anonymous caller is exposed regardless of any later authorization.
Check the authorization mode, not just authentication. Where the kubelet authenticates callers, confirm its authorization mode actually restricts actions rather than allowing any authenticated request. An authenticated-but-always-allowed configuration lets any caller who can present a credential exec into containers and read logs. Authentication without enforced authorization is not a control.
Assess what the endpoint grants. For each exposed endpoint, determine what a caller obtains: reading other pods' environments and secrets, streaming logs, exec-ing into containers, or retrieving node credentials. This sets the severity, and it is usually node-wide, since the kubelet governs every pod on the node.
Confirm and record. Confirm by reaching a node endpoint from an unintended position, an anonymous request that returns pod data, a read-only port serving node state, or an authenticated request the authorization mode should deny, on a non-production node and without pivoting into neighbor pods. Kill the lead if node endpoints require authentication, the authorization mode restricts actions, anonymous access and the read-only port are disabled, and the kubelet is unreachable from workload pods. Record the caller source, the node-endpoint sink, and the anonymous or unauthorized access it permitted.
Confirm. From a workload pod, the node's kubelet API port is reachable and configured to allow anonymous requests. An anonymous call lists every pod on the node and streams a neighboring pod's logs, and an exec request into a neighbor succeeds. Confirmed anonymous kubelet access granting node-level control,
critical, remediation = disable anonymous authentication on the kubelet, set the authorization mode to enforce restrictions rather than always-allow, disable the read-only port, and block pod access to the kubelet port with network policy.Kill. The kubelet requires authentication, uses an authorization mode that restricts each action, has anonymous access and the read-only port disabled, and is unreachable from workload pods by network policy. An anonymous request is refused, an authenticated-but-unauthorized exec is denied, and pods cannot reach the port at all. Killed,
kill_reason= "kubelet requires authentication with enforced authorization, anonymous access and read-only port disabled, and unreachable from pods; no caller obtains node-level control."
You need the reachable node endpoints and from where (pod and network), each endpoint's authentication and, for the kubelet, its authorization mode, whether anonymous access and the read-only port are enabled, and what each exposed endpoint grants. For each endpoint, test anonymous and unauthorized access. Reading the kubelet configuration shows the intended posture; a node endpoint that answers an unintended caller shows whether it holds.
hunting-container-escape-surface - a node escape and kubelet reach compound; escape reaches the node,
the kubelet then grants control over every pod on it.mapping-pod-to-cloud-credential-reach - the kubelet and node role together are how a pod compromise becomes
node and cloud access; map both reaches.auditing-network-policy-segmentation-gaps - blocking pod access to the kubelet port is a segmentation
control; the two audits reinforce each other.mapping-attack-surface - use it to enumerate reachable node-local endpoints before testing each one's
authentication.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub unboundcompute/security-agent-skills --plugin security-agent-skills194 skills in this plugin
/adjudicating-dependency-cve-reachabilityDecide whether a CVE in a dependency actually exposes your application before you scramble to patch: is the vulnerable function on a real call path from your code, do the trigger preconditions hold, and can an attacker control the input that reaches it. Use when an advisory, SCA scan, or dependency bot flags a CVE and you must separate a genuine exposure from unreachable noise, or justify why you are or are not affected. Covers pinning the vulnerable symbol, call-path reachability, precondition checks, and taint from your entry points./adjudicating-taint-pathsDecide whether a whitebox lead is a real bug by tracing taint from an untrusted source to a dangerous sink and confirming every hop against live source. Use after a scanner, a candidate list, or your own reading surfaces a "this looks dangerous" sink (SQL exec, system/exec, file open, deserialize, template render, redirect target, memcpy) and you must decide whether attacker- controlled input actually reaches it - or kill the lead with evidence. Covers forward and reverse taint, witness paths, sanitizer analysis, and the evidence rules that separate a finding from a false positive.Other plugins' skills for the same job