terraform-security-audit

Audit Terraform AWS infrastructure for security vulnerabilities and policy flaws.

3|Updated Mar 10, 2026
One-click install
npx skills add https://github.com/infraspecdev/tesseract --skill terraform-security-audit-infraspecdev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terraform-security-audit
Source: https://github.com/infraspecdev/tesseract/tree/main/shield/skills/terraform/security-audit
Command: npx skills add https://github.com/infraspecdev/tesseract --skill terraform-security-audit-infraspecdev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you catch security weaknesses in Terraform AWS code that basic validation and automated scanners often miss, including overly broad IAM access, risky network exposure, weak encryption choices, and unsafe Checkov skips.

Core Features & Use Cases

  • Deep IAM Review: Expands policy statements mentally to spot wildcard actions, excessive resource scope, and missing trust conditions.
  • Network Exposure Tracing: Maps public-to-private paths through subnets, security groups, and NACLs to uncover hidden ingress or egress risks.
  • Encryption Validation: Verifies that data stores, logs, and backups use customer-managed keys and enforce secure transport.
  • Use Case: Review a new AWS environment before deployment to confirm least privilege, isolate sensitive subnets, and produce a structured risk report.

Quick Start

Ask the skill to audit the attached Terraform component for AWS security risks and have it review IAM, network, encryption, and Checkov skip findings.

Frequently Asked Questions about terraform-security-audit

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

FAQPage Schema
How do I audit Terraform AWS infrastructure for security vulnerabilities?

To audit Terraform AWS infrastructure for security vulnerabilities, you inspect IAM policy documents for least-privilege, trace network exposure through subnets and security groups, validate KMS encryption settings, and analyze Checkov skips to produce a structured risk report.

What is the best way to find overly broad IAM access in Terraform code?

Finding overly broad IAM access in Terraform code requires expanding aws_iam_policy_document blocks to spot wildcard actions, excessive resource scopes, and missing trust conditions during a static security assessment.

How do I trace public-to-private network exposure paths in Terraform?

Tracing public-to-private network exposure paths in Terraform involves mapping ingress and egress risks through subnets, security groups, and NACLs to uncover hidden routes from public to private resources.

How do I verify KMS encryption settings and secure transport in Terraform components?

Verifying KMS encryption settings and secure transport in Terraform components requires checking that data stores, logs, and backups use customer-managed keys and enforce secure transport configurations.

Can I identify unsafe Checkov skips during a static Terraform security assessment?

Identifying unsafe Checkov skips during a static Terraform security assessment is possible by analyzing skipped security checks to determine if they mask actual vulnerabilities or policy flaws in your AWS infrastructure.