Skip to content

Feat/be w3a 112 csrf protection#647

Merged
soomtochukwu merged 3 commits into
DXmakers:mainfrom
michaelvic123:feat/be-w3a-112-csrf-protection
May 29, 2026
Merged

Feat/be w3a 112 csrf protection#647
soomtochukwu merged 3 commits into
DXmakers:mainfrom
michaelvic123:feat/be-w3a-112-csrf-protection

Conversation

@michaelvic123
Copy link
Copy Markdown
Contributor

Changes

  • Added CSRF middleware using double-submit cookie pattern
  • Added /api/v1/auth/csrf endpoint to get CSRF token
  • Updated frontend to automatically include CSRF token in state-changing requests
  • Excluded auth challenge/verify routes from CSRF check
  • Fixed TypeScript error for possible array CSRF header

closes #466

@vercel
Copy link
Copy Markdown

vercel Bot commented May 29, 2026

@michaelvic123 is attempting to deploy a commit to the mAzI's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 29, 2026

@michaelvic123 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@soomtochukwu soomtochukwu merged commit ec7bf90 into DXmakers:main May 29, 2026
1 of 4 checks passed
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.

[BE-W3A-112] Web3 Signature Security and Auditing - Step 112

2 participants