Skip to content

fix(auth): eliminate TOCTOU nonce replay race with atomic Redis consumption - #173

Closed
maxx-GENIUS wants to merge 1 commit into
StepFi-app:mainfrom
maxx-GENIUS:fix/issue-116-nonce-toctou-race
Closed

maxx-GENIUS wants to merge 1 commit into
StepFi-app:mainfrom
maxx-GENIUS:fix/issue-116-nonce-toctou-race

Conversation

@maxx-GENIUS

Copy link
Copy Markdown

Summary

Replaces non-atomic read-then-delete authentication nonce verification with atomic Redis GETDEL routine to eliminate TOCTOU race conditions.

Closes #116

@EmeditWeb EmeditWeb closed this Oct 11, 2026
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.

critical: SIWE-style nonce verification has a TOCTOU race — one nonce can authenticate multiple sessions

2 participants