Hunt prep
Before you test Backd Tokenomics contest
What 38 disclosed reports say about Backd Tokenomics contest: 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
Not written yet for this program. The numbers below are up to date.
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 | 20 | 0 | – | – | $0 |
| DoS lesson | 7 | 0 | – | – | $0 |
| Smart contracts lesson | 7 | 0 | – | – | $0 |
| Access control lesson | 2 | 0 | – | – | $0 |
| Race condition lesson | 2 | 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.
-
Fees from delisted pool still in reward handler will become stuck after delisting
The delisting process should call burnFees() before removing the pool from the address provider.
Disclosed
-
Amount distributed can be inaccurate when updating weights
Checkpoint every LpStakerVault, KeeperGauge or AmmGauge when updating the weights of one of them.
Disclosed
-
BkdLocker depositFees can be blocked
The contract should only send ETH to the fee burner if at least one pool uses ETH as underlying; otherwise, call without sending ETH.
Disclosed
-
it’s possible to initialize contract BkdLocker for multiple times by sending startBoost=0 and each time different values for other parameters
The contract should track initialisation with a separate dedicated variable rather than relying on a configurable parameter.
Disclosed
-
There are multiple ways for admins/governance to rug users
The trust-minimizing approach is to not allow admins to change addresses; instead, admins can shut down the system, users withdraw, and then a new deployment is set up for users to migrate themselves.
Disclosed
-
Potential DoS when removing keeper gauge
The text recommends adding an on-chain check that the keeper gauge is not in use before it is removed.
Disclosed
-
The first AMM Staker will have control over how the shares are calculated.
The deployer should make two or three initial deposits to mitigate the attack, as suggested by the judge.
Disclosed
-
Total Supply is not guaranteed and is not deterministic.
The update should split the elapsed time at the decay point: apply the old rate only up to the decay point, then update the rate, then apply the new rate for the remaining time.
Disclosed
-
Usage of deprecated transfer to send ETH
The transfer should be replaced with a call that forwards sufficient gas and checks the success flag.
Disclosed
-
Users can claim more fees than expected if governance migrates current rewardToken again by fault.
The migrate function should be fixed by adding a require that the new reward token is not the same as the current one.
Disclosed
-
Minter.sol#_executeInflationRateUpdate() inflationManager().checkpointAllGauges() is called after InflationRate is updated, causing users to lose rewards
The call to checkpointAllGauges() should be moved before the inflation amounts are updated.
Disclosed
-
FeeBurner initiates swap without any slippage checks if Chainlink oracle fails
The transaction should revert or use a default slippage of 99% (e.g., via Curve's get_dy()) when the oracle fails.
Disclosed
-
DoS on KeeperGauge due to division by zero
The contract should handle the case where perPeriodTotalFees[i] is zero, for example by skipping the division or returning zero.
Disclosed
-
Inconsistency in view functions can lead to users believing they’re due for more BKD rewards
The claimableRewards() function should be changed to include the same condition on inflationRecipient as the other functions.
Disclosed
-
Strategy in StakerVault.sol can steal more rewards even though it’s designed strategies shouldn’t get rewards.
The transfer functions should either forbid transfers between strategy and non-strategy addresses, or update the staked totals correctly on such transfers.
Disclosed