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 (1,937 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 1,937 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.01937
Opus 5 $0.00097 $0.00968
Sonnet 5 $0.00039 $0.00387
Haiku 4.5 $0.00019 $0.00194

Measured 10d ago against content hash 2283ecd52408, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 10d 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 · 206 lines

How it starts

The opening of the file, as written. The whole thing — 206 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 · 206 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. 10d 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 6mo ago), licensed MIT. It adds 193 tokens to every session and 1,937 once invoked, about $0.0010 per session on Opus 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

Other skills, from other repositories

devops-engineer

Creates Dockerfiles, configures CI/CD pipelines, writes Kubernetes manifests, and generates Terraform/Pulumi infrastructure templates. Handles deployment automation, GitOps configuration, incident response runbooks, and internal developer platform tooling. Use when setting up CI/CD pipelines, containerizing…

Jeffallan/claude-skills · 107 tokens

implementing-infrastructure-as-code-security-scanning

This skill covers implementing automated security scanning for Infrastructure as Code (IaC) templates using tools like Checkov, tfsec, and KICS. It addresses detecting misconfigurations in Terraform, CloudFormation, Kubernetes manifests, and Helm charts before deployment, establishing policy-based governance, and…

xalgorix/xalgorix · 81 tokens

scanning-containers-with-trivy-in-cicd

This skill covers integrating Aqua Security's Trivy scanner into CI/CD pipelines for comprehensive container image vulnerability detection. It addresses scanning Docker images for OS package and application dependency CVEs, detecting misconfigurations in Dockerfiles, scanning filesystem and git repositories, and…

xalgorix/xalgorix · 74 tokens

deploy

Elixir/Phoenix deployment patterns — Dockerfile, fly.toml, runtime.exs, mix release, rel/ overlays. Use when configuring Fly.io, Docker, CI/CD, health checks, or production migrations.

oliver-kriska/claude-elixir-phoenix · 46 tokens

performing-container-security-scanning-with-trivy

Scan container images, filesystems, and Kubernetes manifests for vulnerabilities, misconfigurations, exposed secrets, and license compliance issues using Aqua Security Trivy with SBOM generation and CI/CD integration.

xalgorix/xalgorix · 48 tokens

supply-chain-attack-recon

External recon for software supply-chain attack surface — package-namespace squatting candidates, dependency-confusion vulnerabilities, GitHub Actions injection openings, container image registry exposure, SBOM mining, internal-package-name leakage, and CI/CD configuration exposure. Reconnaissance and identification…

uphiago/recon-skills · 141 tokens