highLogic errorEVM-Solidity
LoopFi: `CDPVault.sol#liquidatePositionBadDebt()` doesn't correctly handle profit and loss
- Payout
- $0
- Protocol
- LoopFi
- Disclosed
- Feb 17, 2025
- Source
- code4rena
LoopFi's CDPVault bad-debt liquidation path mis-accounts profit and loss when settling against the shared lpETH credit pool. In liquidatePositionBadDebt, profit is derived from the collateral's discounted repayment value minus the original principal, rather th …
Similar reports
- No close matches yet.
References
- https://github.com/code-423n4/2024-10-loopfi-findings/issues/2
- https://github.com/code-423n4/2024-10-loopfi-findings
This report is already public and closed. Coin Buggie never publishes active or unpatched vulnerability data.