LibTransfer use safeTransfer without any checks.
In scenario where whitelisted by bean governance ERC20 token is upgradeable and can change safeTransfer function to malicious implementation with return bomb or just reenter funtion as callback in loop might be very dangerous for protocol.
Can lost much of funds.
function like
withdrawDeposit
uses LibTransfer.sendToken
doesn't check safeTransfer
Can lost much funds and criple by reentry, siphoning or return bomb atack whole protocol.
slither, hardhat , code analyze
in LibTransfer.sol change implementation of sendToken to something like that:
1) check if success and check i there is no additional data in return or something like that data.length == 0
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.