The redemption price of BondToken depends on the collateralLevel, which can be manipulated by buying LeverageToken. An attacker can buy LeverageToken to push the collateralLevel above 120%, then redeem BondToken at a higher fixed price, and finally sell back the LeverageToken for a profit.
The BondToken's globalPool state variable is updated incorrectly when an auction starts, using an outdated sharesPerToken value. This leads to incorrect calculations of coupon tokens that bondholders can claim.
The auction success condition compares the total reserveToken bid to a percentage of the pool's balance but ignores claimable fees. An attacker could cause a drastic reduction in claimable fees when an auction succeeds, or cause an auction to fail if fees are claimed before ending.
The BalancerRouter contract attempts to increase its allowance to the Balancer vault for pool tokens, but these tokens already have an infinite allowance, causing an arithmetic overflow. This prevents any withdrawal via exitPlazaAndBalancer, effectively breaking a core function.
A rounding error in the auction's slot size calculation allows a malicious user to spam the maximum number of bids with amounts equal to the slot size, forcing the auction to fail as undersold despite receiving sufficient total funds. This prevents bond payments and denies service to legitimate users.
The BalancerRouter contract calls PreDeposit.deposit, which caps the deposited amount at the reserve cap and leaves any excess tokens with the router instead of refunding the user. An attacker could cause a user to lose funds when the deposit exceeds the remaining cap.
The contract calculates the redemption price for bondETH using an estimated collateral level that accounts for the amount being sold, rather than the current collateral level. An attacker can buy bondETH at a low price and then sell it at the maximum price of $100, extracting ETH from the market.
Leverage token holders in a bond/leverage pool can redeem their tokens before the quarterly auction transfers reserve funds out, so their redemption is not charged the fee that funds bond holder payments. This lets them take leverage exposure without paying their share, pushing those fees onto the remaining leverage holders.
The BalancerRouter contract transfers the maximum amount of assets from the user but does not check how much is actually deposited into the Balancer pool, leaving leftover assets locked in the contract. An attacker could cause users to lose funds because the remaining assets are not returned.
The BondOracleAdapter's latestRoundData function returns a price in PriceX96 format without converting it to a decimal-based format (e.g., 18 decimals). This causes the returned price to be vastly different from the expected value, leading to incorrect asset valuations and potentially financial losses for users.
The redeem function for LevETH incorrectly compares the BondETH market rate with the LevETH redeem rate, always choosing the lower BondETH market rate. This causes traders to receive significantly less than the correct amount when redeeming LevETH.
The auction contract stores its address under the current period, but then increments the period, so when the auction later calls transferReserveToAuction, the pool looks up the new period and finds no auction address, causing the call to revert. This prevents the auction from ending and the reserve tokens from being transferred.
The BondOracleAdapter returns the pool price directly and hardcodes the oracle decimals to the bond token's decimals, but the pool may order the bond token as token0 instead of token1, causing the price to be denominated in the wrong token. This leads to an incorrect market rate and massive loss of funds for bond token holders when redeeming.
The Pool contract allows anyone to start an auction, which snapshots bond token balances for reward distribution. An attacker can use a flash loan to mint bond tokens, start an auction, distribute rewards, claim all coupons, and then burn the tokens and repay the loan, leaving other holders with no rewards.
The fee calculation uses the current reserve token balance multiplied by the entire time since the last fee claim, rather than the balance that was actually held over that period. An attacker could cause fees to be overcharged or undercharged by depositing or redeeming tokens just before a fee claim.
A failed auction still records a non-zero sharesPerToken for the previous period, so bondETH holders can claim coupon shares for a period that produced no coupon. This lets early claimers drain the distributor, leaving later holders unable to claim.
The bond token redemption price is discontinuous at the 120% collateral threshold, jumping from at most 96 to 100. A small increase in total value locked can therefore cause a sudden loss for leverage token holders.
The removeExcessBids function reduces the lowest bidder's sellCouponAmount and buyReserveAmount proportionally using integer division, which introduces rounding errors that can alter the price ratio. An attacker can exploit this to make a high-priced bid end up with a lower effective price, or repeatedly increase their buyReserveAmount by 1 wei without changing sellCouponAmount, causing the protocol to lose reserve tokens.
The `setBondAndLeverageAmount` function in the PreDeposit contract can only be called before the deposit phase ends, allowing a user to withdraw their deposit just before governance sets the amounts, causing the amounts to be based on an outdated reserve balance. This leads to incorrect total supplies of bond and leverage tokens, unfair token balances, and unfair coupon distribution.
The pool lets every holder of the leveraged token redeem their whole balance, which can drive the token's total supply to zero. Once supply is zero, the price calculation reverts, so nobody can create (buy) the leveraged token again.
The BalancerRouter contract hard-codes a single Balancer pool token address, so when a user joins any other pool the router measures a zero balance change and deposits nothing into the preDeposit contract. The newly minted pool tokens are left stranded in the router, causing a permanent loss of the user's funds.
The auction start function sets lastDistribution to the current block timestamp instead of the scheduled distribution time, causing any delay in starting the auction to permanently shift future distributions later. This cumulative drift reduces yield for bond holders over time.
The protocol assumes 1 USDC always equals 1 USD when calculating collateral levels, so if USDC depegs the collateral level is miscomputed. This could lead to incorrect minting and redeeming of bond and leverage tokens, causing loss of funds for users.
A decimal precision mismatch between the market rate (18 decimals) and the redeem rate (6 decimals) in Pool.sol causes the comparison marketRate < redeemRate to always be false. As a result, the market rate is never used, and users redeeming tokens may receive more reserve tokens than intended if the true market rate is lower.
The redeem rate calculation for leverage tokens divides before multiplying by precision, causing rounding to zero when TVL is low or bond supply is high. This makes the redeem amount zero and the transaction reverts, preventing users from redeeming.
The BalancerOracleAdapter contract assumes Chainlink price feeds exist for wstETH/USD and stETH/USD, but those feeds are not available. If either token is in the Balancer pool, calling latestRoundData() reverts, so the oracle cannot return prices.
The BondOracleAdapter's getPool function selects a pool based on tick spacing without considering fee structure or trading activity, allowing an attacker to create a low-fee, tight-tick-spacing pool that the adapter might choose. This could lead to a skewed price oracle, enabling price manipulation.
The auction contract refunds the lowest bidder via a push transfer of USDC, which reverts if that bidder is blacklisted. An attacker can fill the auction with low bids, get the lowest bidder blacklisted, and block all new bids, allowing them to win the auction cheaply and drain most of the reserves.
The redeem function for Leverage tokens can revert due to an underflow when the asset supply is high relative to the total value locked (TVL). An attacker could exploit this to prevent users from redeeming their Leverage tokens.
PF
Plaza Finance
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.