Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

container-security

БесплатноБез исполняемых скриптовНе проверен

Container and Kubernetes security assessment — image vulnerability scanning, SBOM diff analysis, K8s cluster auditing, RBAC privilege mapping, NetworkPolicy…

hardw00tот hardw00t★ 109 звёзд на GitHub19 установок в других каталогах

Об этом скилле

Container Security

Thin router for container and Kubernetes security assessments. Load the reference, workflow, or payload file you need — do not read all of them.

When to Use

  • Scanning Docker/OCI images for CVEs (single image or pipeline)
  • Generating or attesting SBOMs (Syft / CycloneDX / SPDX)
  • Diffing SBOMs across releases to flag newly-introduced CVEs
  • Auditing a live Kubernetes cluster (CIS / NSA / MITRE)
  • Mapping K8s RBAC and finding privilege-escalation paths
  • Reviewing NetworkPolicy coverage
  • Authoring Falco / Tetragon runtime rules
  • Analyzing or testing container escape vectors (authorized only)
  • Docker daemon / host hardening review

Trigger Phrases

"scan this image", "trivy / grype / syft", "audit k8s cluster", "kube-bench", "kubescape", "run CIS benchmark", "check RBAC", "networkpolicy coverage", "falco rule", "container escape", "SBOM diff", "new CVEs since last release".

When NOT to Use This Skill

Request Use instead
Static scan of K8s YAML / Helm / Kustomize before deploy iac-security
Terraform / CloudFormation / Pulumi misconfig iac-security
EKS / GKE / AKS control-plane or managed-service misconfig cloud-security
Cloud IAM misconfiguration (beyond K8s RBAC) cloud-security
Application-code vulns inside the container sast-orchestration
Third-party library CVEs at source-code level sca-security
API endpoints exposed by containerized services api-security

Rule of thumb: pre-deployment YAML → iac-security; running cluster or built image → this skill.

Decision Tree

Target?
|
|-- Built/registry image ----------> workflows/image_scan.md
|     \-- two images to compare? --> workflows/sbom_diff.md    (FLAGSHIP)
|
|-- Dockerfile source -------------> examples/vulnerable_dockerfile.md
|                                    + hadolint (references/image_scanning.md)
|
|-- Live K8s cluster --------------> workflows/cluster_audit.md
|     |-- RBAC deep-dive ----------> workflows/rbac_analysis.md
|     |-- Network policy gap ------> workflows/network_policy_review.md
|     \-- CIS benchmark only ------> references/kubernetes_hardening.md
|
|-- Runtime monitoring ------------> references/runtime_security.md
|                                    + examples/falco_custom_rule.yaml
|
\-- Escape testing (authorized) --> references/container_escape.md
                                     + payloads/container_escape_poc.md

Parallelism Hints

Run concurrently (no shared state, no rate conflicts):

  • Trivy + Grype + Syft + Hadolint on the same image — always parallel
  • Scanners across multiple image tags — one sub-agent per tag
  • kube-bench across nodes — deploy as DaemonSet, collect in parallel
  • Kubescape frameworks (nsa, mitre, cis) — parallel invocations
  • RBAC object fetches (clusterroles, roles, bindings) — parallel
  • SBOM diff Grype scans (prior vs current) — parallel
  • Per-principal RBAC graph expansion — parallel (stateless)

Sequential only:

  • Cosign attestation (needs SBOM first)
  • Cross-scanner CVE consensus merge (needs all scanner outputs)
  • Finding emission (needs evaluated data)

Sub-Agent Delegation

  • Multi-image pipeline: spawn one sub-agent per image; each runs workflows/image_scan.md and returns finding records. Parent merges.
  • Multi-cluster environment: one sub-agent per cluster; each runs workflows/cluster_audit.md with its own kubecontext.
  • Cluster audit fan-out: parent runs inventory, then spawns sub-agents for rbac_analysis, network_policy_review, and runtime log triage in parallel.
  • SBOM diff per service: one sub-agent per service in a monorepo release; parent aggregates the "newly-introduced CVEs" roll-up.

Reasoning Budget

Task Budget
Running a scanner and capturing output Minimal
Applying CIS checks, filling checklists Minimal
SBOM canonicalization and package diff Minimal
Cross-scanner CVE consensus Moderate
RBAC privilege-graph traversal (principal -> cluster-admin) Extended
Container escape chain composition Extended
SBOM diff CVE exposure scoring + waiver decision Extended
Runtime alert triage (chaining Falco events to intent) Moderate

Extended thinking pays off where the answer requires composing many small facts into an attack path or risk decision

Полный SKILL.md на GitHub

Установить container-security в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

examples/falco_custom_rule.yamlexamples/vulnerable_dockerfile.mdpayloads/container_escape_poc.mdreferences/bounty_patterns_2024_2026.mdreferences/container_escape.mdreferences/image_scanning.mdreferences/kubernetes_hardening.mdreferences/runtime_security.mdschemas/finding.jsontemplates/assessment_report_template.mdworkflows/cluster_audit.mdworkflows/image_scan.mdworkflows/network_policy_review.mdworkflows/rbac_analysis.mdworkflows/sbom_diff.md

FAQ

Что делает скилл container-security?

Container and Kubernetes security assessment — image vulnerability scanning, SBOM diff analysis, K8s cluster auditing, RBAC privilege mapping, NetworkPolicy review, container escape testing, and runtime monitoring (Falco/Tetragon). Use when scanning Docker/OCI images, auditing K8s clusters, reviewing Dockerfiles, diffing SBOMs across releases, analyzing RBAC, or assessing container runtime posture. Triggers on requests involving Trivy, Grype, Syft, Kubescape, kube-bench, Falco, container escapes, or CIS Docker/K8s benchmarks.

Как установить скилл container-security?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл container-security запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить container-security с