Contract allow users to sell erc20 but it does not have a check for the order price. If user forgot to set the order price, other users can buy it for free.
TokenDivider::sellErc20
has an order price argument, which can be set the order price by users. However it does not check the order price if it is zero.
Proof of Code:
Add this to test suite.
Other users can buy the order for free.
Manual Review
Add zero check to price
in sellErc20
function.
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.