zeekay
e635b1e186
security: fix 3 critical findings from Red team review
CRITICAL-1: KMS routes registered outside auth middleware — moved inside
authenticated route group with requireRole("owner", "admin")
CRITICAL-2: X-Org-ID header trusted without validation — replaced with
getOrgID(r.Context()) from JWT claims
CRITICAL-3: (KMS standalone addressed in lux/kms repo)
2026-04-06 23:23:05 -07:00
..
2026-02-28 13:27:34 -08:00
2026-03-01 19:10:22 -08:00
2026-02-24 23:19:15 -08:00
2026-03-01 19:10:22 -08:00
2026-02-25 01:38:29 -08:00
2026-03-24 16:55:54 -07:00
2026-04-06 23:23:05 -07:00
2026-03-22 12:50:58 -07:00
2026-03-01 19:10:22 -08:00
2026-03-01 19:10:22 -08:00
2026-04-01 09:00:06 -07:00
2026-03-24 16:55:54 -07:00
2026-03-01 19:10:22 -08:00
2026-04-02 19:09:00 -07:00
2026-03-24 16:55:54 -07:00
2026-03-01 19:10:22 -08:00
2026-03-01 19:10:22 -08:00
2026-04-01 09:00:06 -07:00
2026-04-02 19:09:00 -07:00
2026-03-01 19:10:22 -08:00
2026-02-28 13:27:34 -08:00
2026-04-01 09:00:06 -07:00
2026-03-01 15:27:32 -08:00
2026-02-25 00:46:17 -08:00
2026-02-23 22:21:41 -08:00
2026-03-19 01:15:33 -07:00
2026-03-22 12:50:58 -07:00
2026-03-01 19:10:22 -08:00
2026-04-01 09:00:06 -07:00
2026-04-02 19:09:00 -07:00
2026-04-02 19:09:00 -07:00
2026-04-06 23:23:05 -07:00
2026-03-01 19:10:22 -08:00