iac-security

iac-security is a skill for Claude Code, Codex from UnitOneAI/SecuritySkills. It costs 97 tokens per session (3,095 once invoked), scanned A, original, MIT.

A security review of Infrastructure as Code—files that define cloud resources and settings—covering Terraform, CloudFormation, Pulumi, and Bicep.

In plain words
What is it for?
Use it to review infrastructure templates for secrets, public access, encryption, access control, logging, networks, software supply-chain risks, and resource hardening.
Why use it?
It helps catch unsafe cloud settings before they are deployed, including exposed resources, hardcoded secrets, weak encryption, and overly broad permissions.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/unitoneai/securityskills/iac-security
Any agent
npx skills add UnitOneAI/SecuritySkills --skill iac-security
Clone the repo
git clone --depth 1 https://github.com/UnitOneAI/SecuritySkills

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/unitoneai/securityskills/iac-security.svg)](https://agentmods.dev/skills/unitoneai/securityskills/iac-security)
Your own site
<a href="https://agentmods.dev/skills/unitoneai/securityskills/iac-security"><img src="https://agentmods.dev/badge/skills/unitoneai/securityskills/iac-security.svg" alt="Measured on agentmods" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,095 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00097 $0.03095
Opus 5 $0.00048 $0.01548
Sonnet 5 $0.00019 $0.00619
Haiku 4.5 $0.00010 $0.00310

Measured 5d ago against content hash 2c9724236f76, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

iac-security 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 5d ago.

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/cloud/iac-security/SKILL.md · 281 lines

How it starts

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

Infrastructure as Code Security Review

Overview

This skill performs a structured security review of Infrastructure as Code (IaC) templates covering Terraform, CloudFormation, Pulumi, and Bicep. It identifies security anti-patterns, misconfigurations, and policy violations by applying checks equivalent to those performed by static analysis tools (Checkov, tfsec, KICS, cfn-nag) while grounding findings in established frameworks: the OWASP Infrastructure as Code Security Cheat Sheet, SLSA v1.0 supply chain integrity requirements, and relevant CIS Benchmarks.

The review covers eight security domains: secrets management, public exposure, encryption, IAM and access control, logging, network security, supply chain integrity, and resource hardening. Each finding is mapped to a specific policy rule equivalent from Checkov, tfsec, or KICS.


When to Use

If a target is provided via arguments, focus the review on: $ARGUMENTS

  • Reviewing Terraform plans or modules before merge or deployment
  • Auditing CloudFormation templates for security misconfigurations
  • Evaluating Pulumi or Bicep code for anti-patterns
  • Supplementing or replacing static IaC scanning when tooling is unavailable
  • Preparing IaC for production deployment with security sign-off
  • Investigating findings from Checkov, tfsec, or KICS that need deeper analysis

Context

Infrastructure as Code enables declarative, version-controlled management of cloud resources. This power also means that a single misconfiguration in a template can expose production systems, leak credentials, or create attack surfaces at scale. IaC security scanning is a critical gate in the deployment pipeline.

The OWASP IaC Security Cheat Sheet categorizes common IaC vulnerabilities. SLSA v1.0 provides supply chain integrity requirements relevant to how IaC modules are sourced and deployed. CIS Benchmarks provide the specific configuration baselines against which resource configurations are evaluated.

Prerequisites

Read the full file on GitHub · 281 lines

Files

What ships with it

1 file 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. 5d ago First seen · 281 lines · 97 tokens per session scan A 2c9724236f76

Subscribe to this mod's changes

iac-security is a skill published in the GitHub repository UnitOneAI/SecuritySkills (58 stars, last pushed 2mo ago), licensed MIT. It adds 97 tokens to every session and 3,095 once invoked, about $0.0005 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-30.