fastify / fastify/csrf-protection

Disable CSRF Token Reuse

Open
#123 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
172
Forks
20
PR merge metrics
No merged PRs in 30d

Description

### Prerequisites

- [X] I have written a descriptive issue title
- [X] I have searched existing issues to ensure the issue has not already been raised

### Issue

Thanks for this great plug in.

I have one concern. Save CSRF token I can use multiple time for the verification. Is there any option where I can make sure that token is used only once.

Contributor guide

Open the contributing guide

Research direction

The payload names no file or test. Start by tracing the plugin's token generation and verification behavior and reviewing how configuration is exposed; clarify replay handling and expected tests before implementing single-use tokens. Done means a token is accepted once and rejected on a subsequent verification.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.