Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

iac-security

Skill by snyk

IaC Security is a Snyk agent skill that scans infrastructure as code for misconfigurations, security risks and compliance violations before deployment. It is for developers and platform teams working with Terraform, Kubernetes, CloudFormation or Azure ARM.

  • Score 70
  • 72 stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install iac-security

Built from the published package, never by AI.

git clone --depth 1 https://github.com/snyk/studio-recipes /tmp/studio-recipes && mkdir -p ~/.claude/skills && cp -r /tmp/studio-recipes/command_directives/synchronous_remediation/skills/iac-security ~/.claude/skills/iac-security

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install iac-security in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

IaC Security is an agent skill from Snyk that scans infrastructure as code for misconfigurations, security risks and compliance violations before deployment. It covers Terraform (.tf, .tf.json and .tfvars files, plus plan JSON), Kubernetes and Helm manifests, AWS CloudFormation, Azure ARM templates and Serverless Framework files. The skill runs the snyk_iac_scan tool through a Snyk MCP server.

The skill guides the assistant through discovery, scanning, severity triage and remediation. Its examples include blocking public S3 access, restricting security group rules and enabling RDS encryption. It also covers re-scanning to verify fixes and recording accepted risks in a .snyk policy file. It suits developers and platform teams who write or review infrastructure code and want checks before deployment.

Written from the project's SKILL.md and checked against it.

What it can do

  • snyk_iac_scanScans a directory or file for infrastructure as code security issues.
  • Terraform variable scanningScans Terraform directories using a .tfvars file passed as var_file.
  • Terraform plan scanningScans plan JSON produced by terraform show -json for more accurate results.
  • Custom rulesRuns scans with a custom rules bundle written in Rego.
  • Severity triageGroups findings as Critical, High, Medium or Low in summary tables.
  • Domain groupingSorts issues into network, data protection, access control and logging.
  • Remediation patternsProvides secure configuration examples for Terraform, Kubernetes and CloudFormation.
  • Fix verificationRe-scans after changes and compares issue counts before and after.

What you need

  • Snyk MCP server connection
  • Authenticated Snyk account
  • Terraform CLI (optional, for plan-based scanning)

Try asking

  • Scan my Terraform directory for security misconfigurations
  • Check this Kubernetes manifest for pod security issues
  • Review my CloudFormation template and suggest secure fixes

Good to know

  • Plan-based Terraform scanning requires the optional Terraform CLI.
  • Helm charts are supported only when a Chart.yaml file is present.
  • Custom rules must be written in Rego and bundled as .tar.gz.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: command_directives/synchronous_remediation/skills/iac-security/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: mcp_snyk_snyk_iac_scan Read Write Edit Bash Grep

Alternatives to iac-security

All alternatives →

Compare with function_health, windows-privilege-escalation or github-actions-advanced

iac-security: common questions

Which IaC formats does it support?

Terraform (.tf, .tf.json, .tfvars), Terraform plan JSON, Kubernetes YAML, Helm charts, AWS CloudFormation, Azure ARM templates and serverless.yml are listed as supported.

How are accepted risks handled?

The skill suggests a .snyk policy file with ignore entries that include a reason and an expiry date.

Does it scan Terraform plans?

Yes. It can scan plan JSON created with terraform show -json, which the skill describes as more accurate than scanning files alone.

How do I install iac-security?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is iac-security free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is iac-security safe to use?

It scores 70 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to iac-security?

Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.

iac-security Install

Add to stack

Loading.