Overview
backend/src/main.ts configures CORS, a validation pipe, an exception filter, and Swagger — but sets no security headers. helmet is not among the dependencies, so responses ship without HSTS, X-Content-Type-Options, frame protection, or referrer policy.
Tasks
Acceptance Criteria
Notes for Contributors
Comment below to be assigned.
Overview
backend/src/main.tsconfigures CORS, a validation pipe, an exception filter, and Swagger — but sets no security headers.helmetis not among the dependencies, so responses ship without HSTS,X-Content-Type-Options, frame protection, or referrer policy.Tasks
helmetand apply it inmain.tsbefore other middleware.X-Content-Type-Options: nosniff,X-Frame-Options, and a strictReferrer-Policy./api/docs.X-Powered-Byheader.Acceptance Criteria
Notes for Contributors
Comment below to be assigned.