CRITICAL: .env.local committed with live Clerk API keys #2
Labels
No labels
blocked:needs-attention
blocked:needs-decision
bug
chore
in-progress
quickfix
security/high
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AuWoMe/forgeflow#2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Severity: Critical
The
.env.localfile containing live Clerk credentials is committed to the repository. Although.gitignorelists.env.local, it was apparently committed before the gitignore rule took effect.Exposed secrets:
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY—pk_test_...CLERK_SECRET_KEY—sk_tes...(truncated in local copy but live key was in history)DATABASE_URL— connection stringRisk: The Clerk secret key allows administrative access to user management including user creation, deletion, and org changes.
Fix:
git rm --cached .env.localgit filter-branchor BFG Repo-Cleaner