Celtrix icon indicating copy to clipboard operation
Celtrix copied to clipboard

[FEATURE] Add security headers to the generated API

Open ChandanVarshney031 opened this issue 1 month ago • 2 comments

Description The generated API is a starting point people deploy, but it may send no standard security headers (please verify with curl -I on /api/health).

Proposed solution

  • Express: add helmet
  • Fastify: add @fastify/helmet
  • Hono: use the built-in secureHeaders middleware
  • Keep CORS driven by CORS_ORIGIN

Acceptance criteria

  • [ ] /api/health returns the standard headers for every backend option
  • [ ] The Vite proxy and the status screen still work
  • [ ] Mention it in CELTRIX_SETUP.md

ChandanVarshney031 avatar Oct 31 '26 08:10 ChandanVarshney031

Please assign me !

pratikadamas avatar Nov 04 '26 15:11 pratikadamas

Hello Pratik Damas, Could you please assign this issue to me? I can work on it and resolve it.

yashbokade22 avatar Nov 18 '26 16:11 yashbokade22