-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Mediummedium issuemedium issue
Description
Problem
The wallet transfer endpoint is vulnerable to a race condition that enables a classic double-spend attack.
If two concurrent transfer requests are submitted at the same moment, both may read the same initial balance and incorrectly assume sufficient funds, allowing a user to spend more money than they actually have.
Points: 50
Steps to Reproduce
- Alice has a balance of $100.
- Alice triggers two simultaneous transfer requests (e.g., via parallel curl, Postman runner, or a script):
{ "to": "Bob_ID", "amount": 100 }
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Mediummedium issuemedium issue