Back to skills
SKILL.md
Infrastructure Hardening
ASecurityInfrastructure and container hardening — minimal images, non-root, read-only filesystems, capabilities dropping, seccomp/AppArmor, pod security standards, network policies, host CIS benchmarks, patch cadence, image scanning and runtime detection. Use to harden hosts, containers or clusters (hardening, container security, CIS benchmark, pod security, patching).
- 5 stars
- 0 votes
- 0 copies
- 0 views
- Added December 3, 2026
Security analysis
100/100npx -y skills add vectora-os/kit --skill infrastructure-hardening --agent claude-codeAre you the author of Infrastructure Hardening?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/vectora-os-infrastructure-hardening)---
name: infrastructure-hardening
description: Infrastructure and container hardening — minimal images, non-root, read-only filesystems, capabilities dropping, seccomp/AppArmor, pod security standards, network policies, host CIS benchmarks, patch cadence, image scanning and runtime detection. Use to harden hosts, containers or clusters (hardening, container security, CIS benchmark, pod security, patching).
metadata:
category: security
---
# Infrastructure hardening
## Purpose
Reduce the attack surface of infrastructure and keep it patched.
**Use when:** hardening reviews and baseline setup.
**Not for:** application code security.
## Inputs
- Images, manifests, hosts, scan results.
## Outputs
- Hardening changes and patch report.
## Read first
- [Project Brain](../../../project-brain/README.md) — `npm run brain -- query "infrastructure hardening"` for prior decisions, patterns and anti-patterns.
- [Security standard](../../../standards/security.md)
## Steps
1. **Baseline.** Assess against CIS / pod security restricted.
Done when gaps listed.
2. **Images.** Minimal, non-root, no shells where possible.
Done when scan clean of criticals.
3. **Runtime.** Drop capabilities, read-only FS, seccomp default.
Done when policies enforced.
4. **Patch.** Cadence and SLA by severity.
Done when patch status reported.
## Best practices
- Enforce with admission policies.
- Rebuild images regularly, not only on code change.
## Common mistakes
- Privileged containers.
- Host path mounts.
## Example
Restricted pod security enforced; 3 workloads fixed (root user, host path, added capabilities).
## Reusable prompt
```text
Apply the Infrastructure hardening skill (.agents/skills/infrastructure-hardening/SKILL.md).
Context: {{task card or question; links to PRD, ADRs, code paths}}
Constraints: {{approved thresholds, deadlines, allowed files}}
Assess against the baseline and propose hardening changes and patch cadence.
Return: Hardening changes and patch report..
Cite evidence (file:line, command output, source) for every claim; list open questions separately.
```
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.