There is no validation check in sellErc20 function to ensure that the price parameter is greater than zero.
A zero price could allow a user to create a sell order where NFT are given away for free.
This could lead to unintended or malicious sell orders that harm the marketplace's integrity.
Manual review
Add a check to prevent free sell orders.
Consistent Validation for nftPegged
and amount
:
Use the same style of validation for nftPegged
and amount
to maintain consistency
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.