highLogic errorEVM-Solidity
Elfi: If cross positions use the same margin token as collateral and close without liability, then fee accounting will be completely wrong
- Payout
- $0
- Protocol
- Elfi
- Disclosed
- Jun 20, 2024
- Source
- sherlock
In the Elfi perpetuals protocol, a cross-margin position that uses the same token as both its margin and its traded base asset can trigger a fee double-count when closed at a loss. During the close, the full loss including fees is transferred from the portfoli …
Similar reports
- No close matches yet.
References
This report is already public and closed. CoinBuggie never publishes active or unpatched vulnerability data.