iac-security-review
БесплатноБез исполняемых скриптовНе проверенSecurity review of Infrastructure-as-Code (Terraform, Kubernetes, CloudFormation). Use when reviewing IaC files for misconfigurations, overpermissioning…
от OWASP★ 248 звёзд на GitHubОб этом скилле
IaC Security Review
Review infrastructure-as-code for security risks by following the full procedure in plays/iac-security-review.md.
Steps
Detect IaC Type — Identify the infrastructure technology from file extensions and content:
.tf/.tofufiles → Terraform/OpenTofu (referencedata/secure-code-prompts/terraform.md)- Kubernetes manifests (apiVersion, kind: Deployment/Pod/Service) → Kubernetes (reference
data/secure-code-prompts/kubernetes.md) - CloudFormation templates (AWSTemplateFormatVersion, Resources with AWS::) → CloudFormation (reference
data/secure-code-prompts/cloudformation.md) - Helm charts (
Chart.yaml, templates/) → Kubernetes review with Helm-specific checks
Systematic Review by Security Domain (priority order):
- Identity & Access Management — Overly permissive policies, wildcard permissions, hardcoded credentials, privilege escalation paths
- Secrets Management — Hardcoded secrets, plaintext credentials, missing vault/secret manager integration
- Network Security — Open ingress (
0.0.0.0/0), unrestricted ports, missing segmentation, public exposure - Encryption — Missing encryption at rest/in transit, weak algorithms, default keys
- Storage Security — Public buckets, unencrypted volumes, missing versioning
- Logging & Monitoring — Missing audit trails, disabled CloudTrail/audit logging
- Resource Exposure — Databases, admin interfaces, APIs exposed to internet
- Supply Chain — Unpinned versions, untrusted sources, unverified modules/images
- Platform-Specific Risks — Terraform state exposure, K8s privileged containers, CFN nested stack integrity
Check Against Benchmarks — Validate configurations against:
- CIS Benchmarks (AWS/Azure/GCP/Kubernetes)
- Cloud provider security best practices
- Pod Security Standards (for Kubernetes)
Produce Findings — For each finding: cite resource path, explain the misconfiguration, describe attack scenario, provide fixed code example, rate severity.
Output
Findings sorted by severity using templates/finding.md format, summary with severity counts, and secure configuration improvements section.
References
- CIS Benchmarks (AWS, Azure, GCP, Kubernetes)
- OWASP Infrastructure Security Cheat Sheet
- NSA/CISA Kubernetes Hardening Guide
- Cloud provider Well-Architected Frameworks
Установить iac-security-review в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл 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.
Как установить скилл iac-security-review?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл iac-security-review запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic