The seller sets the price for the NFT when calling the list
or relist
functions, and these functions do not have validation for a minimum value.
A malicious seller can call the list
function with a zero price until assetsPerBuyerRound.length
reaches maxAssetCount
. Essentially, all assets for that round will be zero-priced NFTs from the seller.
A malicious seller can conduct a DOS on the buyer during each round of the Buy phase by listing zero-priced NFTs, thereby avoiding paying royalties to both the buyer and the owner of Swan.sol
.
Manual review
Consider implementing a minimum price validation for the list
and relist
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.