The yield staking contract records the number of shares minted when depositing ETH into Etherfi or Lido as if they were the deposited asset amount, but later calculates yield using the actual ETH balance. This mismatch causes the yield amount for each staked NFT to be incorrect, allowing some NFTs to withdraw excess yield while others may be closer to liquidation.
The unstake and repay functions in the yield contract fetch the borrower's yield account using msg.sender instead of the actual borrower address. When the botAdmin tries to force-close a risky position, it uses the botAdmin's own yield account, causing the transaction to fail.
The isolate liquidation function in the BendDAO contract lacked a check on the caller, so anyone could call it after an auction ended and receive the collateral NFT without having bid. This allowed an attacker to steal the NFT that should have gone to the winning bidder.
If a debt token can blacklist addresses, a blacklisted bidder or borrower can cause transfers to revert, blocking further bids or liquidation. This can deny service to the auction or liquidation process.
The YieldEthStakingLido contract does not limit the maximum stake amount, so a stake exceeding Lido's MAX_STETH_WITHDRAWAL_AMOUNT cannot be unstaked because the withdrawal request is made in a single call. This can lock the staked tokens in the contract.
The protocol's transfer functions require the contract to receive the exact intended amount, which fails for fee-on-transfer tokens because the fee reduces the received amount. This causes any function using these transfers to revert, blocking deposits, withdrawals, and bids for such tokens.
The protocol's health factor calculation uses the liquidation threshold to decide if an asset counts as collateral. If the pool admin sets an asset's collateral parameters to zero, all borrowers using that asset as collateral instantly become liquidatable, allowing MEV bots to liquidate them without warning.
The liquidation function for ERC721 collateral calculates the price per NFT by dividing the debt by the number of collateral tokens, without an upper limit. If the NFT price drops significantly or the debt asset increases in price, the implied price per NFT becomes inflated, making liquidations unprofitable and potentially leading to bad debt.
The auction duration is stored as a global parameter, so changing it affects auctions that are already in progress. An attacker (or admin) could shorten or extend ongoing auctions, potentially causing participants to lose funds or receive unexpected outcomes.
The protocol's unwrapNativeTokenInWallet function attempts to pull wrapped native tokens from msg.sender instead of the specified receiver when a user requests native tokens as output. This causes withdrawals or borrows to fail when the caller and receiver differ, as the caller may not hold the wrapped tokens.
When a borrower redeems their NFT with a redemption threshold set to the maximum, the loan's scaled amount becomes zero but the loan status remains active and the NFT locker address is not cleared. This forces the user to borrow again to unlock their NFT, exposing them to further liquidation risk.
When the auction fine parameters are set to zero, redeeming a loan in auction state attempts a zero-value token transfer to the first bidder. For tokens that revert on zero-value transfers, this makes redemption impossible for the borrower.
The protocol's price oracle reads Chainlink feeds without checking whether the Arbitrum sequencer is live, so prices can be stale while the sequencer is down. Users could keep borrowing or avoid liquidation at outdated prices.
When a staker repays after a forced unstake, the fine is added to the debt and pulled into the contract, but only the base debt is forwarded to the lending pool. The fine therefore accumulates in the staking contract with no function to withdraw it, so those funds are permanently stuck.
A borrower can revoke the ERC20 approval that the yield contract relies on to pull extra funds needed to cover the debt and fines, preventing the botAdmin from repaying and closing the position. As a result, the debt remains unpaid and continues to accrue interest, causing a loss to the protocol.
When the protocol fee factor is updated, the new fee is applied to interest accrued before the change, and the supply rate still reflects the old fee factor. This can cause inconsistencies in fee accounting for the protocol.
After the pool admin changes the interest rate model, the protocol does not immediately update the interest rate, so interest continues to be calculated using the old model's rates until the next update. An attacker could potentially exploit this to pay or receive incorrect interest amounts for a short period.
The liquidation function passed an inflated liquidity amount to the interest rate update, which overstated available liquidity and understated utilisation. This caused incorrect borrow and supply rates to be calculated for the pool.
The yield cap check in executeYieldBorrowERC20 used the wrong index to calculate total supply, making the cap inaccurate. An attacker could borrow more than the intended yield cap, creating a security risk.
The isolateRepay function allows specifying an onBehalf address that is not the NFT owner, so an attacker can reduce another user's userScaledIsolateBorrow balance. This can cause an underflow when the victim tries to repay or is liquidated, preventing repayment or liquidation.
When a liquidator wins an isolated-lending NFT auction, the liquidation routine subtracts the accrued borrow amount from the pool's recorded total bid amount. Because interest keeps growing the borrow amount past the recorded bid, the subtraction underflows and the transaction reverts, so the winning liquidator cannot unlock the NFT.
The protocol lacks a mechanism to handle bad debt that arises when collateral value crashes or debt spikes, leaving outstanding debt that cannot be repaid. This can cause a liquidity shortfall, preventing users from withdrawing their deposits indefinitely.
The YieldAccount contract used for each user does not implement the onERC721Received callback required by ether.fi's WithdrawRequestNFT when it safe-mints a withdrawal request NFT. As a result, users cannot unstake from YiedlETHStakingEtherfi, locking their funds, yield and NFT collateral.
A liquidation routine that returns an NFT to its owner failed to clear the stored locker address on the token record. Because a later deposit does not check that field, the NFT could be re-deposited in cross mode while still marked as locked, and the withdrawal check would then permanently block the owner from taking it out.
The price oracle contract used two invalid checks to detect stale Chainlink prices: it only verified that the update timestamp was non-zero and that a deprecated round field was not less than the round ID. An attacker could exploit a stale price to borrow or liquidate at an incorrect value.
The borrow interest index continues to compound while a pool or asset is paused, even though users cannot repay during that time. When unpaused, many accounts could be immediately liquidated because their debt has grown without any chance to repay.
The owner of Etherfi's WithdrawRequestNFT can invalidate a withdrawal request, which prevents the BendDAO protocol from claiming the withdrawal and repaying its debt. The owner can then claim the invalidated request for itself, leaving the debt permanently stuck.
BI
BendDAO Invitational
Medium
Instant results are busy. Press Enter to search every report.
No direct matches. Search every report above, or try a bug class like IDOR or SSRF.