iac-security-review

iac-security-review is a skill for Claude Code from uttej-badwane/secure-cloud-prompt-engineering. It costs 193 tokens per session (2,042 once invoked), scanned A, original, MIT.

A security reviewer for Infrastructure as Code: configuration files that define servers, containers, cloud resources, deployments, and automated build or release steps.

In plain words
What is it for?
It is for reviewing Terraform, Kubernetes, Dockerfiles, CloudFormation, Ansible, Helm, and CI/CD configuration against security standards.
Why use it?
It helps find insecure settings, vulnerabilities, and missing compliance controls before infrastructure is deployed.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the secure-cloud-prompt-engineering plugin — 1 skill, 5 commands, 3 agents, 3 hooks shipped together

Good fit It is for reviewing Terraform, Kubernetes, Dockerfiles, CloudFormation, Ansible, Helm, and CI/CD configuration against security standards.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/uttej-badwane/secure-cloud-prompt-engineering/iac-security-review
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add uttej-badwane/secure-cloud-prompt-engineering --skill iac-security-review
Clone the repo
git clone --depth 1 https://github.com/uttej-badwane/secure-cloud-prompt-engineering

Made for: Claude Code.

Or install secure-cloud-prompt-engineering, the plugin that ships this one along with the rest of its 1 skill, 5 commands, 3 agents, 3 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for iac-security-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/uttej-badwane/secure-cloud-prompt-engineering/iac-security-review/github.svg)](https://agentmods.dev/skills/uttej-badwane/secure-cloud-prompt-engineering/iac-security-review)
Your own site
<a href="https://agentmods.dev/skills/uttej-badwane/secure-cloud-prompt-engineering/iac-security-review"><img src="https://agentmods.dev/badge/skills/uttej-badwane/secure-cloud-prompt-engineering/iac-security-review/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for iac-security-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/uttej-badwane/secure-cloud-prompt-engineering/iac-security-review"><img src="https://agentmods.dev/badge/skills/uttej-badwane/secure-cloud-prompt-engineering/iac-security-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 193 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,042 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00193 $0.02042
Opus 5.5 $0.00077 $0.00817
Sonnet 5.5 $0.00039 $0.00408
Haiku 4.5 $0.00019 $0.00204

Measured 1mo ago against content hash 33ae1be2c8ad, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

iac-security-review scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/generate_report.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/iac-security-review/SKILL.md · 210 lines

How it starts

The opening of the file, as written. The whole thing — 210 lines — stays where its author put it; the contents beside it link to each section on GitHub.

IaC Security Review Skill

You are an expert Infrastructure as Code security reviewer. Perform thorough security assessments of IaC files, identifying vulnerabilities, misconfigurations, and compliance gaps. Prioritize findings by severity and provide actionable remediation guidance.

Workflow

Step 1: Identify Scope

Scan the current directory or the files the user provides. Classify each file by IaC type:

File Pattern Type
*.tf, *.tfvars Terraform
*.yaml, *.yml with apiVersion Kubernetes
Dockerfile* Docker
*.yaml with AWSTemplateFormatVersion CloudFormation
*.yaml with hosts: or tasks: Ansible
Chart.yaml, values.yaml Helm
.github/workflows/*.yml GitHub Actions
.gitlab-ci.yml GitLab CI
docker-compose*.yml Docker Compose
kustomization.yaml Kustomize

Report the scope summary to the user before proceeding.

Step 2: Run Security Checks

For each file, evaluate against the checklists in references/security-checks.md. Organize findings by these categories:

  1. CRITICAL — Immediate exploitation risk (public exposure, no auth, secrets in code)
  2. HIGH — Significant risk requiring prompt remediation (overly permissive IAM, missing encryption)
  3. MEDIUM — Best practice violations (missing logging, no resource limits)
  4. LOW — Hardening recommendations (tags, naming conventions)
  5. INFO — Observations and positive findings

Step 3: Map to Compliance Frameworks

For each finding, map to applicable compliance controls using references/compliance-mapping.md. Only include frameworks the user requests. If none specified, default to CIS + NIST 800-53.

Step 4: Generate Report

Use the scripts/generate_report.py script to produce a structured report:

python3 {SKILL_BASE_PATH}/scripts/generate_report.py \
  --format markdown \
  --output /tmp/iac-security-review-report.md

If the script is unavailable, generate the report directly in this format:

Read the full file on GitHub · 210 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +4 lines 33ae1be2c8ad
  2. 3mo ago First seen · 206 lines · 193 tokens per session scan A 2283ecd52408

Subscribe to this mod's changes

iac-security-review is a skill published in the GitHub repository uttej-badwane/secure-cloud-prompt-engineering (2 stars, last pushed 1mo ago), licensed MIT. It adds 193 tokens to every session and 2,042 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

iac-security-review compared with skills from other repositories

iac-security-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
iac-security-reviewuttej-badwane/secure-cloud-prompt-engineeringSkill21mo agoMITA193Claude Code
devops-engineerJeffallan/claude-skillsSkill13ktodayMITA107Claude Code
implementing-infrastructure-as-code-security-scanningxalgorix/xalgorixSkill1.6ktodayApache-2.0A81Claude Code, Codex
scanning-containers-with-trivy-in-cicdxalgorix/xalgorixSkill1.6ktodayApache-2.0A74Claude Code, Codex
performing-container-security-scanning-with-trivyxalgorix/xalgorixSkill1.6ktodayApache-2.0A48Claude Code, Codex
deployoliver-kriska/claude-elixir-phoenixSkill5803d agoMITA46Claude Code
securing-container-registry-imagesxalgorix/xalgorixSkill1.6ktodayApache-2.0C54Claude Code, Codex