Skip to content

Fix CSRF and DoS on maintenance feature - #95

Open
ismailatef160 wants to merge 1 commit into
Advanced-Computer-Lab-2026:mainfrom
ismailatef160:main
Open

ismailatef160 wants to merge 1 commit into
Advanced-Computer-Lab-2026:mainfrom
ismailatef160:main

Conversation

@ismailatef160

Copy link
Copy Markdown
  • CSRF: add csrf-csrf double-submit token; GET /api/csrf-token endpoint, protect POST/PATCH/DELETE on maintenance, client sends x-csrf-token header
  • DoS: add express-rate-limit on maintenance router (429 over the limit)

- CSRF: add csrf-csrf double-submit token; GET /api/csrf-token endpoint,
  protect POST/PATCH/DELETE on maintenance, client sends x-csrf-token header
- DoS: add express-rate-limit on maintenance router (429 over the limit)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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