Skip to content
Security
Skill

/iac-security-review

Review Infrastructure-as-Code (Terraform, CloudFormation, ARM/Bicep, Pulumi, Ansible, Helm) for security misconfigurations before deployment — public exposure, weak IAM, missing encryption, open networking, and hardcoded secrets. Use to shift-left and catch cloud/k8s misconfig

From plugin
awesome-claude-security
11111 skills17 agents13 commands1 MCP

Claude Code

$ npx -y skills add jassics/awesome-claude-security --skill iac-security-review --agent claude-code

SKILL.md

iac-security-review.SKILL.md
name: iac-security-review
description: >-
  Review Infrastructure-as-Code (Terraform, CloudFormation, ARM/Bicep, Pulumi,
  Ansible, Helm) for security misconfigurations before deployment — public exposure,
  weak IAM, missing encryption, open networking, and hardcoded secrets. Use to
  shift-left and catch cloud/k8s misconfig at the code layer.

Goal

A triaged set of IaC security findings, each tied to the resource/line and a fix — so misconfigurations are caught before they reach a live environment.

What to review (see `reference.md` for the checklist)

1. **Public exposure** — resources open to the internet (security groups/NSGs/ firewall `0.0.0.0/0`, public buckets/storage, public IPs on sensitive hosts). 2. **Identity** — over-broad IAM policies, wildcard permissions, default/no roles, long-lived credentials defined in code, session duration raised beyond what the workload needs, and trust policies missing confused-deputy conditions (`aws:SourceArn`/`SourceAccount`/`ExternalId`) on third-party/cross-account roles. 3. **Encryption** — storage/volumes/databases without encryption at rest; TLS not enforced; default/unmanaged keys. 4. **Logging & monitoring** — audit logging/flow logs not enabled by the IaC. 5. **Secrets** — hardcoded passwords/keys/tokens in variables, defaults, or state (cross-ref `secrets-management-review`). 6. **Module/provider hygiene** — untrusted/unpinned modules, provider versions, drift between code and deployed state. 7. **Helm chart defaults** — a chart's `values.yaml` default (empty `resources`, `networkPolicy.enabled: false`, `ingress.tls: []`) silently becomes every `helm install`'s config, not just this deployment's — a distribution-scale version of the same "no safe default" risk, one layer up.

Steps

1. Identify the IaC type and scope; run an IaC scanner if available (Checkov, tfsec/Trivy, KICS, cfn-nag) or review the templates directly. 2. Triage findings: map each to the resource and confirm it's a real exposure (not a scanner false positive); note severity and blast radius. 3. Check for hardcoded secrets and sensitive values in variables/state. 4. Provide the corrected IaC snippet per finding.

Output

A findings table: file:line · resource · misconfig · severity · fix (corrected snippet). Confirmed issues → `security-reporting:finding`. These map to the same controls `cloud-security` / `k8s-security` check at runtime.

Notes

Shift-left: fixing in IaC prevents the misconfig everywhere it's deployed and stops drift. Treat secrets in code/state as high severity. Pin and vet third-party modules — they run with your deploy credentials.

Read more
@jassics
Ships withawesome-claude-security

A Claude Code plugin marketplace for the full cybersecurity & GenAI-security lifecycle — from recon and threat modeling to detection engineering, GRC, and CISO-level strategy. A pentester knows which OWASP test bends a broken-access-control endpoint.

11111 skills17 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
11
Star history of jassics/awesome-claude-security on GitHub, a chart by star-history.com

Other skills on awesome-claude-security.

More skills from other plugins.

api-security

api-security

Use for authorized security assessment of REST, GraphQL, WebSocket, or SOAP APIs, including discovery, authentication,…

@zhaoxuya520@zhaoxuya520Install Skill
nemoclaw-user-guide

nemoclaw-user-guide

Find official NemoClaw documentation for installation, configuration, operation, or troubleshooting. Also handles requested docs…

nemoclaw12d23k
@nvidia@nvidiaInstall Skill

Questions about iac-security-review.

Which coding agents can use iac-security-review?
iac-security-review installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.