Commit Graph

5 Commits

Author SHA1 Message Date
mihir 74c129ba6c fix(security): rate-limit per client IP behind trusted proxies
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
- Add TRUST_PROXY (IPs, CIDRs or loopback/linklocal/uniquelocal; never
  "true") so request.ip uses X-Forwarded-For only from known hops.
  Without it every visitor shares the proxy's rate-limit bucket.
- Occasionally sweep long-expired rate_limits rows.
- Patch zod, nodemailer, multer, fast-uri and effect advisories; the
  production audit reports no known vulnerabilities.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 15:52:49 +05:30
mihir 2a85081c7d feat(docs): add Swagger UI with validation schemas and bearer authentication 2026-09-11 17:15:37 +05:30
mihir 1ed11afffe docs(commerce): document APIs migration policy and security verification 2026-09-10 11:23:24 +05:30
mihir c4c85eb180 feat(identity): add account schema, security primitives and migrations 2026-09-08 21:24:48 +05:30
mihir 39290c4944 feat(platform): add validated configuration and Prisma database foundation 2026-09-08 20:33:58 +05:30