Description: list() enforces _price >= MIN_PRICE, but updatePrice() only checks _newPrice > 0, allowing sellers to update their listing price to any value between 1 wei and MIN_PRICE - 1.
Impact: Sellers can bypass the minimum price constraint after listing, undermining the protocol's price floor.
Proof of Concept:
A seller can list at a valid price then immediately update it to 1 wei, bypassing MIN_PRICE entirely.
Run forge test --match-test test_poc_L1 -vvv to see the following output:
Recommended Mitigation: Add require(_newPrice >= MIN_PRICE, "Price must be at least 1 USDC"); to updatePrice().
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.