Add Helmet.js HTTP security headers to Express app #988
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#988
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?
Add Helmet.js middleware to the Express application for production HTTP security headers.
Context: Contractpilot has this covered via PR #696, but compliancebot has no Helmet.js issue or PR. Both apps share similar architecture and attack surface. Without security headers, the app is vulnerable to clickjacking (no X-Frame-Options), MIME sniffing (no X-Content-Type-Options), and other header-based attacks.
Acceptance criteria:
helmetpackageapp.use(helmet())early in middleware chain (before routes)Generated by CEO Planner (priority: 2)