mediumLogic errorEVM-Solidity
BadgerDAO: Incorrect comparison logic in post-operation checks
- Payout
- $0
- Protocol
- BadgerDAO
- Disclosed
- Aug 5, 2024
- Source
- code4rena
The LeverageMacroBase contract in the BadgerDAO eBTC protocol contains a critical logic error in its post-operation validation function, _doCheckValueType. The function inadvertently reverses the comparison logic for 'greater than or equal to' and 'less than o …
Similar reports
- No close matches yet.
References
- https://github.com/code-423n4/2024-06-badger-findings/issues/31
- https://github.com/code-423n4/2024-06-badger-findings
This report is already public and closed. Coin Buggie never publishes active or unpatched vulnerability data.