Skip to content

fix: add security headers to the API - #93

Merged
harsh0641 merged 1 commit into
mainfrom
fix/api-security-headers
Nov 20, 2026
Merged

harsh0641 merged 1 commit into
mainfrom
fix/api-security-headers

Conversation

@harsh0641

Copy link
Copy Markdown
Collaborator

Adds security headers to all API responses: Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, clickjacking protection (frame-ancestors / X-Frame-Options) and Permissions-Policy. The CSP is skipped for /docs because Swagger UI loads scripts from a CDN and would break. Clears the corresponding scanner findings.

@harsh0641
harsh0641 merged commit 364e6d8 into main Nov 20, 2026
12 checks passed
@harsh0641
harsh0641 deleted the fix/api-security-headers branch November 20, 2026 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant