Skip to content

Immunefi

Alchemix V3

Every publicly disclosed report for Alchemix V3 and what kind of bugs they were.

disclosed reports
510
most reported class
Business logic
bug classes found
6
first disclosure
2025
Find Alchemix V3 on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Alchemix V3 chose to make public.

Business logic

Incorrect balance snapshot in _deallocate() causes wethRedeemed always = 0

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.

Alchemix V3

Low
Business logic

Repayment fee overpayment from global collateral pool

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.

Alchemix V3

Critical
Business logic

The cumulativeEarmark does not decrease in _forceRepay which lead to transfer more collateral from users even when all earmark debt cleared which breaks the alchemix v3 core logic

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.

Alchemix V3

High
Business logic

Rewards earned by eulerarbusdcstrategy will not be withdrawable from euler pool on arbitrum

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.

Alchemix V3

High
Business logic

_totalLocked Accounting Mismatch Leading to Token Balance Deficit in AlchemistV3

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.

Alchemix V3

High
Business logic

Weth yield will be locked on aaveweth pool on arbitrum

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.

Alchemix V3

High
Business logic

Zeroxswapverifier implements incorrect data extraction logic enabling verification bypass in future strategy integrations

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.

Alchemix V3

Low
Business logic

In stargate incorrect allocation cap accounting leading to unnecessary dos

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.

Alchemix V3

Medium
Smart contracts

_mytSharesDeposited is not updated during liquidations, breaking core accounting

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.

Alchemix V3

High
Business logic

Yield stuck in adapter contracts forever

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.

Alchemix V3

High
Business logic

Forgotten cover in _earmark() causes systematic over-earmarking and temporary freezing of user collateral

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.

Alchemix V3

Critical
Smart contracts

Missing _mytSharesDeposited decrements in AlchemistV3 _forceRepay/_doLiquidation

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.

Alchemix V3

High
Business logic

SetMinimumCollateralization allows for increasing the current minimumCollateralization , instantly exposing users to risk of liquidation

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%.

Alchemix V3

Medium
Business logic

Incorrect balance snapshot

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.

Alchemix V3

Low
Business logic

Action function signatures to 0x settler are wrong

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.

Alchemix V3

Medium
Business logic

Decimals mismatch causes 1e12 under-reporting in strategy returns, letting allocations silently exceed per-strategy and global caps

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.

Alchemix V3

Informational
Business logic

Missing TVL Accounting in _forceRepay and _doLiquidation Leads to Protocol Insolvency

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.

Alchemix V3

High
Business logic

Broken strategy realassets calculation

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.

Alchemix V3

Low
Business logic

An attacker can prevent any tokenauto strategy allocation by making a donation to the vault of as little as 1 wei of underlying token

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.

Alchemix V3

Medium