From Dev.to
A coupon applied three times: proving race conditions in web APIs
The textbook race condition is a single-use coupon that gets applied three times. A transfer that takes a balance below zero is the same bug, and so is a 2FA code with "three attempts" that lets you t...
