40,000 USDC
View results
Submission Details
Severity: high

No address(0) check for arbiter

Summary

There is no address(0) check in the constructor of Escrow.sol

Vulnerability Details

The buyer can put address(0) as the arbiter when deploying a contract EscrowFactory.sol

Impact

The dispute resolution process will not be able to take place since there is no valid arbiter thereby making funds get stuck in the contract.

Tools Used

Manual review

Recommendations

Include the following in the constructor of Escrow.sol.

if (arbiter == address(0)) revert Escrow__ArbiterZeroAddress();

Support

FAQs

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