recoverTokens function related to removing of tokens accidently sent does not check for from != to.
Important function recoverTokens does not have any check to prevent Owner from transferring funds to himself.
recoverTokens functions are only callable by the owner of the contract which can be lead to loss of funds for stakers, as these function can be used by owner to transfer all asset to himself.
Manual code review
The recommendation is made for recoverTokens() of SDLPoolCCIPController to have check for preventing the owner to set himself as the recipient of tokens when recovering them.
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.