highReentrancyEVM-Solidity
Flat Money: A malicious user can bypass limit order trading fees via cross-function re-entrancy
- Payout
- $0
- Protocol
- Flat Money
- Disclosed
- Feb 4, 2024
- Source
- sherlock
Flat Money's LeverageModule violates the checks-effects-interactions pattern: it mints the position's ERC721 token via _safeMint, which fires an external onERC721Received callback, before vault.setPosition has written the position into storage. An attacker con …
Similar reports
- No close matches yet.
References
This report is already public and closed. Coin Buggie never publishes active or unpatched vulnerability data.