/sota-skills:sota-network-securityfrom SOTA Engineering Skills
Guides designing and auditing zero-trust network security: segmentation, Kubernetes NetworkPolicy/Cilium, service mesh mTLS, edge/ingress/egress WAF, DNS/TLS/PKI, and remote access (WireGuard, ZTNA).
Ships in SOTA Engineering 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.
Read when SKILL.md points to them.
This skill encodes the 2026 state of the art for network security as a discipline: how to verify rather than trust, contain blast radius, encrypt traffic in motion, control what enters and leaves, and secure the naming and transport plumbing (DNS, TLS, PKI). Every rule exists to prevent a real failure class — lateral movement after one foothold, plaintext credentials on the wire, an over-broad rule that exposes a secrets store to the world, a renewal nobody automated, or an SSRF that reaches the cloud metadata endpoint.
Ownership — reference siblings, do not duplicate:
Use when designing or extending a secure network (zero-trust plan, NetworkPolicy set, mesh rollout, ingress/egress controls, PKI/DNS posture, remote access).
world entity wherever the
policy language can express identity. Where it genuinely cannot — vanilla NetworkPolicy has no
identity selector for a destination outside the cluster — a tight ipBlock is a documented
exception, not a default: name the destination and the reason, and prefer a CNI that can
(rules/03 §3). Inside the cluster there is no exception: pod IPs are recycled, so a CIDR there
silently re-points the allow.Coverage: every rules/ file's Audit checklist applies in AUDIT mode. Mark one not applicable only with its reason in the report — never skip a file because the thing it checks for is absent, since that absence may be the finding.
Use when reviewing an existing network for segmentation gaps and exposure.
Process: inventory the fabric (zones, namespaces, CNI policies, mesh config, ingress/egress paths,
DNS zones, certs, remote-access entry points); walk the Audit checklist at the end of each relevant
rules file; confirm reachability before reporting — render the effective policy, run a probe
(kubectl exec ... curl, Hubble flow query, nmap), read the actual rule. Do not infer exposure
from a resource name.
| Severity | Meaning | Examples |
|---|---|---|
| Critical | External or any-workload party can reach a sensitive service or read traffic now | Secrets store / DB / registry reachable from a world/0.0.0.0/0 entity; plaintext DB creds or JWTs on the wire (sniffable from any pod); SSH open to the internet on a prod host; admin/dashboard reachable unauthenticated from outside |
| High | One foothold from broad lateral movement, or a guaranteed exposure/outage class | "Default-deny" that actually allows all intra-cluster traffic; no egress control (free C2/exfil path); flat L2/L3 network with no segmentation; manual cert renewal on a public endpoint; mTLS in PERMISSIVE everywhere with plaintext still flowing |
| Medium | Weakens containment, transport security, or recovery | Ingress-only default-deny (egress still open); CIDR-based internal rules that rot on re-IP; TLS 1.0/1.1 or weak ciphers allowed; no FQDN egress filtering where it's warranted; WAF in detection-only mode; no Hubble/flow visibility |
| Low | Hygiene, drift, headroom | Inconsistent policy labels; over-scoped but internal-only allow; missing HSTS; no CAA record; DNSSEC undecided |
| Info | Context for the reader, no action implied | Mesh is overkill for a 2-service app (just use TLS); ANP/BANP still alpha — pin behavior |
Severity = reachability (anonymous internet > any-workload east-west > same-namespace > insider) × impact (traffic read / sensitive-service compromise > lateral movement > availability).
file:line | rule | severity | effort | fix
netpol/baseline.yaml:14,
Caddyfile:30); for runtime-only findings name the resource (ns/payments | cilium effective).rules/03 R4 or R-egress-default-deny).Group repeated instances (e.g. 12 namespaces with no egress policy) into one finding with a count.
| File | Read this when... |
|---|---|
| rules/01-zero-trust-architecture.md | Establishing/auditing the model: never-trust-always-verify, PDP/PEP, identity-aware access over network location, ZTNA vs VPN, de-perimeterization, identity-aware proxy (BeyondCorp), telemetry-to-policy pruning loop, devices pillar (inventory, device certificates, posture-gated access, unmanaged-device isolation) |
| rules/02-segmentation-blast-radius.md | Designing/auditing zones and tiers, north-south vs east-west, the flat-network and over-broad-rule (any/0.0.0.0/0/world) traps, microsegmentation, lateral-movement containment, firewall/SG default-deny, remote access (WireGuard, bastion vs IAP), zone refinements (outbound-only DMZ, directory/log segments, shared-L7-balancer caveat, human-readable policy), legacy/plaintext quarantine zone, external exposure discovery |
| rules/03-k8s-network-policy.md | Writing/auditing Kubernetes NetworkPolicy, CiliumNetworkPolicy, the namespaced default-deny (ingress AND egress) pattern, the "default-deny that isn't" trap, ANP/BANP, L7/identity policy, DNS-aware egress, egress gateways, Hubble visibility, permitted-vs-observed policy pruning |
| rules/04-service-mesh-mtls.md | The plaintext-internal-traffic problem, choosing/auditing a mesh (Istio sidecar vs ambient, Linkerd, Cilium mesh), mTLS everywhere, mesh authorization policy, SPIFFE identity, peer-identity pinning for cross-org mTLS (SAN/SPKI, never CN), mTLS-mode drift alerting, and deciding mesh vs plain TLS |
| rules/05-edge-ingress-egress.md | WAF (CRS/Coraza) incl. virtual-patching lifecycle, rule-firing reports, WAF events to SIEM, positive model and WebSocket limits, ingress/API-gateway hardening, trace/diagnostic header scrubbing, request smuggling / proxy-chain desync (strict parsers, h2 downgrade, h2c), TLS termination + re-encryption, trusted-IP handling behind Cloudflare, DDoS posture (edge scrubbing + self-hosted kernel hardening: SYN cookies/synproxy, conntrack, rp_filter, no open UDP reflectors; byte caps and uplink capacity), egress as a first-class control, FQDN allowlisting, blocking the metadata endpoint, the SSRF-meets-egress chain |
| rules/06-dns-tls-pki.md | DNS security (DNSSEC, RPZ/DNS firewall, DoH/DoT, split-horizon, CAA, tunneling, subdomain takeover: dangling CNAME/NS/MX/SPF, wildcard records, takeover indicators + response), TLS posture (1.3, ciphers, HSTS, OCSP, full chain, explicit hybrid-PQ group list, ECH, legacy-client isolation), certificate issuance hygiene (SANs, no internal names, SHA-256, shared-cert inventory), shrinking cert lifetimes + ACME automation, internal PKI (step-ca), short-lived certs, pinning tradeoffs, email authentication & anti-spoofing (SPF/DKIM/DMARC, MTA-STS/DANE, bulk-sender rules) |
Cross-cutting tasks read multiple files: a full network audit touches all six; "lock down our cluster" is rules/02 + rules/03 (+ rules/04 if a mesh exists).
any / 0.0.0.0/0 / world to sensitive services. A secrets store, DB, registry, or
admin UI reachable from a broad entity is a Critical finding — render the effective rule and
prove the path, don't trust the rule's name.curl should fail).ws:///http:///unencrypted DB protocol. Mesh in STRICT, not
permissive-forever.rules/01-zero-trust-architecture.md (opens in a new tab)rules/02-segmentation-blast-radius.md (opens in a new tab)rules/03-k8s-network-policy.md (opens in a new tab)rules/04-service-mesh-mtls.md (opens in a new tab)rules/05-edge-ingress-egress.md (opens in a new tab)rules/06-dns-tls-pki.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Kubernetes, Docker, AWS, GCP, Azure
npx claudepluginhub martinholovsky/sota-skills --plugin sota-skills2 plugins ship this exact skill · first indexed Oct 25, 2026
43 skills in this plugin
/sotaMaster router for the SOTA engineering skills library. Use this skill whenever the user asks to build, design, implement, refactor, harden, optimize, review, or audit an application, service, or codebase and the request spans more than one domain — or when you are unsure which specific sota-* skill applies. Also use when working on a codebase you do not own: reviewing a pull request or diff, responding to code review, evaluating someone else's patch, or preparing an upstream contribution — including mid-session, once you are already reading source, a diff, or CI config. It maps the task (build or audit mode) to the right domain and language skills (Rust, Go, C/C++, JVM, Python, JS/TS, .NET/C#, PHP, Ruby, Swift). Trigger keywords: SOTA, best practices, audit my code, security review, compliance, hardening, prod readiness, code quality, pull request, PR review, review comment, maintainer feedback, patch, diff, upstream, contribute, merge request./sota-api-designState-of-the-art API design and audit guidance (2026) covering REST/HTTP, GraphQL, gRPC, WebSockets/SSE/realtime, webhooks, versioning/evolution, and API security/operations. Use when designing or building any API surface (endpoints, schemas, protos, realtime channels, webhook senders/receivers) AND when auditing/reviewing existing APIs for correctness, evolvability, security, and operational robustness. Not for browser UI, rendering, or client-framework concerns — use sota-web-frameworks or sota-frontend-design. Trigger keywords: API, REST, GraphQL, gRPC, endpoint, websocket, SSE, realtime, WebRTC, webhook, versioning, OpenAPI, pagination, idempotency, rate limit, problem+json, protobuf, deprecation.Other plugins' skills for the same job