Skip to content

Layered hardening guide covering OS, container, cloud, network, and database controls with CIS Benchmark and zero-trust guidance.

CCM score
42 of 100
skills.sh installs
181
GitHub stars
534
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers five layers: Linux OS, containers, cloud configuration, network, and databases, each with a checklist of controls
  • Includes CIS scanning commands for Docker, Kubernetes, and Linux (docker-bench-security, kube-bench, lynis, oscap) plus a base image comparison table
  • Enforces default-deny and least-privilege principles, with a priority framework that ranks internet-facing systems ahead of internal ones
  • Designed for teams preparing for SOC 2, PCI-DSS, HIPAA, or FedRAMP audits, with a CI/CD verification pipeline using Trivy and Checkov

Install

$ npx -y skills add ancoleman/ai-design-components --skill security-hardening -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Security Hardening

Purpose

Proactive reduction of attack surface across infrastructure layers through systematic configuration hardening, least-privilege enforcement, and automated security controls. Applies industry-standard CIS Benchmarks and zero-trust principles to operating systems, containers, cloud configurations, networks, and databases.

When to Use This Skill

Invoke this skill when:

  • Hardening production infrastructure before deployment
  • Meeting compliance requirements (SOC 2, PCI-DSS, HIPAA, FedRAMP)
  • Implementing zero-trust security architecture
  • Reducing container or cloud misconfiguration risks
  • Preparing for security audits or penetration tests
  • Automating security baseline enforcement
  • Responding to vulnerability scan findings

Hardening Layers

Security hardening applies across five infrastructure layers:

Layer 1: Operating System (Linux)

  • Kernel parameter tuning (sysctl)
  • SSH configuration hardening
  • User and group management
  • File system permissions and mount options
  • Service minimization
  • SELinux/AppArmor enforcement

Details

Repository
github.com/ancoleman/ai-design-components
Categories
Security, DevOps & Cloud
First seen
Jun 3, 2026

Questions

What does the security-hardening skill do?

It reduces attack surface across OS, container, cloud, network and database layers using CIS Benchmarks and zero-trust principles. It covers hardening production infrastructure, meeting compliance requirements such as SOC 2 and PCI-DSS, and building defense-in-depth security.

How do I install the security-hardening skill?

Run npx -y skills add ancoleman/ai-design-components --skill security-hardening -y in your project. Once installed, the agent can apply CIS Benchmark checks and least-privilege controls to your infrastructure configuration.

Which tools does the security-hardening skill use for scanning?

The skill points to tools such as docker-bench-security, kube-bench, Lynis and OpenSCAP for CIS scanning, plus Trivy, Checkov and Prowler for vulnerability and cloud posture checks. It also includes a CI/CD example that runs Trivy scans on a schedule.

Which other security skills sit in the same category?

In the Security category, this skill sits alongside azure-compliance, entra-agent-id, firebase-security-rules-auditor, security-audit and cloudflare-one. Its focus is hardening configuration across the five infrastructure layers rather than auditing a single platform.

More from ancoleman/ai-design-components

All 4

Similar to Security Hardening

More Security