masriyan/gemini-security-skills · Archived

kubernetes-security

Kubernetes and container security skill for cluster hardening, RBAC review, admission control (OPA Gatekeeper, Kyverno), Pod Security Standards, network policies, secrets management, runtime defense (Falco, Tetragon), image supply chain (cosign, SLSA, in-toto), and CIS benchmark compliance.

First seen Jun 26, 2026

Installation

$ npx skills add masriyan/gemini-security-skills --skill kubernetes-security

Summary

  • Kubernetes and container security skill for cluster hardening, RBAC review, admission control (OPA Gatekeeper, Kyverno), Pod Security Standards, network policies, secrets management, runtime defense (Falco, Tetragon), image supply chain (cosign, SLSA, in-toto), and CIS benchmark compliance.
  • Use to assess and harden clusters you operate.

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from masriyan/gemini-security-skills · top by installs.

npx skills add masriyan/gemini-security-skills

Browse all from masriyan/gemini-security-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 3
License LICENSE
Default branch main
Open issues 0
Status Archived

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,007 B
  • docs SUMMARY.md 365 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 2 installs

SKILL.md

Kubernetes Security

Authorization Boundary

  • Require cluster context, namespace scope, and read-only kubeconfig before live queries.
  • Avoid disruptive runtime probes on production; prefer staging or ephemeral clusters.

Hardening Workflow

  1. Inventory: API server flags, node OS, CNI, CSI, ingress, service mesh, admission plugins, controllers.
  2. Scan: kube-bench, kubescape, trivy k8s, polaris, kubeaudit, popeye.
  3. RBAC: enumerate ClusterRole/RoleBinding; flag wildcard verbs, system:masters, escalate, bind, impersonate, secret reads from broad subjects.
  4. Workloads: enforce Pod Security restricted, drop capabilities, read-only rootfs, non-root UID, seccomp RuntimeDefault, no hostPath/hostNetwork/hostPID.
  5. Network: default-deny NetworkPolicy; explicit egress to known services; mTLS via mesh where applicable.
  6. Supply chain: signed images (cosign verify), provenance attestations (SLSA), admission policy that blocks unsigned.
  7. Runtime: Falco/Tetragon rules for exec-in-container, reverse shells, crypto miners, sensitive mounts.

Multi-Tenant Patterns

  • Namespace-per-tenant with quotas, limit ranges, and NetworkPolicy isolation.
  • Separate node pools for untrusted workloads; gVisor or Kata for sandboxing.
  • Per-tenant audit log filters; secrets via external KMS, never inline.

Output Contract

  • inventory.yaml, findings.csv, policies/ (Gatekeeper/Kyverno), netpol/, runtime/falco-rules.yaml.
  • runbook.md: incident response for compromised pod, leaked token, miner detection.
  • gap.md: missing telemetry and proposed fixes.