Preparing for system design interviews?  Try bugzed.com →

CSRF Sync

JSON →
library 4.2.1 ·javascript
verified Jun 17, 2026

CSRF Sync is a utility package designed to provide robust stateful Cross-Site Request Forgery (CSRF) protection for Express applications, utilizing the Synchroniser Token Pattern. Developed in response to the deprecation of `csurf` and the perceived complexity or limited scope of alternative solutions, `csrf-sync` (current stable version 4.2.1) aims for a targeted and simplified implementation. It requires a server-side session management middleware like `express-session` to store tokens. The library focuses on providing the essential components for CSRF protection without imposing a full solution, allowing developers to integrate it flexibly. It is actively maintained with regular updates and follows a clear versioning strategy, with significant changes typically highlighted in major version bumps.

total hits 24
actors 8 distinct systems
last hit 16d ago AhrefsBot
GPTBot
4
Script
1
ByteDance
1
ChatGPT-User
1
OAI-SearchBot
1
Search engines
2
Humans
10

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇸🇬 Singapore · BD · TH