Normal Behavior: totalFeesCollected should represent the actual, realized 1%–5% cut taken from completed, finalized sales.
Specific Issue: Because collectUsdcFromSelling can be called multiple times, the line totalFeesCollected += fees; executes every time. This creates a "Phantom Balance" where the contract believes it has earned more in fees than it actually has in liquid USDC.
Likelihood: High
There is no check to see if totalFeesCollected exceeds the actual USDC profit generated by the specific listingId
Impact: High
Impact 1: Collateral Drain. The owner may unknowingly withdraw "fees" that are actually the lockAmount deposits of other users.
Impact 2: Insolvency. The protocol becomes unable to pay back collateral to users who cancel their listings because the USDC was moved to the owner via withdrawFees.
Ensure the fee is only added to the global counter when the listing is first marked as Claimed.
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.