This repository is a test to validate the Terraform External Data Source RCE vulnerability in CI/CD pipelines.
.github/
workflows/
terraform-orchestrator.yml # Main workflow
_terraform-module.yml # Reusable workflow
scripts/
build_matrix.py # Module detection script
infrastructure/
legit-module/
terraform/
main.tf
terraform.tfvars
- Fork this repository
- In your fork, create a new module with malicious payload
- Open a PR to this repository
- Observe if the workflow executes the payload