container-security

A set of procedures for checking the security of containers and Kubernetes, a system for running containers across machines. It covers image vulnerabilities, software inventories, cluster settings, permissions, network rules, and runtime threats.

In plain words
What is it for?
Use it to scan Docker or OCI images, compare software inventories between releases, audit Kubernetes clusters, review permissions and network policies, create runtime detection rules, and test container escape risks with authorization.
Why use it?
It helps find security weaknesses before attackers or malicious code can use them. It also separates container and Kubernetes checks from infrastructure-as-code reviews.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/evilfreelancer/secs/container-security
Any agent
npx skills add EvilFreelancer/secs --skill container-security
Clone the repo
git clone --depth 1 https://github.com/EvilFreelancer/secs

Made for: Claude Code, Codex.

Per session 118 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,387 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00118 $0.02387
Opus 5 $0.00059 $0.01193
Sonnet 5 $0.00024 $0.00477
Haiku 4.5 $0.00012 $0.00239

Measured 2d ago against content hash 0ec55ffe0dab, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

container-security scanned grade A with 1 finding 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 2d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| Kubescape | K8s security platform | `curl -s https://raw.githubusercontent.com/kubescape/kubescape/master/install.sh \| /bin/bash` |
.agents/skills/container-security/SKILL.md · 196 lines

How it starts

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

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 exploiting-cloud-platforms
Cloud IAM misconfiguration (beyond K8s RBAC) exploiting-cloud-platforms
Application-code vulns inside the container auditing-code-for-vulnerabilities
Third-party library CVEs at source-code level auditing-supply-chain
API endpoints exposed by containerized services testing-apis

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

Read the full file on GitHub · 196 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. 2d ago First seen · 196 lines · 118 tokens per session scan A 0ec55ffe0dab

Subscribe to this mod's changes

container-security is a skill published in the GitHub repository EvilFreelancer/secs (10 stars, last pushed 23d ago), licensed Apache-2.0. It adds 118 tokens to every session and 2,387 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

Blue Team Defense & Hardening

System hardening, detection engineering, security baseline monitoring, patch management, defense-in-depth architecture, and security posture improvement.

Masriyan/Claude-Code-CyberSecurity-Skill · 30 tokens

analyzing-email-headers-for-phishing-investigation

Parse and analyze email headers to trace the origin of phishing emails, verify sender authenticity, and identify spoofing through SPF, DKIM, and DMARC validation.

26zl/cybersec-toolkit · 44 tokens

analyzing-golang-malware-with-ghidra

Reverse engineer Go-compiled malware using Ghidra with specialized scripts for function recovery, string extraction, and type reconstruction in stripped Go binaries.

26zl/cybersec-toolkit · 40 tokens

analyzing-prefetch-files-for-execution-history

Parse Windows Prefetch files to determine program execution history including run counts, timestamps, and referenced files for forensic investigation.

26zl/cybersec-toolkit · 34 tokens

analyzing-ios-app-security-with-objection

Performs runtime mobile security exploration of iOS applications using Objection, a Frida-powered toolkit that enables security testers to interact with app internals without jailbreaking. Use when assessing iOS app security posture, bypassing client-side protections, dumping keychain items, inspecting filesystem…

26zl/cybersec-toolkit · 99 tokens

add-tool

Use when adding a new cybersecurity tool to this installer. Walks through editing the right module file, adding to toolsconfig.json, running validators, and syncing MCP server data if needed. Triggers on phrases like "add tool", "add ", "register a new tool", "include X in the installer".

26zl/cybersec-toolkit · 68 tokens