All reports
mediumLogic errorEVM-Solidity

LoopFi: `CDPVault.liquidatePosition()` does not scale `takeCollateral` with `tokenScale`; therefore, it might send the wrong amount of collateral to the liquidator when `tokenScale ! = 1 ether`

Payout
$0
Protocol
LoopFi
Disclosed
Feb 17, 2025
Source
code4rena

LoopFi's CDPVault stores each position's collateral in an internally scaled representation using a `tokenScale` factor derived from the collateral token's decimals, and the deposit and modifyCollateralAndDebt paths correctly multiply internal amounts by `token …

Similar reports

  • No close matches yet.

References

This report is already public and closed. Coin Buggie never publishes active or unpatched vulnerability data.