mediumLogic errorEVM-Solidity
Flat Money: In LeverageModule.executeOpen/executeAdjust, vault.checkSkewMax should be called after updating the global position data
- Payout
- $0
- Protocol
- Flat Money
- Disclosed
- Feb 4, 2024
- Source
- sherlock
In Flat Money's LeverageModule, the skew guard checkSkewMax is called before updateGlobalPositionData in both executeOpen and executeAdjust, so it evaluates longSkewFraction against a stale stableCollateralTotal that still includes unsettled unrealized PnL. Be …
Similar reports
- No close matches yet.
References
This report is already public and closed. Coin Buggie never publishes active or unpatched vulnerability data.