security-hardening

Automates security hardening for cloud and container infrastructure using CIS benchmarks.

6|Updated Dec 7, 2025
One-click install
npx skills add https://github.com/timequity/plugins --skill security-hardening-timequity
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-hardening
Source: https://github.com/timequity/plugins/tree/main/craft-coder/infra/security-hardening
Command: npx skills add https://github.com/timequity/plugins --skill security-hardening-timequity

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides infrastructure security guidance aligned with CIS benchmarks, Kubernetes hardening, and practical scanning commands to reduce risk.

Core Features & Use Cases

  • CIS Benchmarks: Guidelines for AWS and Kubernetes security.
  • Pod & Network Security: Pod security settings and network policies.
  • Secrets Management: Secure secret handling with examples.
  • Scanning: Commands for container, IaC, and Kubernetes scanning.

Quick Start

Implement the shown CIS controls, apply the Pod Security and NetworkPolicy examples, and run the scanning commands (e.g., trivy image, tfsec ., checkov -d .) as part of your security hardening workflow.

Frequently Asked Questions about security-hardening

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I harden AWS and Kubernetes infrastructure with CIS benchmarks?

CIS benchmarks provide security configuration guidelines for AWS and Kubernetes. This Skill applies those benchmarks by enabling CloudTrail, VPC Flow Logs, encrypting EBS volumes, configuring RBAC, enforcing pod security policies, and implementing network policies to reduce attack surface across multi-region deployments.

What pod security settings should I apply to container workloads?

Pod security hardening includes running containers as non-root, enforcing read-only root filesystems, setting resource limits, dropping all capabilities, and disabling privilege escalation. These controls prevent privilege escalation attacks and limit blast radius if a container is compromised.

How do I scan infrastructure code and container images for security issues?

Infrastructure scanning integrates tools like Trivy for container images, tfsec for Yaml, Checkov for IaC, and Kubesec for Kubernetes manifests. Running these scanners via CLI commands validates that deployments comply with security policies and detects drift from hardened baselines.

Can I apply network policies and secrets management to Kubernetes clusters?

Yes. Network policies restrict pod-to-pod and pod-to-external traffic, while secrets management examples show secure handling practices. Both are implemented through YAML manifests integrated into your deployment workflow to enforce least-privilege access.

What's the difference between scanning tools like Trivy, tfsec, and Checkov?

Trivy scans container images and filesystems for vulnerabilities, tfsec audits Terraform code for misconfigurations, and Checkov validates IaC policies across multiple frameworks. Each targets a different layer—runtime, infrastructure code, and policy enforcement—for comprehensive hardening coverage.