CfnGoat

No Change
trial
First Added:June 15, 2026 Updated: July 2, 2026

CfnGoat. Is Bridgecrew’s “Vulnerable by Design” AWS CloudFormation template repository.

Summary

Garden stance: We trial CfnGoat for our estate.

Key points: ### Compared to Sibling Goats

LensCfnGoatTerraGoatCdkGoat
IaC formatCloudFormation YAMLTerraform (HCL)AWS CDK to synthesized CFN
Scan targetcfngoat.yaml in repo.tf files and planscdk.out/*.template.json
Cloud focusAWSAWS, Azure, GCPAWS
Best fitDirect CFN template scanningMulti-cloud Terraform trainingCDK pipeline gates

Deployment Guardrails

  • Use a dedicated sandbox AWS account with no production data.
  • Upstream warns that stack create deploys intentionally insecure resources.
  • Pass CAPABILITY_NAMED_IAM; set a strong Password parameter per README.
  • Delete stacks when the lab ends (aws cloudformation delete-stack or console).
  • Scan locally with Checkov before any stack create.

Scan-First Lab Sketch

1
2
3
4
git clone https://github.com/bridgecrewio/cfngoat.git
cd cfngoat
checkov -f cfngoat.yaml
# Optional: create-stack in sandbox only after reviewing findings

Details

Compared to Sibling Goats

LensCfnGoatTerraGoatCdkGoat
IaC formatCloudFormation YAMLTerraform (HCL)AWS CDK to synthesized CFN
Scan targetcfngoat.yaml in repo.tf files and planscdk.out/*.template.json
Cloud focusAWSAWS, Azure, GCPAWS
Best fitDirect CFN template scanningMulti-cloud Terraform trainingCDK pipeline gates

Deployment Guardrails

  • Use a dedicated sandbox AWS account with no production data.
  • Upstream warns that stack create deploys intentionally insecure resources.
  • Pass CAPABILITY_NAMED_IAM; set a strong Password parameter per README.
  • Delete stacks when the lab ends (aws cloudformation delete-stack or console).
  • Scan locally with Checkov before any stack create.

Scan-First Lab Sketch

1
2
3
4
git clone https://github.com/bridgecrewio/cfngoat.git
cd cfngoat
checkov -f cfngoat.yaml
# Optional: create-stack in sandbox only after reviewing findings