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

The buyer can be the arbiter.

Summary

In Escrow contract constructor part, the buyer can be the arbiter.

Vulnerability Details

There is no check to check if the buyer's address is not the same as the arbiter.

Impact

The buyer can put himself in the place of the arbiter.

Tools Used

Recommendations

require for the buyer address isn't equal with arbiter address:

require(buyer != arbiter);

Support

FAQs

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