Email security@warondisease.org
The pre-commit hook blocks commits containing:
- API keys (AWS, OpenAI, Anthropic, Google, Slack, GitHub)
- JWT tokens
- Private keys
- Hardcoded passwords
cp .env.example .env
# Edit .env with your actual values
# .env is gitignored — it stays local- No credentials in code. Use
process.env.WHATEVER. - No credentials in tests. Mock API responses, don't hit real APIs.
- No credentials in CI configs. Use GitHub Secrets.
- .env.example has placeholder values only — never real keys.
- Pre-commit hook runs automatically. Don't bypass with
--no-verifyunless you're sure.