sc-iac

Detect security misconfigurations in Infrastructure-as-Code files across Dockerfiles, Kubernetes, Terraform, and CI workflows.

7|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/fatihkan/badi --skill sc-iac-fatihkan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sc-iac
Source: https://github.com/fatihkan/badi/tree/main/.claude/skills/security-check/sc-iac
Command: npx skills add https://github.com/fatihkan/badi --skill sc-iac-fatihkan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scans Infrastructure-as-Code files for security misconfigurations including Dockerfile anti-patterns, Kubernetes privilege escalation, Terraform resource exposure, and GitHub Actions injection vulnerabilities. Covers the full deployment pipeline from build to runtime.

Core Features & Use Cases

  • Dockerfile and container security checks for root access, privileges, and insecure patterns.
  • Kubernetes security checks such as privileged containers, hostPath mounts, and missing resource limits.
  • Terraform checks for public resources, overly permissive IAM policies, and exposed secrets.
  • GitHub Actions workflow checks to prevent script injection and secret leakage in CI pipelines.
  • Generates structured findings with severity, context, and actionable remediation guidance.

Quick Start

Run the IaC scanner against your repository to detect misconfigurations in Dockerfiles, Kubernetes, Terraform, and GitHub Actions workflows.

Frequently Asked Questions about sc-iac

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect security misconfigurations in Terraform and Kubernetes manifests?

You can detect security misconfigurations in Terraform and Kubernetes by scanning IaC files for insecure patterns like privileged containers and public resources. This skill checks these manifests and outputs structured findings with severity and remediation guidance.

What are common Dockerfile security misconfigurations and how do I check for them?

Common Dockerfile security misconfigurations include running containers with root privileges, using insecure defaults, and passing secrets in build args. Scanning your IaC files identifies these anti-patterns and provides actionable remediation steps to secure your container builds.

How do I prevent script injection vulnerabilities in GitHub Actions workflows?

To prevent script injection in GitHub Actions workflows, scan your CI pipeline definitions to detect insecure patterns and potential secret leakage. This skill analyzes workflow files to identify injection risks and outputs structured findings with guidance to secure your deployment pipelines.

Can I scan infrastructure as code files across Docker, Kubernetes, Terraform, and CI workflows simultaneously?

Yes, you can scan infrastructure as code files across Docker, Kubernetes, Terraform, and GitHub Actions simultaneously. This skill covers the full deployment pipeline from build to runtime, applying checks for insecure patterns across all supported formats.

Does this IaC security scanner require any external dependencies or tools to run?

No external dependencies are required to run this IaC security scanner. It operates directly on your infrastructure as code files to detect misconfigurations and generate structured findings without needing additional tools or complex environment setup.

What is the best way to find exposed secrets and overly permissive IAM policies in Terraform?

The best way to find exposed secrets and overly permissive IAM policies in Terraform is to run an IaC security scan. This skill analyzes Terraform definitions for public resources and permissive policies, outputting structured findings with severity levels and actionable remediation guidance.