The sendETH and sendERC20 functions do not validate the _to address before initiating a transaction. This introduces a risk of accidental fund loss if ETH is sent to an invalid, inaccessible, or incorrect address. While this is not a critical security vulnerability, it can result in permanent loss of funds due to human error or misconfiguration
The function allows the contract owner to send ETH to a specified address:
The issue is that there is no validation on _to, meaning:
ETH can be sent to the zero address (address(0))
ETH can be sent to an inaccessible or non-existent address, making retrieval impossible.
Permanent Loss of Funds: If _to is an invalid or inaccessible address, the transferred ETH is irretrievably lost.
Manual Review
Validate _to using a simple if condition with revert statement before transferring.
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.