Skip to content

fix(security): harden .gitignore, untrack env files#335

Open
dereyesm wants to merge 2 commits intosaleor:mainfrom
Grupo-Nymyka:fix/sec-gitignore-env
Open

fix(security): harden .gitignore, untrack env files#335
dereyesm wants to merge 2 commits intosaleor:mainfrom
Grupo-Nymyka:fix/sec-gitignore-env

Conversation

@dereyesm
Copy link
Copy Markdown

Summary

  • Untracked backend.env and common.env from git (were committed with defaults)
  • Added comprehensive .gitignore with protection for secrets, keys, credentials
  • Created .env.example templates for developer onboarding

Context

Arena MULTI-AUDIT-009: Security audit found these env files tracked in a public repo.
Current values are Saleor defaults but this is an accident waiting to happen.

Test plan

  • Verify backend.env and common.env still exist locally after merge
  • Verify new contributors can copy .example files

🤖 Generated with Claude Code

NymykaDev and others added 2 commits March 10, 2026 13:10
Saleor 3.22 headless API deploy: api + worker + PostgreSQL 15 + Redis.
Country CO, Currency COP. $21/mes estimated. No dashboard (MVP internal).
Shared SECRET_KEY via envGroup between api and worker.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Directed-By: Daniel Reyes, CPO Grupo Nymyka
Tracked .env files with potential secrets removed from git tracking.
Added .env.example templates for developer setup.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Directed-By: Ares (Arena MULTI-AUDIT-009)
@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants