All reports
mediumLogic errorEVM-Solidity

BakerFi: `deposit()` `afterDeposit` calculation formula is incorrect

Payout
$0
Protocol
BakerFi
Disclosed
Jun 24, 2024
Source
code4rena

BakerFi's Vault.deposit() enforces a per-wallet ETH deposit cap by converting the caller's existing share balance into an ETH-equivalent and adding msg.value. The conversion multiplies the share balance by the shares-per-ETH rate from _tokenPerETH() instead of …

Similar reports

  • No close matches yet.

References

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