The removeValueSingle() function calls the asset's remove() before updating the closure's earnings per value, so the asset's collect() uses outdated earnings data. This causes users to lose part of their earned rewards when removing value.
The protocol does not account for deposit or withdrawal fees charged by underlying ERC4626 vaults when users add liquidity, so users can avoid these fees and withdraw more assets than they deposited, causing losses for later users.
When Burve ranges are out of bounds relative to the Uniswap V3 pool, collected fees in the wrong-side token cannot be compounded, so they sit idle. An attacker can deposit just before the price re-enters the range, then withdraw after compounding, capturing a disproportionate share of those accumulated fees.
The `removeValueSingle` function in the Burve protocol calculates a tax on the removed amount but does not withdraw that tax from the underlying vertex vault, leading to a mismatch between the amount withdrawn and the amount needed for the user transfer and tax deposit. If a related double-tax issue is fixed, this mismatch could cause the function to revert due to insufficient balance, resulting in a denial of service.
When a user collects earnings, the contract attempts to withdraw from an underlying vault that has temporarily disabled withdrawals, causing the withdrawal to be skipped. The contract then deposits its own tokens (which include protocol fees) into the vault and later transfers those tokens to the user, resulting in loss of protocol fees.
The addValue function in the Burve protocol increases both the closure's balances and targetX128 proportionally without enforcing the deMinimus limit, causing the difference between the sum of values and the target to grow beyond the designed invariant. An attacker could exploit this to break the invariant and potentially cause unfairness for users.
The ERC4626ViewAdjustor contract swapped the implementations of toNominal and toReal, so conversions between real and nominal token values were reversed. An attacker could exploit this to make users deposit more tokens than intended, causing loss of funds.
A logic error in the netting calculation during commit causes the withdrawal amount to remain unchanged when both deposits and withdrawals are pending, leading to excessive withdrawal fees for vaults that charge them. An attacker could not exploit this directly, but it results in unnecessary fee payments.
When a user adds value single-sided to a closure, the tax they pay is distributed to existing liquidity providers using a denominator that already includes the new user's stake. This dilutes the rewards for existing LPs and leaves excess fees stuck in the contract.
The removeValueSingle function in ValueFacet computes the real fee using an uninitialised variable (removedBalance) that is still zero, so the fee is always zero. An attacker can withdraw single-token removals without paying the protocol fee, causing a complete loss of intended fees.
The NoopVault contract lacks protection against ERC4626 donation attacks, allowing an attacker to front-run the first deposit and donate assets directly to inflate the share-to-asset ratio. This lets the attacker withdraw more assets than they deposited, draining funds from legitimate users.
Changing a token's efficiency factor via setEX128 does not recompute the pool's target value, so a user can backrun the admin transaction and call removeTokenForValue with a crafted amount to withdraw excess tokens for negligible value. This allows stealing the difference in tokens.
The SimplexDiamond contract's ownership transfer function is present, but the function to accept ownership is missing from the diamond's function selector list. As a result, the new owner cannot accept ownership, and the owner remains unchanged.
The mint and burn functions of ValueTokenFacet use a single shared ValueToken for every closure (cid), so a token minted against one closure can be burned against another. An attacker can add liquidity to a low-value closure, mint ValueTokens, burn them against a higher-value closure and withdraw that liquidity for a profit.
BU
Burve
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.