Hunt prep
Before you test Phuture
What 10 disclosed reports say about Phuture: 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 | 6 | 0 | – | – | $0 |
| Access control lesson | 2 | 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.
-
Tokens with fee on transfer are not supported
The contract should measure the balance before and after the transfer to determine the actual received amount.
-
Wrong requirement in reweight function ( ManagedIndexReweightingLogic.sol )
The check should be moved to the end of the function and use the length of the final assets array instead.
-
Inactive skipped assets can be drained from the index
The condition should use OR instead of AND so that skipped assets are always excluded during burning.
-
Chainlink’s latestRoundData might return stale or incorrect results
The contract should be fixed by adding checks for stale data, such as verifying that the answered-in round is not less than the round ID, timestamps are non-zero, and prices are positive.
-
Index managers can rug user funds
The role should be split into two separate roles, with only the orderer receiving the ORDERER_ROLE.
-
UniswapV2PriceOracle.sol currentCumulativePrices() will revert when priceCumulative addition overflow
The library should be forked and the arithmetic wrapped in an unchecked block so the intended overflow is allowed again; the project confirmed and resolved the issue.
-
IndexLogic : An attacker can mint tokens for himself using assets deposited by other users
The mint function should call transferFrom to transfer the user's assets directly, ensuring the caller provides the assets.