40,000 USDC
View results
Submission Details
Severity: low
Valid

"arbiter == seller" is not checked, funds may be stolen.

Summary

In the constructor of Escrow.sol, seller and arbiter are neighboring arguments, which can lead to erroneous input. If the buyer mistakenly sets seller==arbiter, the seller will steal the funds by initiateDispute and resolveDispute.

Vulnerability Details

As above, the constructor does a zero address check, but does not check if the same arguments are set

Impact

Buyer loses funds

Tools Used

Manual

Recommendations

revert if arbiter == seller

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.