iac-scan
Skill9 starsChanged 6 days agoApache-2.0View on GitHub
Terraform / OpenTofu / Nix / k8s manifest misconfiguration detection — open security groups, missing encryption, public S3/GCS, IAM wildcards, plaintext secrets, missing tags. Use when reviewing an IaC PR, gating `terraform apply` / `tofu apply`, auditing existing state for drift, or building a compliance report for cloud configuration.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- zeljkoobrenovic/sokrates-skillstheir own version, first seen Oct 2, 2026
- muhammedbassem-pixel/claude-skillstheir own version, first seen Sep 8, 2026
- ariadoss/superskillstheir own version, first seen Jun 21, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- ariadoss/superskills★ 12same name
- zeljkoobrenovic/sokrates-skills★ 3same name
- muhammedbassem-pixel/claude-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository18 other files it gives its agents.
- AGENTS.mdAGENTS.md
- container-scanSkill
- dashboardSkill
- dependency-choiceSkill
- dep-resolveSkill
- detection-rulesSkill
- eol-checkSkill
- exploit-testSkill
- fixSkill
- license-checkSkill
- repo-impactSkill
- sast-scanSkill
- sbom-generateSkill
- secret-scanSkill
- secure-code-writeSkill
- typosquat-checkSkill
- verify-fixSkill
- vex-publishSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 0 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 36
Read .vulnetix/capabilities.yaml.
- Very specific: line 54
If binaries.terraform: true (or tofu), suggest:
- Very specific: line 60
Don't run terraform apply from the skill.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Vulnetix IaC Scan Skill
Use when
- Pre-apply: scan
*.tf/*.tofufor misconfigurations. - PR review: catch open security groups, plaintext secrets, IAM wildcards.
- Audit existing infra against compliance baselines (CIS, NIST).
- Detect drift between repo IaC and deployed state.
- Pre-merge: gate on critical findings (e.g. publicly-readable S3).
Don't use for
- Source-code SAST — use
sast-scan. - Dockerfile / container analysis — use
container-scan. - Cloud runtime monitoring — Pix is static-only; use a CSPM for runtime.
Conventions
Follows skills/_lib/contract.md. In short: use the vulnetix_* MCP tools when the agent has them and the CLI otherwise — both shape their own output, so there is no jq step any more. Independent calls go out as concurrent Bash tool calls in one message. One trailing suggestion, not a playbook. See the contract for surface selection, output style and memory writes.
Step 1: Load capabilities
Read .vulnetix/capabilities.yaml. Confirm derived.has_iac: true or --paths provided. Otherwise abort.
Step 2: Run scan
vulnetix iac --paths "$PATHS" -o json > .vulnetix/iac.${TIMESTAMP}.jsonCaptures: open security groups, missing encryption, public S3/GCS, IAM wildcards, unpinned providers, secrets in plaintext, missing tags, unencrypted state backends.
Step 3: Render
| Severity | File:Line | Resource | Issue | Recommendation |
Group by file. For each high-severity issue, include a 2-3 line code example of the fix.
Step 4: Risk overlay
If binaries.terraform: true (or tofu), suggest:
terraform plan -no-color | head -200 # for context on what would changeDon't run terraform apply from the skill.
Memory update
.vulnetix/iac/<timestamp>.summary.yaml with finding counts.
Edge cases & gotchas
- Requires
derived.has_iac: trueOR explicit--paths. CWD without*.tffiles = empty result. - Detection is static — it cannot evaluate runtime variable interpolation.
var.environment == "prod"conditional logic is reported as both branches. terraform planintegration is suggestive only — the skill does NOT runterraform planautomatically (state access concerns).- Provider-specific rules (AWS / GCP / Azure) are detected via resource type prefixes; modules wrapping resources may obscure the type.
- Pre-existing infra not present in IaC (
terraform importcandidates) is not detected. - k8s manifest support is limited to top-level YAML in
*.yamlfiles with kind: matching common workload types.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

