Malicious User Can Fill Up Buyers MaxAssetCount For A Round By Listing Useless Assets For Zero Prices. This basically renders all available assets to the user for purchase for a particular round useless.
When a user is listing assets to a buyer, we dont check that the price of the listing is not zero. This allows a user to fill up the buyers max assets that can be listed to them for that round with little to no cost.
inside the list function you can see there is no check for a zero amount and even if there is, there is no check for a minimum amount to list to a buyer that the can can specify. This would allow malicious users to list to the buyers with little to no cost. Here is the purchase funciton below
The assets available to the buyer would be filled up with useless assets without having any control over the assets listed to him.
The malicious user ends up filling up the buyers assets available to purchase with useless assets with little to zero amounts. The buyer doesn't end up having valuable assets to purchase for that round.
Allowing the buyer to set a minimum amount of price for listing would encourage listers to put up meaningful assets and discourage malicious users from filling up the maxAssetCount for little to no cost.
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.