The protocol's maximum utilization check is only applied when borrowing, not when withdrawing, so a large withdrawal can push utilization above 100%. This can cause extreme interest rates and market instability, potentially leading to bad debt and insolvency.
The flash loan function checks the asset's utilization ratio immediately after adding the loan liability, before the user can execute actions and repay. This causes legitimate flash loans that would end below the maximum utilization to revert, blocking users from using the feature.
The execute_draw and execute_donate functions modify the non_queued_tokens value without first updating the reward zone emissions data, causing the emissions index to be calculated with incorrect token amounts. This leads to unfair distribution of emissions: pools that have tokens drawn earn fewer emissions, while pools that receive donations earn more than they should.
When a pool is removed from the reward zone, its unaccrued emissions are not accounted for, so those emissions are permanently lost and cannot be claimed. An attacker could not directly exploit this, but the pool's users lose their share of emissions.
The backstop token valuation performs integer division before multiplication, so with a low-decimal oracle and low backstop supply the value rounds to zero, causing a division-by-zero panic that blocks interest and bad-debt auctions.
The gulp_emissions function could be called repeatedly with no minimum time between calls, allowing anyone to dilute existing rewards over a longer timeframe and delay emissions. This could unfairly reduce rewards for current stakers.
The fee vault's update_rate function uses integer division that can round the target growth rate down to 1.0 when the product of 100,000, target APR, and elapsed time is less than seconds per year. This causes the protocol to take 100% of any interest growth as fees, even when the growth is below the configured APR cap.
The bad-debt transfer function refuses to move a position's debt to the backstop whenever the position still holds any collateral, and there is no minimum collateral size. The position owner can therefore deposit a dust amount of collateral to permanently block the bad debt from being auctioned, and the dust cannot be liquidated either.
An attacker can indirectly donate tokens to a newly created backstop vault via interest auctions, inflating the vault's token-to-share exchange rate. This allows the attacker to steal a portion of subsequent deposits through rounding errors.
A pool removed from the reward zone could still accrue Blend emissions because the gulp function reset its emission index. An attacker could create a pool, get it into the reward zone, then remove it and keep receiving emissions, diverting tokens from legitimate pools.
The flash loan execution path updates a reserve's d_supply but fails to cache the reserve, so a subsequent repay request loads a stale d_supply from storage and overwrites the correct value. This can let a user borrow beyond the maximum utilisation, distort interest accrual, make d_supply negative, and inflate BLEND token rewards.
The claim function in the backstop contract fails to update emission data for the recipient address when claiming on behalf of another address, allowing the recipient to claim emissions without proper accumulation. An attacker can exploit this to steal emissions from other users by claiming to a new address and then immediately claiming from that address.
The flash loan function in Blend's lending pool did not check the pool's status, so a user could borrow assets even when the pool was frozen or on-ice. An attacker could use a flash loan to effectively perform a borrow operation that should have been blocked by the pool's risk controls.
The auction creation functions did not check for duplicate reserves in the provided lot, allowing an attacker to inflate the auction's value by repeating the same reserve multiple times. This could create overpriced interest or bad debt auctions, potentially causing losses for the protocol or fillers.
The emission distribution logic does not skip reserves with zero supply, so emissions allocated to such reserves are permanently lost and cannot be claimed. An attacker could not directly exploit this, but the protocol loses funds that should have gone to other reserves or future suppliers.
When a bad debt auction is partially filled and the backstop threshold falls below 5%, the code defaults the remaining liability but leaves the remaining auction in storage. This allows a later filler to obtain the remaining backstop tokens without taking on any debt, causing a loss to backstop stakers.
The fee vault caches the pool's b_rate and skips updating it if the timestamp matches, so within a single block a default that lowers the pool's b_rate leaves the vault using an outdated higher rate. An attacker can bundle a deposit, a liquidation causing default, and a withdrawal in one block to make the vault burn fewer b_tokens than the pool actually burns, creating a deficit that makes the vault insolvent for the last withdrawer.
The pool's backstop take rate can be changed without first accruing reserve interest, so interest earned under the old rate is later credited using the new rate. This can misallocate the portion of accrued interest that should go to backstop credit.
The pool's utilisation rate limit was only checked during the borrow action, so a user could temporarily inflate total_supply with a supply action, borrow past the limit, then withdraw the supplied funds in the same transaction. This allowed pushing the pool towards 100% utilisation without providing real funds, potentially causing lender losses from bad debt.