Application controls in the current code
- HTTPS production transport with HSTS, frame denial, MIME-sniffing protection, a restrictive referrer policy, and browser permissions restrictions.
- HttpOnly security sessions, origin validation, CSRF controls on protected workflows, bounded JSON bodies, field validation, and durable purpose-scoped rate limits.
- Parameterized database operations and server-only credentials supplied through the deployment environment.
- Public comments enter moderation state before display; private email fields are not returned by public comment APIs.
- Consented analytics uses allowlisted events, query-free page paths, coarse categories, short-lived or rotating hashes, and automated expiry for the declared analytics records.
- Unexpected API failures return generic messages and request identifiers while technical details remain in server-side logs.
- The staged Content Security Policy starts in report-only mode. A nonce-bound compatible baseline is enforced only after the documented observation and browser-verification gate; the report-only candidate is stricter about inline styles.
- Liveness and database-readiness endpoints separate application response from dependency availability.
- Repository checks cover type safety, linting, dependency advisories, source boundaries, API contracts, browser privacy flows, accessibility, links, metadata, and performance budgets.