Skip to content

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

    From the lessons: Trigger an internal outflow and check whether deposited share counters...; Liquidation and force repay paths.

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

    From the lessons: Liquidation and force repay paths.; Liquidation, repayment and debt takeover flows where front-running can...

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

    From the lessons: Reward accumulation updates in staking and vault contracts.; Liquidation and force repay paths.

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

    From the lessons: Vault deposit, withdraw and redeem functions across yield and staking...; Trigger an internal outflow and check whether deposited share counters...

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

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

    From the lessons: Strategy allocation and deallocation functions in vaults.; Vault deposit, withdraw and redeem functions across yield and staking...

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

    From the lessons: Strategy allocation and deallocation functions in vaults.; Two-step admin and ownership transfer functions.

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

    From the lessons: Two-step admin and ownership transfer functions.; Proposal creation and configuration functions that can be front-run.

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

    From the lessons: DEX aggregator integrations and their approval handling.; Token transfer and approval helpers in vaults and strategies.

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

    From the lessons: Two-step admin and ownership transfer functions.

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

    From the lessons: Yield distribution and reward treasury contracts.; Reward accumulation updates in staking and vault contracts.

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

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

    From the lessons: Liquidation and force repay paths.; Liquidation, repayment and debt takeover flows where front-running can...

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

    From the lessons: Initialise and setup functions on newly deployed contracts.; Two-step admin and ownership transfer functions.

Public bounties only; many reports disclose without the amount.

ClassReportsPaidMedianHighestIn 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 reports

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