The token address is not validated in any function. Even the areListsValid
function does not perform any checks or take the assets as parameters. This could be a big issue as an EOA address or an invalid address will not cause a revert, giving the impression that the transfer function has been executed successfully. This issue affects all three files in the scope but is only valid for files with checks.
Likelyhood: Medium
Any incorrect address (address(0), EOA, 256 bytes types) will pass without causing a revert.
Impact: Medium
Waste of gas
No indication that the function has failed, the transaction will still be executed on the blockchain.
This PoC will pass for the three files in scope but not TSenderReference.sol
. Solidity implements internal checks to avoid this situation.
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.