Hunt prep
Before you test Butter
What 9 disclosed reports say about Butter: 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 | 5 | 0 | – | – | $0 |
| Access control 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.
-
Insufficient validation of tokens when created in PlayCollateralTokenFactory::createCollateralToken
The factory should be fixed to reject token creation when the name or symbol already exists, for example by keeping a registry of used names and symbols.
Disclosed
-
FlatCFM cannot be resolved in case answer of questionId are in greater or equal to 2^OUTCOME_COUNT and answer % 2^OUTCOME_COUNT is 0
The resolve function should treat out-of-range answers as invalid and set the invalid outcome to receive full payout, or otherwise validate the answer before computing payouts.
Disclosed
-
Check numericAnswer before external call to check answer is valid or not
The check for numericAnswer being zero should be performed before the external call to isInvalid.
Disclosed
-
Bond Fund will be Lost When Question is Asked Again
The function should either revert on subsequent calls or refund the msg.value when the question already exists.
Disclosed