Hunt prep
Before you test Krystal DeFi Invitational
What 5 disclosed reports say about Krystal DeFi Invitational: 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 |
| 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.
-
Wrong logic in AUTO_COMPOUND doesn’t allow for swap to token1
The condition should be changed to check if the target token is token1, as shown in the mitigation.
Disclosed
-
The Protocol breaks the Allowance Mechanism of the NFTs
The protocol should take approval from token owners rather than using the onERC721Received hook, though the team notes that any approval method will clear other approvals.
Disclosed
-
Swapping logic would be broken for some supported tokens
The swap function should use the existing safe reset and approve helper, or catch the revert when resetting to zero, or simply not support such tokens.
Disclosed
-
_deductFees() is incompatible with tokens that revert on zero value transfers
The transfer should be wrapped in a check that the computed fee amount is greater than zero before calling safeTransfer.
Disclosed