highLogic errorSolana-Rust
Lavarage: Malicious borrowers will never repay loans with high interest
- Payout
- $0
- Protocol
- Lavarage
- Disclosed
- May 29, 2024
- Source
- code4rena
Lavarage's liquidation guard (`liquidate.rs`) computes loan-to-value using only the principal borrowed at origination (`position_account.amount`, set in `swap.rs`) and never adds the interest accrued on the position. Because the check compares that fixed princ …
Similar reports
- No close matches yet.
References
- https://github.com/code-423n4/2024-04-lavarage-findings/issues/10
- https://github.com/code-423n4/2024-04-lavarage-findings
This report is already public and closed. Coin Buggie never publishes active or unpatched vulnerability data.