zeekay
97e49a5ecf
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)
2025-12-28 01:39:55 -08:00
..
2025-12-27 13:11:38 -08:00
2025-12-27 16:50:10 -08:00
2025-12-27 11:45:33 -08:00
2025-12-27 16:50:10 -08:00
2025-12-27 12:12:02 -08:00
2025-12-28 00:20:28 -08:00
2025-12-28 01:39:55 -08:00
2025-12-27 23:01:00 -08:00
2025-12-27 16:50:10 -08:00
2025-12-27 16:50:10 -08:00
2025-12-28 01:00:12 -08:00
2025-12-28 00:20:28 -08:00
2025-12-27 16:50:10 -08:00
2025-12-28 01:13:26 -08:00
2025-12-28 00:20:28 -08:00
2025-12-27 16:50:10 -08:00
2025-12-27 16:50:10 -08:00
2025-12-28 01:00:12 -08:00
2025-12-28 01:13:26 -08:00
2025-12-27 16:50:10 -08:00
2025-12-27 13:11:38 -08:00
2025-12-28 01:00:12 -08:00
2025-12-27 15:30:42 -08:00
2025-12-27 11:52:10 -08:00
2025-12-27 11:25:41 -08:00
2025-12-27 21:54:46 -08:00
2025-12-27 23:01:00 -08:00
2025-12-27 16:50:10 -08:00
2025-12-28 01:00:12 -08:00
2025-12-28 01:13:26 -08:00
2025-12-28 01:13:26 -08:00
2025-12-28 01:39:55 -08:00
2025-12-27 16:50:10 -08:00