Hunt prep
Before you test Boost Core Incentive Protocol
What 7 disclosed reports say about Boost Core Incentive Protocol: 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 | 4 | 0 | – | – | $0 |
| Access control lesson | 1 | 0 | – | – | $0 |
| DoS lesson | 1 | 0 | – | – | $0 |
| Smart contracts 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.
-
IncentiveBits.setOrThrow() will revert, leading to a DoS
The bit isolation logic should be corrected by shifting left to isolate the target bit and then shifting right by 7, as shown in the recommendation.
Disclosed
-
The incentive contracts are not compatible with rebasing/deflationary/inflationary tokens
The contracts should track the actual token balance after each transfer in and out to keep the stored data up to date.
Disclosed
-
claimIncentiveFor Might Lead To Loss Of Funds For CGDA Incentive
The protocol should prevent users from claiming time-dependent incentives on behalf of others, for example by restricting claims to the claimant only.
Disclosed
-
Unable to call some functions in the incentive contracts with onlyOwner modifier because of incorrect initialization leading to stuck funds
The owner should be specified in the init payload by the user, similarly to how it is done for the budget contracts.
Disclosed
-
Boost creator can collect all the fees by setting referralFee to 9_000 and give claimants his address as referrer_ address
The protocol team fixed this issue by setting a maximum value for the referral fee.
Disclosed
-
Budget allocation will break in case of a fee on transfer ERC 20 token
Either explicitly remove support for fee-on-transfer tokens or remove the balance check that causes the revert.
Disclosed