Security hardening: v2 assessment remediation #7
Reference in New Issue
Block a user
No description provided.
Delete Branch "claude/tender-murdock"
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?
Summary
server_tokens offon both production configsX-Frame-Options,X-Content-Type-Options,Referrer-Policy,Permissions-Policy) to all nginx routes for consistent coverageNoCacheInterceptorsetsCache-Control: no-storeon all API responses, preventing browsers/proxies from caching sensitive financial dataALLOW_OPEN_REGISTRATION=trueenv var@HttpCode(200)POST /auth/forgot-password,POST /auth/reset-password,PATCH /auth/change-passwordwith hashed tokens, 15-min expiry, single-use, account enumeration preventionEmailServicestub (logs toshared.email_log— swap for Resend/SendGrid when ready)password_reset_tokenstableTest plan
POST /api/auth/registerreturns 403 whenALLOW_OPEN_REGISTRATIONis not setPOST /api/auth/forgot-passwordreturns 200 for both existing and non-existing emailsPOST /api/auth/reset-passwordwith valid token updates passwordPOST /api/auth/reset-passwordwith expired/used token returns 400PATCH /api/auth/change-passwordrequires correct current passwordPOST /api/auth/logoutreturns 200Cache-Control: no-storeheaderServerheader🤖 Generated with Claude Code
fb20c917e1to19fb2c037c