Commit Graph

5 Commits

Author SHA1 Message Date
Zakaria c5a2fc9105 fix(api): block open redirects, add health check and body limits, run as non-root
- safeReturnTo resolves the target against a placeholder origin and rejects
  backslashes and control characters, so `/\evil.example` and similar
  payloads can no longer redirect off-site after sign-in.
- Add a real unauthenticated /api/health and answer unknown /api/* paths
  with a JSON 404 instead of the SPA shell.
- Limit request bodies: 16 KB for /api/auth/* (read before a session
  exists), 128 MB for resource create/update and uploads, 10 MB elsewhere.
- Run the production image as an unprivileged user and add a Docker
  HEALTHCHECK against /api/health.
2026-10-23 10:43:41 -04:00
Zakaria 924e354788 feat: added a login page with Authentik authentication 2026-10-16 19:35:27 -04:00
Zakaria c86b4554c0 feat: ElastiCache 2026-10-05 16:03:05 -04:00
Zakaria c0d3e5f402 feat: MSK, MSK CONNECT and SES 2026-10-05 11:06:57 -04:00
Zakaria 7e49be27f1 first commit 2026-09-22 16:13:21 -04:00