createAsk does not check that msg.sender matches the maker parameter. This allows an attacker to insert their own transaction before a legitimate one..
There is no validation that maker == msg.sender
in the create functions. An attacker could watch for transactions and insert their own before the legitimate one executes.
For example in createAsk()
:
Attacker could drain funds by filling their own orders before the user.
Manual
Add onlyMaker
modifier to create functions:
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.