Takeaway
.env.production is not a secret store
Why
Filenames that sound safe still get committed — use a real secret manager for prod.
Do this
- Keep only examples in git (.env.example).
- Load prod secrets from the platform store.
- Scan CI for accidental .env commits.