Skip to content

Hunt prep

Before you test Alchemix

What 181 disclosed reports say about Alchemix: 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

    Test poke and merge paths for repeated FLUX accrual

    Business logic Read the lesson

    Several reports show FLUX being minted more than once through poke, merge and reset sequences. Exercise combinations of poke, merge and reset across epochs on VotingEscrow and Voter and check whether claimable FLUX is counted once per position or once per action.

    From the lessons: Reward accumulation updates in staking and vault contracts.; Functions that make external calls to tokens, native currency or NFTs...

  2. 2

    Check totalVoting accounting on every Bribe write path

    Business logic Read the lesson

    Reports repeatedly show totalVoting drifting from actual votes after withdraw, merge and checkpoint writes. Walk every Bribe function that changes a balance and confirm the tracker is updated consistently, including paths that were not covered by the earlier fixes.

    From the lessons: Reward accumulation updates in staking and vault contracts.; Trigger an internal outflow and check whether deposited share counters...

  3. 3

    Probe RevenueHandler checkpoint for double counting

    Business logic Read the lesson

    Many reports concern RevenueHandler counting unclaimed or already distributed tokens as new revenue. Test checkpoint and claim sequences across epochs, including tokens with different decimals and fee-on-transfer behaviour, and check whether balances and per-epoch totals stay consistent.

    From the lessons: Yield distribution and reward treasury contracts.; Test the protocol with several ERC20 variants (different decimals, no...

  4. 4

    Test rounding and division order in FLUX and reward maths

    Business logic Read the lesson

    Rounding and division-before-multiplication appear in several FluxToken and VotingEscrow reports. Recheck getClaimableFlux, calculateBPT and amountToRaise with small and extreme values, and confirm the order of operations and scaling by basis points is correct on each path.

    From the lessons: Compare the protocol's computed slippage bound against the true expect...; Mint or redeem shares and check whether the function enforces a minimu...

  5. 5

    Check checkpoint binary search with duplicate timestamps

    Business logic Read the lesson

    Reports show checkpoint and binary search logic mishandling block numbers and duplicate entries. Test VotingEscrow and Bribe checkpoint lookups around equal timestamps, epoch boundaries and the first epoch, and confirm the returned point matches the intended one.

    From the lessons: Reward accumulation updates in staking and vault contracts.

  6. 6

    Exercise merge and withdraw for lost unclaimed rewards

    Business logic Read the lesson

    Several reports describe rewards or bribes being frozen when positions are merged, withdrawn or burned. Test merge, withdraw and burn flows on VotingEscrow and check that pending ALCX, FLUX and bribe rewards are claimed or remain claimable afterwards.

    From the lessons: Reward accumulation updates in staking and vault contracts.; Vault deposit, withdraw and redeem functions across yield and staking...

  7. 7

    Test expired and cooled-down locks against vote weight

    Business logic Read the lesson

    Reports show expired locks and cooldown states still influencing vote weight and reward claims. Check how VotingEscrow and Voter treat locks past their unlock time or in cooldown when voting, poking and claiming, and whether weight matches the remaining lock.

    From the lessons: Reward accumulation updates in staking and vault contracts.

  8. 8

    Review governance threshold and quorum edge cases

    Business logic Read the lesson

    AlchemixGovernor reports cover proposal thresholds, quorum changes and execution of old proposals. Test proposal creation and execution around threshold and quorum boundaries, including proposals that were defeated or created before a parameter change.

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

  9. 9

    Check reward distribution for first-epoch and zero-week cases

    Business logic Read the lesson

    Reports show RewardsDistributor and Minter mishandling the first epoch, zero tokens per week and update timing. Test distribution across the first epochs and after period updates, and confirm rewards are neither frozen nor double counted.

    From the lessons: Yield distribution and reward treasury contracts.

  10. 10

    Test access control on poke, addReward and gauge admin calls

    Access control Read the lesson

    Access control gaps appear in poke, addReward and gauge management reports. Check who can call poke, addReward and gauge kill or revive functions, and whether a lower-privileged caller can trigger state changes meant for admins.

  11. 11

    Probe griefing through delegation and user point limits

    DoS Read the lesson

    Reports describe griefing by filling delegation slots and user point arrays to block withdrawals. Test delegation and checkpoint writes near their limits and check whether an attacker can prevent a victim from delegating, withdrawing or merging.

    From the lessons: Reward accumulation updates in staking and vault contracts.

  12. 12

    Check token approval and transfer return handling

    Business logic Read the lesson

    Reports cover USDT-style approvals and tokens that do not return a boolean. Test RewardPoolManager and RevenueHandler with tokens that reject non-zero-to-non-zero approvals or return false, and confirm deposits and swaps revert cleanly rather than freezing funds.

    From the lessons: Deposit a USDT-like token that rejects non-zero-to-non-zero approvals...; Call every transfer and transferFrom path with a token that returns fa...; Use a token whose approve and transfer do not return a boolean and che...

  13. 13

    Test slippage bounds on revenue swaps and reward pools

    Business logic Read the lesson

    Several reports concern inaccurate or missing slippage protection in RevenueHandler and RewardPoolManager. Check that swap and deposit paths enforce a user-supplied minimum output and that the bound reflects the true expected amount.

    From the lessons: Check whether every swap, deposit or mint path enforces a user-supplie...; Compare the protocol's computed slippage bound against the true expect...; Trigger a reward token swap with no slippage bound and check whether i...

  14. 14

    Look for front-running around distribute and claim

    Business logic Read the lesson

    Reports show distribute and claim being front-run to capture rewards or block others. Test ordering around Voter distribute, Bribe claim and RevenueHandler claim, and check whether a back-run or front-run changes who receives rewards.

    From the lessons: Reward accumulation updates in staking and vault contracts.; Liquidation, repayment and debt takeover flows where front-running can...

Public bounties only; many reports disclose without the amount.

ClassReportsPaidMedianHighestIn all
Business logic lesson 147 0 – – $0
DoS lesson 11 0 – – $0
Smart contracts lesson 10 0 – – $0
Access control lesson 4 0 – – $0
Misconfiguration 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.