Hunt prep
Before you test Bull v Bear
What 6 disclosed reports say about Bull v Bear: 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 | 3 | 0 | – | – | $0 |
| Smart contracts lesson | 2 | 0 | – | – | $0 |
| DoS 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.
-
It doesn't handle fee-on-transfer/deflationary tokens
The fix was confirmed after measuring the contract's balance before and after the transfer and using the difference.
Disclosed
-
Bull can `transferPosition()` to `address(0)` and the original order can be matched again
The project fixed it by tracking matched orders with a dedicated mapping and by disallowing transfers to the zero address, and the fix was confirmed.
Disclosed
-
Bull can prevent `settleContract()`
The issue was fixed by removing the try-catch around safeTransferFrom and always transferring the NFT to the contract itself, storing the bull's address for later retrieval.
Disclosed
-
Bulls that are unable to receive NFTs will not be able to claim them later
The issue was fixed by removing the withdrawToken function and allowing the bull to transfer their position to another address before reclaiming.
Disclosed
-
Attackers can use `reclaimContract()` to transfer assets in protocol to address(0)
The fix should add a check that the bull address is not the zero address, or verify that the order has been matched.
Disclosed
-
Reentrancy in `withdrawToken()` May Delete The Next User's Balance
The project added a nonReentrant modifier and reordered the state update before the external transfer, and the fix was confirmed.
Disclosed