Problem
Compose defaults PASTE_AUTH_SECRET to the public placeholder change-me-in-production-use-a-long-random-string. Production starts because any non-empty secret is accepted. Attackers who know the default can forge pc_auth_<id> HMAC unlock cookies and read password-protected pastes without the password.
Acceptance
Test plan
Problem
Compose defaults
PASTE_AUTH_SECRETto the public placeholderchange-me-in-production-use-a-long-random-string. Production starts because any non-empty secret is accepted. Attackers who know the default can forgepc_auth_<id>HMAC unlock cookies and read password-protected pastes without the password.Acceptance
getPasteAuthSecretplaceholder rejectionTest plan
pnpm test/ lint / typecheck / build