Hunt prep
Before you test Alchemix V3
What 510 disclosed reports say about Alchemix V3: what was found and paid, what was fixed, and where it may be worth looking next.
- with a public bounty
- 0
- median public bounty
- –
- highest public bounty
- –
Gaps worth testing 14
Ideas drawn from this program's disclosed reports and our class lessons. None of them is a known bug: each is a place to look, and the reports linked under it are why. Check the current scope before testing anything.
-
1
Check other global counters for the same missing decrement as _mytSharesDeposite
Business logic Read the lesson
Reports repeatedly show _mytSharesDeposited not being reduced in _forceRepay and _doLiquidation, and cumulativeEarmarked has the same pattern. Audit every global accumulator touched by liquidation, force repay, redeem and fee transfer paths in AlchemistV3 and confirm each outflow decrements the matching counter. The volume of related findings suggests the accounting model has several unlinked state variables.
Backed by_forceRepay does not reduce cumulativeEarmarked which leads to w... (2025) _totalLocked Accounting Mismatch Leading to Token Balance Defici... (2025) Incorrect Tracking of Total Deposited Yield Tokens (_mytSharesDe... (2025)From the lessons: Trigger an internal outflow and check whether deposited share counters...; Liquidation and force repay paths.
-
2
Test repayment fee resolution when collateral is below the fee
Business logic Read the lesson
Several critical reports describe _resolveRepaymentFee paying liquidators or the protocol from pooled collateral when the account cannot cover the fee. Exercise the fee resolution branch with accounts whose remaining collateral is smaller than the computed fee, across repay-only and full liquidation, and check whether the shortfall is socialised or silently taken from other depositors.
Backed byRepayment fee overpayment from global collateral pool (2025) _resolveRepaymentFee overpays liquidators when collateral is gon... (2025) Repayment fee overpayment in liquidation repay only path (2025)From the lessons: Liquidation and force repay paths.; Liquidation, repayment and debt takeover flows where front-running can...
-
3
Probe earmark accounting across consecutive blocks and poke calls
Business logic Read the lesson
Reports show _earmark skipping value when called in consecutive blocks and poke being spammable to block earmarking. Test the earmark and poke paths across adjacent blocks, including repeated calls within one block and calls one block apart, and check whether cumulativeEarmarked and transmuterDifference stay consistent with the actual transmuter balance.
Backed byEarmarked funds fail to accumulate when _earmark is called in co... (2025) Users can invoke the poke() function whenever the lastEarmarkDeb... (2025) Calling _earmark one block apart skips the block's earmark value (2025)From the lessons: Reward accumulation updates in staking and vault contracts.; Liquidation and force repay paths.
-
4
Check Transmuter claimRedemption partial and full redemption accounting
Business logic Read the lesson
Critical reports describe partial redemption burning the full position and claimRedemption failing to update _mytSharesDeposited. Test claimRedemption with partial amounts, zero amountNotTransmuted, and redemptions that exceed cumulativeEarmarked, and verify the burned position, returned alAsset and Alchemist share counter all move together.
Backed byPartial Redemption Burns Full Position — Accounting Desynchroniz... (2025) Transmuter::claimRedemption cant update _mytSharesDeposited lead... (2025) Total loss of user funds in claim redemption (2025)From the lessons: Vault deposit, withdraw and redeem functions across yield and staking...; Trigger an internal outflow and check whether deposited share counters...
-
5
Test slippage bounds on every strategy allocate and deallocate path
Business logic Read the lesson
Many reports flag hardcoded zero minSharesOut and missing slippage protection in TokeAuto, Moonwell and Stargate strategies. For each strategy, check whether the allocate and deallocate functions read a user-supplied minimum output and whether the value is actually enforced rather than left unused. Compare the computed bound against the real expected output.
Backed byHardcoded 0 amount as the minSharesOut to depositMax(...) functi... (2025) No slippage provided in auto strategy implementation will open r... (2025) Zero slippage protection in toke strategies allocation (2025)From the lessons: Check whether every swap, deposit or mint path enforces a user-supplie...; Allocate to a strategy without slippage control and check whether the...; Compare the protocol's computed slippage bound against the true expect...
-
6
Verify strategy realAssets and balance snapshots after loss
Business logic Read the lesson
Reports show realAssets misreporting and balance snapshots taken after withdrawal, causing false loss events and broken loss detection. Test each strategy's realAssets and _deallocate balance measurement when the vault is at a loss, and check whether the reported assets match the actual redeemable amount and whether loss events fire correctly.
Backed byThe tokeauto strategies implementation does not accurately repor... (2025) Incorrect balance snapshot in _deallocate() causes wethRedeemed... (2025) Broken strategy realassets calculation (2025)From the lessons: Strategy allocation and deallocation functions in vaults.; Vault deposit, withdraw and redeem functions across yield and staking...
-
7
Check killswitch behaviour for stranded assets and blocked withdrawals
Business logic Read the lesson
Several reports describe assets allocated while the killswitch is enabled and funds stuck when it is toggled. Test MYTStrategy and AlchemistAllocator with the killswitch on and off around allocate, deallocate and removeStrategy, and check whether assets can still enter a killed strategy and whether they can be recovered afterwards.
Backed byFunds can become permanently stuck in adapter when kill switch i... (2025) KillSwitch early-return in strategy causes vault-to-adapter asse... (2025) Flawed killswitch implementation in mytstrategy leads to permane... (2025)From the lessons: Strategy allocation and deallocation functions in vaults.; Two-step admin and ownership transfer functions.
-
8
Test AlchemistAllocator cap enforcement and operator limits
Access control Read the lesson
Reports repeatedly show caps not enforced, inverted min/max logic and operators exceeding DAO limits. Exercise allocate and deallocate with amounts at and beyond absoluteCap and relativeCap, and with operator limits set, and check whether the checks actually bind or can be bypassed through multicall or unit mismatches.
Backed byCap Bypass in AlchemistAllocator.deallocate() Allows Over-Deallo... (2025) Inverted min max logic in alchemistallocator operator cap calcul... (2025) Adjusted cap limits are never enforced (2025)From the lessons: Two-step admin and ownership transfer functions.; Proposal creation and configuration functions that can be front-run.
-
9
Probe ZeroXSwapVerifier calldata binding and selector handling
Access control Read the lesson
Many reports show the verifier failing to bind recipient, from, token and minOut, plus wrong hardcoded selectors. Test verifySwapCalldata and the execute meta-transaction path with calldata where recipient, source and output token differ from the strategy's intent, and check whether the verifier rejects mismatches or lets them through.
Backed byZeroxswapverifier implements incorrect data extraction logic ena... (2025) Zeroxswapverifier recipient validation bypass (2025) Naive 0x fill parsing lets attackers spoof token and amount chec... (2025)From the lessons: DEX aggregator integrations and their approval handling.; Token transfer and approval helpers in vaults and strategies.
-
10
Check two-step admin transfer across curator and alchemist
Access control Read the lesson
Numerous low reports show acceptAdminOwnership requiring the current admin instead of the pending admin, and setAdmin bypassing the two-step flow. Test the ownership transfer sequence on AlchemistCurator and AlchemistV3, including calling accept from the pending admin, from the current admin, and via inherited setters, and confirm the intended handover completes.
Backed byPending admin cannot accept ownership in alchemistcurator sol (2025) Broken two step admin transfer prevents legitimate admin success... (2025) Alchemistcurator 2 step ownership transfer is implemented incorr... (2025)From the lessons: Two-step admin and ownership transfer functions.
-
11
Test reward claiming across Aave, Euler, Moonwell and Tokemak strategies
Business logic Read the lesson
Reports show missing _claimRewards implementations and rewards sent to the wrong address or left stranded in adapters. For each strategy, check whether accrued incentives can be claimed and routed to the vault, including after deallocation and when the reward token differs from the underlying, and whether claimed rewards are accounted for in realAssets.
Backed byRewards earned by eulerarbusdcstrategy will not be withdrawable... (2025) Weth yield will be locked on aaveweth pool on arbitrum (2025) Missing _claimRewards in AaveV3ARBUSDCStrategy leads to permanen... (2025)From the lessons: Yield distribution and reward treasury contracts.; Reward accumulation updates in staking and vault contracts.
-
12
Probe rounding and decimal handling in debt and share conversions
Business logic Read the lesson
Rounding is the most common technique in this program's reports, covering debt conversion, badDebtRatio and share maths. Test conversions between debt tokens, underlying and MYT shares at small amounts and boundary values, and check whether rounding direction favours the user or leaves dust that blocks deallocation or inflates counters.
Backed byUnderflow account.rawLocked on _subDebt due to rounding inconsis... (2025) The Alchemist::burn function experiences precision loss, resulti... (2025) Rounding errors in debt to collateral conversions allow attacker... (2025)From the lessons: Vault deposit, withdraw and redeem functions across yield and staking...; Mint or redeem shares and check whether the function enforces a minimu...
-
13
Check liquidation fee payment when collateral is exhausted
Business logic Read the lesson
Reports show liquidator fees seized but not paid, or paid from pooled collateral when the account has nothing left. Test _doLiquidation and _forceRepay with accounts whose collateral exactly equals or is below the base fee, and check whether the fee is paid from the account, stranded, or taken from other users' collateral.
Backed byLiquidator base fee seized but not paid due to post deduction ba... (2025) Liquidation fee payment failure due to redundant wrong collatera... (2025) Liquidator Fee in the _doliquidation Function Withheld When Coll... (2025)From the lessons: Liquidation and force repay paths.; Liquidation, repayment and debt takeover flows where front-running can...
-
14
Test minimum collateralization changes against live positions
Business logic Read the lesson
Reports show setMinimumCollateralization allowing values above the lower bound and instantly exposing users to liquidation. Test the setter with values at and beyond collateralizationLowerBound and check whether existing positions become liquidatable immediately and whether the initialize path enforces the same invariants as the setters.
Backed bySetMinimumCollateralization allows for increasing the current mi... (2025) Unlike setters collateralization functions, AlchemistV3::initial... (2025) Asymmetric validation in collateralization setters allows protoc... (2025)From the lessons: Initialise and setup functions on newly deployed contracts.; Two-step admin and ownership transfer functions.
What was found and what it paid
Public bounties only; many reports disclose without the amount.
| Class | Reports | Paid | Median | Highest | In all |
|---|---|---|---|---|---|
| Business logic lesson | 361 | 0 | – | – | $0 |
| Access control lesson | 67 | 0 | – | – | $0 |
| Smart contracts lesson | 54 | 0 | – | – | $0 |
| DoS lesson | 20 | 0 | – | – | $0 |
| Misconfiguration lesson | 2 | 0 | – | – | $0 |
| Race condition lesson | 1 | 0 | – | – | $0 |
What was fixed
All reportsThe newest fixes, in our words. A fixed bug is not worth re-reporting, but a sibling feature, an older API version or a regression may be.
-
The tokeauto strategies implementation does not accurately report the actual assets held by the strategy
The realAssets calculation should use the redemption preview rather than a plain share-to-asset conversion so it reflects what can actually be withdrawn.
Disclosed
-
Incorrect balance snapshot in _deallocate() causes wethRedeemed always = 0
The balance should be snapshotted before the withdrawal, as the report notes other strategies do, so the redeemed amount is computed correctly.
Disclosed
-
Hardcoded 0 amount as the minSharesOut to depositMax(...) function call does not provide slippage protection
The code should pass a sensible minimum-shares value instead of hardcoding zero.
Disclosed
-
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 should decrease cumulativeEarmarked by the amount of earmarked debt removed.
Disclosed
-
When allocation amount is greater than the maxDeposit of TokeAutoETh.sol, the remaining is stuck in TokeAutoEth.sol
The strategy should check the autoEth maxDeposit for itself before calling depositMax and handle any remaining amount, for example by not allocating more than the cap.
Disclosed
-
Rewards earned by eulerarbusdcstrategy will not be withdrawable from euler pool on arbitrum
A function should be added to the strategy to claim or withdraw the residual yield shares from Euler, since the normal deallocation path cannot reach them once allocation is zero.
Disclosed
-
Weth yield will be locked on aaveweth pool on arbitrum
The strategy should be given a function to claim or withdraw accrued yield from Aave, or should track allocations in shares so the yield can be redeemed.
Disclosed
-
Zeroxswapverifier implements incorrect data extraction logic enabling verification bypass in future strategy integrations
The extraction functions should fully parse the real UniswapV3 path and RFQ order structures, or revert until that parsing exists.
Disclosed
-
_resolveRepaymentFee overpays liquidators when collateral is gone, letting attackers drain MYT
The fee returned should be capped to the actual collateral deducted, and _mytSharesDeposited should be decremented accordingly; the text provides a recommended fix but does not state it was applied.
Disclosed
-
Incorrect Tracking of Total Deposited Yield Tokens (_mytSharesDeposited) in Liquidation and Force Repayment Paths
The liquidation and force repayment paths should decrement _mytSharesDeposited by each amount transferred out, matching the real token balance.
Disclosed
-
_forceRepay fails to decrement global cumulativeEarmarked, causing redemption accounting desynchronization and potential protocol-wide redemption halt
The _forceRepay function should be updated to decrement cumulativeEarmarked in the same way as the repay function.
Disclosed
-
_mytSharesDeposited is not updated during liquidations, breaking core accounting
The contract should decrement _mytSharesDeposited by the amount of MYT transferred out in both _forceRepay and _doLiquidation.
Disclosed
-
Manipulation of feeinunderlying through front running during liquidations on ethereum
The protocol should use a snapshot of the deposited shares from before the current block, or otherwise prevent same-block deposit changes from affecting the liquidation fee calculation.
Disclosed
-
Forgotten cover in _earmark() causes systematic over-earmarking and temporary freezing of user collateral
The _earmark() function should consume only the amount of cover actually used and retain the leftover for future earmarks.
Disclosed
-
Missing _mytSharesDeposited decrements in AlchemistV3 _forceRepay/_doLiquidation
The contract should decrement _mytSharesDeposited whenever MYT tokens are transferred out in _forceRepay and _doLiquidation.
Disclosed