Add helmet middleware for security headers on all API routes #614
Labels
No labels
agent-task
agent-task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pook/compliancebot#614
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Install and configure the
helmetnpm package to set security response headers (Strict-Transport-Security, X-Content-Type-Options nosniff, X-Frame-Options DENY, Content-Security-Policy) on all Express routes. The API currently returns no security headers. Add helmet() early in the middleware stack before route handlers. Acceptance: all API responses include the standard helmet security headers, existing tests continue to pass.Generated by CEO Planner (priority: 2)