-
Notifications
You must be signed in to change notification settings - Fork 81
Add helmet and broader HTTP hardening middleware #336
Copy link
Copy link
Open
Labels
Nest.jsThis issue is to be implemented with Nest.js frameworkThis issue is to be implemented with Nest.js frameworkStellar WaveIssues in the Stellar wave programIssues in the Stellar wave programTypescriptThis issue is to be implemented with TypescriptThis issue is to be implemented with TypescriptbackendThis issue is about building backend API services.This issue is about building backend API services.
Metadata
Metadata
Assignees
Labels
Nest.jsThis issue is to be implemented with Nest.js frameworkThis issue is to be implemented with Nest.js frameworkStellar WaveIssues in the Stellar wave programIssues in the Stellar wave programTypescriptThis issue is to be implemented with TypescriptThis issue is to be implemented with TypescriptbackendThis issue is about building backend API services.This issue is about building backend API services.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Summary
Integrate the
helmetmiddleware and implement comprehensive HTTP hardening in the backend service to enforce secure HTTP headers and protect against common web vulnerabilities, moving beyond basic CORS and Swagger-based protections.Social Media Link
Let's collaborate on Discord. And ensure to star our repo.
Technical Context
helmetensures robust, default protections and simplifies future security audits.Requirements
Backend Changes
helmetmiddleware at the NestJS application level.helmetprotections, including:Content-Security-Policy(CSP)X-Frame-OptionsX-Content-Type-OptionsStrict-Transport-Security(HSTS)Referrer-PolicyCross-Origin-Resource-PolicyCross-Origin-Opener-PolicyCross-Origin-Embedder-PolicyX-DNS-Prefetch-ControlExpect-CTPermissions-PolicyAcceptance Criteria
Definition of Done
Working Directory
corporate-platform/corporate-platform-backend