npx skills add ...
npx skills add owasp/secure-agent-playbook --skill iac-security-review
Security review of Infrastructure-as-Code (Terraform, Kubernetes, CloudFormation). Use when reviewing IaC files for misconfigurations, overpermissioning, exposed resources, missing encryption, secrets in code, and supply chain risks. Covers CIS benchmarks and cloud security best practices.
npx skills add owasp/secure-agent-playbook --skill iac-security-review
Review infrastructure-as-code for security risks by following the full procedure in plays/iac-security-review.md.
Detect IaC Type — Identify the infrastructure technology from file extensions and content:
.tf / .tofu files → Terraform/OpenTofu (reference data/secure-code-prompts/terraform.md)data/secure-code-prompts/kubernetes.md)data/secure-code-prompts/cloudformation.md)Chart.yaml, templates/) → Kubernetes review with Helm-specific checksSystematic Review by Security Domain (priority order):
0.0.0.0/0), unrestricted ports, missing segmentation, public exposureCheck Against Benchmarks — Validate configurations against:
Produce Findings — For each finding: cite resource path, explain the misconfiguration, describe attack scenario, provide fixed code example, rate severity.
Findings sorted by severity using templates/finding.md format, summary with severity counts, and secure configuration improvements section.