[LOW] Enforce JWT_SECRET at startup - remove insecure fallback #46
Labels
No labels
blocked:needs-human
blocked:verify-failed
bug
feature-request
quickfix
security/high
security/medium
test-coverage
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/subvault#46
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?
Location:
backend/src/auth.ts:6-14Problem: JWT fallback secret
your-secret-key-change-in-productionallows the app to start insecurely without explicit misconfiguration detection.Impact: App runs with trivially guessable signing key in production if env var is missing.
Fix:
Effort: ~5 mins