57771 sc medium fee not collected in forcerepay when should
Description
Brief/Intro
Vulnerability Details
if (account.collateralBalance > protocolFeeTotal) {
account.collateralBalance -= protocolFeeTotal;
// Transfer the protocol fee to the protocol fee receiver
TokenUtils.safeTransfer(myt, protocolFeeReceiver, protocolFeeTotal);
}Impact Details
References
Proof of Concept
Proof of Concept
Previous58578 sc low zeroxswapverifier allows attackers to drain strategy tokens via crafted calldataNext57534 sc low small debt positions cannot be liquidated due to zero amount checks on token vaults
Was this helpful?