Normal Behavior: Secondary market participants who purchase an NFT from the original minter should be able to list their NFT for sale to maintain the liquidity and utility of the collection.
Specific Issue: The list function is protected by the onlyWhitelisted modifier. This means that while any user can buy an NFT (via the buy function, which has no whitelist check), a non-whitelisted buyer is immediately blocked from ever re-selling that NFT on the protocol.
Likelihood: High
Reason 1: Any secondary purchase by a non-whitelisted address will trigger this state.
Reason 2: The current architecture assumes only original minters are allowed to participate in the marketplace logic.
Impact: High
Impact 1: Permanent Denial of Service for secondary market sellers.
Impact 2: Severe reduction in protocol volume and utility, as the "Dealers" marketplace is unusable for the general public.
Paste this test function in NFTDealersTest.t.sol
Remove the onlyWhitelisted modifier from the list function to allow all NFT owners to participate in the marketplace.
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.
The contest is complete and the rewards are being distributed.