Refer Details section
list() allow buyers to list there assets for a Buyer
And there is check that ensure perticular a no. of assets per Buyers's round
https://github.com/Cyfrin/2024-10-swan-dria/blob/main/contracts/swan/Swan.sol#L167-L170
A malicious Seller could list a no. of spam assets for Buyers for each round, so that this limit fullfilled and Other genuine Sellers couldn't able to list there assets for that Buyer.
Note :: As here price of listing assets decided by Seller, So he can set it to 0(as no 0 amount checked) , in result fee to platform
& `fee to Buyer` will be zero
https://github.com/Cyfrin/2024-10-swan-dria/blob/main/contracts/swan/Swan.sol#L185
Impact
Genuine Seller will be frontrunned and never will able to list there Assets
Manual Review
I think atleast enforcing some minimum amount of fee towards platform or Buyer could demotivate this type of attack.
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.