skywalkskills

CatalogueDevOps & Platform

I2Ready

IaC Security Misconfiguration Audit

Reads your Terraform, CloudFormation or CDK for cloud resources that are open, unencrypted or easy to lose.

What it examines

  • Databases, buckets and ports open to the internet
  • Storage and traffic left unencrypted
  • Missing audit trails and network logs
  • Everything on one flat network
  • Resources that cannot be recovered once deleted
  • Whether anything checks the code before it is applied

What you get back

A findings file. Each item has the evidence, how serious it is, and a fix.

Dependencies

  • An AI coding agent that reads SKILL.md files, such as Claude Code, Codex or Gemini CLI
  • Read access to the infrastructure code: Terraform modules, CloudFormation or SAM templates, CDK or Pulumi programs, and Helm or Kustomize files that create cloud resources
  • The CI files that plan and apply that code
  • Optional: Checkov, Trivy, KICS or cfn-guard, if already installed. Their output is treated as leads only.
  • Optional: a read-only cloud account, to confirm that what the code describes is what exists
  • Python 3 with the jsonschema package, to check findings.json before fixing anything

How it works

The audit only reads. It never runs apply or deploy, or any command that creates, changes or deletes a resource.

It finds the resource types in use afresh and reads the modules your code calls, not just the root. It then runs every misconfiguration check.

With read-only cloud access it uses list and describe calls to confirm the code matches reality. Scanner output is a lead; a finding still needs a line the audit read itself.

You get findings.json and findings.md. The remediate skill reads findings.json, applies the contained fixes, and plans the rest.

Setup

  1. Unzip the download, then copy the audit and remediate folders into your agent's skills folder (for Claude Code, .claude/skills/) in the repository you want to check.
  2. If you want the live check, give your agent a read-only cloud profile. Skip this if you do not.
  3. Open the repository in your agent and ask it to run the i2-iac-security-misconfiguration-audit skill.
  4. Check the result with the validator: pip install jsonschema, then python3 schema/validate.py findings.json.
  5. Ask your agent to run the i2-iac-security-misconfiguration-remediate skill using findings.json.

Run it with your agent

Copy the prompt, fill in the parts in square brackets, and paste it into your agent.

Audit prompt

Run the i2-iac-security-misconfiguration-audit skill on this repository. Read-only cloud profile: [profile name, or none]. Never run apply or deploy. Mode: audit only. Do not change any code. Write findings.json and findings.md in the repository root.

Fix prompt, after you have findings.json

Run the i2-iac-security-misconfiguration-remediate skill using findings.json. Work through the findings I choose, and leave the rest open.

What is inside

The files that make up this skill, as your agent reads them.

packages/i2-iac-security-misconfiguration

audit › SKILL.md

Sign in to download

Use the email and password you signed up with.