← ClaudeAtlas

auditing-infrastructure-as-code-exposureslisted

Audit existing infrastructure-as-code definitions (Terraform, OpenTofu, CloudFormation, Bicep, Pulumi) for resource state that would provision an insecure resource, after variables, modules, and account defaults are resolved. Covers storage exposed to the public, a security-group or firewall rule open to the whole internet on a sensitive port, an identity or resource policy with wildcard actions or principals, encryption left off or a snapshot or image shared publicly, logging or audit trails disabled, and a plaintext secret in a variable default or connection string. Use when reviewing the static definition files, not authoring or refactoring them, and not walking the runtime identity graph. The declared resource block is the source, the insecure provisioned resource it would create is the sink, and effective config that violates the baseline is the bug.
UnboundCompute/security-agent-skills · ★ 4 · DevOps & Infrastructure · score 80
Install: claude install-skill UnboundCompute/security-agent-skills
# Auditing infrastructure-as-code exposures: what the definition would actually provision Infrastructure-as-code is desired state, so the bug is not what a line says but what the resource becomes once variables resolve, modules compose, and account defaults apply. A bucket ACL that reads public may be overridden by an account block, and a security group open to the internet may sit in a private subnet nothing routes to. This audit reads the definition and asks one question per resource: once applied, does this provision a resource that violates its security baseline, least exposure, encryption on, least privilege, logging on, no plaintext secret. Everyone has the checklist; the work that matters is adjudicating the effective config and killing the finding that a different layer already neutralizes. Anchor on auditing what exists, not generating or refactoring it. ## When to use - You have Terraform, OpenTofu, CloudFormation, Bicep, or Pulumi definitions for infrastructure in scope. - A resource block declares storage, a network rule, an identity or resource policy, encryption, or logging. - You want to know which blocks would provision an insecure resource once applied, not just which lines look wrong. ## Scope check Audit only definitions for infrastructure you own or are authorized to assess, and never apply a definition or mutate a live account to test a finding, adjudicate on the resolved config, not by provisioning. If you can't name the authorization, stop. ## The