Skip to content

fix: prevent credential leaks via .env files#1038

Open
mattcarrollcode wants to merge 1 commit into
meta-llama:mainfrom
mattcarrollcode:fix/env-security
Open

fix: prevent credential leaks via .env files#1038
mattcarrollcode wants to merge 1 commit into
meta-llama:mainfrom
mattcarrollcode:fix/env-security

Conversation

@mattcarrollcode
Copy link
Copy Markdown

Summary

  • Add .env and .env.* to root .gitignore (with !.env.example exception)
  • Rename committed .env files to .env.example templates
  • Update WhatsApp bot README to reference .env.example

Motivation

Two .env files with placeholder credentials were committed to git. The root .gitignore had no .env exclusion, so users who fill in real keys would have credentials tracked in version control.

Test plan

  • Verify .env files are ignored by git after this change
  • Verify .env.example files are visible and contain placeholder values
  • Verify WhatsApp bot README instructions still make sense

- Add .env and .env.* to root .gitignore (with !.env.example exception)
- Rename committed .env files to .env.example templates
- Update WhatsApp bot README to reference .env.example
@meta-cla meta-cla Bot added the cla signed label Apr 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant