The execute
function should include a check to ensure that the dest
(destination address) is not the zero address
. Sending a transaction to the zero address can lead to unexpected behavior or loss of funds.
Impact: Medium. Severity: High
Manual review
Zero Address Check: Add require(dest != address(0), "MondrianWallet__InvalidDestination");
to ensure the destination address is not zero.
This additional check enhances the security of the execute function by preventing transactions to the zero address, which could otherwise lead to loss of funds or other unintended consequences.
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.