All reports
highLogic errorEVM-Solidity

Flat Money: Incorrect handling of PnL during liquidation

Payout
$0
Protocol
Flat Money
Disclosed
Feb 4, 2024
Source
sherlock

Flat Money's liquidation flow applies a position's profit/loss twice. `liquidate()` first folds a portion of PnL into `stableCollateralTotal` via `updateStableCollateralTotal`, then calls `updateGlobalPositionData`, which recomputes `profitLossTotal` and re-ap …

Similar reports

  • No close matches yet.

References

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