Hunt prep
Before you test Index Fun Order Book
What 7 disclosed reports say about Index Fun Order Book: 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 | 1 | 0 | – | – | $0 |
| Misconfiguration 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.
-
Seller Pays Buyer's Trade Fee in Token Swaps, Leading to Systematic Theft of Funds
The protocol team fixed this issue by changing the settlement logic to charge fees as additional costs, consistent with JIT minting.
Disclosed
-
PositionTokens violates one of the MUST rules defined in EIP-1155
The contract should be initialised with a valid ERC-1155 metadata URI, or an admin-only function should be added to set or update the URI after deployment.
Disclosed
-
Lack of Emergency Market Invalidation Mechanism
Add an invalidation flag and function callable by the emergency resolver, and allow users to burn position tokens and reclaim collateral when a market is invalidated.
Disclosed
-
Asymmetric fee structure allows market participants to get the same outcome for less fee
The fee should be charged as a percentage of the outcome volume traded, not the collateral amount.
Disclosed
-
Emergency resolver targets wrong epoch
The protocol team fixed this issue by adding an explicit epoch parameter to the emergency function and validating it against the market's current epoch.
Disclosed
-
Integer division rounding down allows buyers to obtain free position tokens in JIT Minting
The protocol team fixed this issue by adding a minimum trade size, as stated in the linked pull request.
Disclosed
-
CRITICAL: Access Control Bypass in Fee Management
The functions should be restricted with the owner modifier instead of the matcher modifier, though the team has said it will not be fixed at this time.
Disclosed