Description-Behavior Mismatch
Medium
- Confidence
- 95% confidence
- Finding
- The script's stated purpose is provider normalization, but it also creates terraform.auto.tfvars.json containing access_key and secret_key values. Persisting cloud credentials to disk increases the chance of accidental disclosure through local compromise, backups, artifact collection, or mistaken git commits, especially because auto-loaded tfvars files are commonly consumed silently by Terraform.
