feat: add security hardening (Helmet, Zod, CORS, API key auto-gen) #339
No reviewers
Labels
No labels
auto-merged
ci
failed
component
api
good first issue
has-pr
help wanted
idea
priority
critical
priority
high
priority
low
priority
medium
review
approved
review
commented
status
blocked
status
in-progress
status
needs-review
status
ready
type
bug
type
chore
type
docs
type
enhancement
type
feature
type
refactor
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
customable/claude-mem!339
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/329-api-auth-rate-limiting"
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?
Summary
CORS_ORIGINSsetting (comma-separated)API_KEY_AUTO_GENERATEsetting)validateBody/validateQuerymiddleware for reusable validationNote: API-Key auth and rate-limiting were already implemented — this PR adds the remaining security layers.
Closes #329
AI Code Review (Devstral)
The PR adds security hardening features including Helmet.js security headers, Zod input validation, configurable CORS origins, and API key auto-generation. The implementation appears correct and addresses the linked issue requirements.
Automated review by pr-reviewer