20,000 USDC
View results
Submission Details
Severity: medium
Valid

Lack of 2-step address change

Summary

Lack of 2-step address change or zero address check

Vulnerability Details

When changing a address like in this case feeReceiver it is always good practice
to add 2-step process wherein the new feeReceiver confirms of the change. This
prevents owner from mistakenly changing wrong address. Also 0 address checks should be there.

Impact

Owner can mistakenly change the address to an undesired value

Tools Used

Manual review

Recommendations

Add 2-step address change process

Support

FAQs

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