The liquidation path clears a user's local earmarked debt but never reduces the global cumulativeEarmarked counter, so the global figure stays overstated. This makes other users' debts appear higher than they should be, which could lead to wrongful liquidations and loss of funds.
The strategy's realAssets function reports the value of its Toke shares using a conversion that overstates what can actually be redeemed. An attacker or user relying on that figure could be misled about the funds available for withdrawal, though no funds are lost.
In the strategy's deallocation function, the WETH balance is read only after the vault withdrawal, so the before and after snapshots are identical and the redeemed amount is always computed as zero. This causes a loss event to be emitted falsely and the balance requirement checks to potentially revert, which the report says can freeze funds in the strategy.
The strategy's _allocate function calls router.depositMax with a hardcoded zero for minSharesOut, so the deposit has no slippage protection. An attacker could manipulate the exchange rate so the deposit returns zero shares, causing the strategy to lose the deposited funds.
The liquidation repayment fee calculation returns the full fee even when the victim's collateral cannot cover it, so the shortfall is paid from the protocol's global MYT balance. An attacker can liquidate an undercollateralised account and receive the full fee, stealing other users' collateral.
The _forceRepay function reduces a user's earmarked debt but fails to decrease the global cumulativeEarmarked variable, leaving it inflated. This causes the redeem function to transfer more collateral to the transmuter than it should, breaking the protocol's accounting and potentially freezing funds.
The strategy's allocate function calls a router deposit that only pulls up to the vault's maxDeposit, so any excess WETH remains stuck in the strategy contract. Because the vault's totalAssets calculation ignores this stuck WETH, later depositors can mint more shares than they should and withdraw more than their fair share.
The EulerARBUSDCStrategy contract tracks allocations in USDC asset amounts rather than vault shares, so withdrawing the full deposited amount leaves the earned yield as residual shares in the Euler pool. Because deallocation reverts once the allocation reaches zero and the strategy exposes no separate claim function, that yield becomes permanently stuck.
The _sync() function in AlchemistV3 reduces an account's debt and recomputes its rawLocked collateral but fails to update the global _totalLocked variable. This causes redeem() to use an inflated _totalLocked when weighting collateral removals, leading to a growing deficit between tokens transferred out and collateral deducted, eventually causing withdrawals and redemptions to revert.
The Aave WETH strategy on Arbitrum tracks allocations in asset amounts rather than aToken shares, so withdrawing the full allocated amount leaves the accrued yield as shares stranded in Aave. Once the vault's allocation for the strategy reaches zero, further deallocation calls revert and the strategy has no separate function to claim the yield, so it stays locked.
The ZeroXSwapVerifier's token extraction helpers only decode the first 32 or 64 bytes of swap calldata, so a crafted payload can place a whitelisted token at the start while the real swap path uses an unapproved token. If the verifier is later wired into non-atomic withdrawals, an attacker could pass whitelist checks and swap strategy assets into worthless tokens.
The Stargate strategy rounds a deposit down to a whole number of pool units and deposits only that amount, but returns the original unrounded amount to the vault. The vault therefore records a slightly larger allocation than was actually deposited, so the cap accounting drifts and later allocations can revert even though real funds are below the cap.
The _resolveRepaymentFee function returns the full liquidator fee even when the borrower's collateral is insufficient to cover it, and _liquidate transfers that full fee from the protocol's global MYT balance. An attacker can repeatedly liquidate underwater positions to drain other users' collateral.
The contract's internal counter of deposited yield tokens is not reduced when tokens are transferred out during liquidation and force repayment, so the reported total underlying value stays higher than the real balance. This inflated figure could let later deposits exceed the intended cap relative to actual holdings.
The _forceRepay function used during liquidations does not decrement the global cumulativeEarmarked variable, unlike the normal repay function. This leaves the protocol's earmarked debt overstated, which could block or reduce future redemptions even when collateral is available.
The contract's internal counter for deposited MYT tokens is not reduced when MYT is transferred out during liquidations, so the reported total value locked and deposit cap become inflated. An attacker could exploit this to make the protocol appear more solvent than it is, potentially leading to protocol insolvency.
An attacker can front-run a liquidation by depositing extra yield tokens, which raises the protocol's global collateralization above the minimum and causes the liquidator's outsourced fee to be zero. The liquidator then receives no fee for performing the liquidation.
The adapter contracts that hold allocated underlying tokens have no function to withdraw the yield they accumulate, so any rewards earned remain permanently stuck in the adapter. An attacker cannot directly steal the funds, but the protocol and its users lose access to all generated yield.
The _earmark() function in AlchemistV3.sol advances lastTransmuterTokenBalance to the full current balance even when cover exceeds the amount needed, discarding unused cover. This inflates cumulativeEarmarked and _earmarkWeight, causing users to be unable to burn alAssets to repay debt and forcing them to use MYT with a 20-day transmutation delay, and causing liquidations to clear more debt than necessary with higher fees.
The collateral balance of a position is reduced by an amount that depends on when the internal sync function was last called, so positions synced more frequently lose less collateral during redemptions. An attacker can repeatedly poke their position to gain extra collateral, eventually making the protocol insolvent.
The AlchemistV3 contract fails to decrement the internal _mytSharesDeposited variable when MYT tokens are transferred out during forced repayment or liquidation. This causes the system to overstate deposited collateral, potentially allowing redeemers or liquidators to receive more principal than entitled and leading to protocol insolvency.
The admin setter for the minimum collateralization ratio does not check that the new value is lower than the current one, so an admin can raise it and make previously healthy positions instantly liquidatable. The proof of concept shows a user at 112% collateralization becoming liquidatable after the admin raises the threshold to 115%.
The strategy's deallocation function reads the WETH balance after the withdrawal has already occurred, so the computed redeemed amount is always zero. This causes a misleading loss event to be emitted even when funds are received.
The ZeroXSwapVerifier library hardcodes incorrect function selectors for actions on the 0x Settler contract, so calldata built by the library will not match the real functions. An attacker could not directly exploit this, but swaps routed through the verifier would fail or call the wrong function, temporarily freezing funds.
The allocator trusts the strategy-reported allocation delta without normalising to a canonical precision, so a strategy that reports in 6-decimal units instead of 18-decimal units under-counts moved TVL by a factor of 1e12. This lets real funds flow into an adapter well beyond its per-strategy and global caps while the recorded TVL stays low.
The _forceRepay and _doLiquidation functions transfer MYT shares out of the contract but fail to decrement the _mytSharesDeposited counter, so the protocol's reported total value locked (TVL) stays higher than the actual on-chain balance. Over time this phantom collateral could make the protocol insolvent, causing failed withdrawals and deposit-cap denial of service.
The liquidation calculation subtracts a fixed-point scalar from the target collateralization to form a denominator, so setting the minimum collateralization to exactly that scalar makes the denominator zero. Any liquidation then reverts on the division, leaving undercollateralized positions unliquidatable and bad debt accumulating.
The realAssets() function in two Tokemac strategies returns an inaccurate value of the current investment because it does not use the vault's purpose-specific total assets and rounding. Passing this incorrect value to deallocate causes a revert, so the strategy fails to deliver promised returns.
The TokenAuto strategy approves only the exact allocation amount to the router, but the router's depositMax function tries to pull the strategy's entire token balance. An attacker can donate 1 wei of the underlying token to the strategy, making its balance exceed any future allocation amount and causing every allocation attempt to revert.
AV
Alchemix V3
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.