Skip to content

docs: correct overstated "secret leak" claim in architecture review - #113

Open
groupthinking wants to merge 1 commit into
masterfrom
claude/fix-env-leak-claim
Open

docs: correct overstated "secret leak" claim in architecture review#113
groupthinking wants to merge 1 commit into
masterfrom
claude/fix-env-leak-claim

Conversation

@groupthinking

Copy link
Copy Markdown
Owner

Correct overstated "secret leak" claim

The merged red-team review (#110) described the committed .env as a "live secret leak in version control" and recommended rotating the committed secrets. When #112 exposed the actual values, they turned out to be development placeholders, not real credentials:

Key Committed value
DWAVE_API_TOKEN development-mode
JWT_SECRET_KEY dev-jwt-secret-key-minimum-32-characters-long
API_SECRET_KEY dev-api-secret-key-minimum-32-characters-long
ENCRYPTION_KEY dev-encryption-key-for-local-development-only

This PR softens the four places that overstated it, reframing the finding as what it actually is: a tracked .env anti-pattern (a file that shouldn't be tracked regardless of current contents, since it invites a future real leak) — already remediated by untracking in #112. No rotation was or is required.

Changes (all in ARCHITECTURE_REVIEW.md)

  • Assumptions table: "live secret leak" → placeholders + anti-pattern note.
  • Tech-debt list: "Secret leak" → "Committed .env (dev placeholders)".
  • Reconsider list: "Rotate the secrets immediately" → "Stop tracking .env; no rotation required".
  • Final verdict: drop "First, rotate the committed secrets."

A document whose value rests on every claim being verifiable shouldn't carry a severity claim we've since disproven. Every other finding in the review stands unchanged.

https://claude.ai/code/session_01AGrYSaaxGvpbp4Wzy3o2mi


Generated by Claude Code

The committed .env held development placeholders (DWAVE_API_TOKEN=development-mode,
dev-* keys), not live credentials, so the original 'live secret leak' framing and
the 'rotate the committed secrets' recommendation were overstated. Reframe as what
it is: a tracked .env anti-pattern (untracked in #112). No rotation required.

https://claude.ai/code/session_01AGrYSaaxGvpbp4Wzy3o2mi

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates ARCHITECTURE_REVIEW.md to clarify that the committed .env file contains development placeholders rather than live credentials, meaning secret rotation is not required. It still emphasizes that tracking .env is an anti-pattern and notes that this has been addressed in #112. There are no review comments, and I have no feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@groupthinking
groupthinking marked this pull request as ready for review June 4, 2026 06:30
@groupthinking
groupthinking enabled auto-merge (squash) June 4, 2026 06:30
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.

2 participants