Trust boundaries
Security measures
Transport security
HTTP security headers
Helmet is applied globally:Cookie security
SameSite=None is required because the frontend (Firebase) and backend (Render) sit on different origins. See Authentication.
Input security
CORS configuration
FRONTEND_ORIGIN environment variable: the Firebase Hosting URL in production, http://localhost:5173 in development.
Attack surface assessment
Security gaps (MFA, CSP, RLS, account lockout, and others) are tracked with priorities in Known limitations and scheduled in Future architecture.