Hunt prep
Before you test Index Update
What 18 disclosed reports say about Index Update: 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 | 10 | 0 | – | – | $0 |
| DoS lesson | 3 | 0 | – | – | $0 |
| Access control lesson | 1 | 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.
-
No check for sequencer uptime can lead to dutch auctions executing at bad prices
The recommendation is to check sequencer uptime and invalidate the auction if the sequencer was ever down during the auction period, but the team decided not to fix it and only added a warning to the documentation.
Disclosed
-
Exponential and logarithmic price adapters will return incorrect pricing when moving from higher dp token to lower dp token
The fix was to update scalingFactor to 18 decimals and apply it via mulWad (preciseMul) in both adapters.
Disclosed
-
price is calculated wrongly in BoundedStepwiseExponentialPriceAdapter
The formula was fixed by applying the scaling factor using a safe multiplication function after subtracting one, ensuring the correct order of operations.
Disclosed
-
Full inventory asset purchases can be DOS'd via frontrunning
The fix allows users to specify type(uint256).max to buy the entire remaining auction quantity, which was implemented and reviewed.
Disclosed
-
Malicious users can exploit the auction and make profit when the SetToken is not locked
The SetToken should always be locked when rebalancing, and a supply cap should be used to prevent large front-running issuance and redemption.
Disclosed
-
Relying solely on oracle base slippage parameters can cause significant loss due to sandwich attacks
The text suggests allowing keepers to specify their own slippage value, validated to be within a margin of the oracle, but the project decided not to fix it.
Disclosed
-
Chainlink price feed is `deprecated`, not sufficiently validated and can return `stale` prices
The contract was fixed by switching to latestRoundData and adding a configurable maxPriceAge check against updatedAt.
Disclosed
-
Operator is blocked when sequencer is down on Arbitrum
The onlyOperator() modifier should be changed to also accept the aliased address of the operator.
Disclosed
-
no validation to ensure the arbitrum sequencer is down
Checks should be added to ensure the sequencer is not down before using oracle prices.
Disclosed
-
Oracle Price miss matched when E-mode uses single oracle
The fix was to use the AaveOracle instead of separate oracles, ensuring that the protocol's valuations always align with AAVE's internal prices.
Disclosed
-
The protocol does not compatible with token such as USDT because of the Approval Face Protection
The issue was fixed by preceding any approve transaction with a zero approval, and the same change was later applied to the AMM module.
Disclosed
-
_calculateMaxBorrowCollateral calculates repay incorrectly and can lead to set token liquidation
The fix was to remove the unutilizedLeveragePercentage adjustment when calculating netRepayLimit.
Disclosed
-
eMode implementation is completely broken
The contract was fixed to track the current eMode category id and fetch the data for that specific eMode when it is not zero.
Disclosed
-
Loss of user funds - unchecked Return of ERC20 Transfer
The fix was to check for non-empty return data and ensure it is true, as done in the linked pull request.
Disclosed
-
Protocol doesn't completely protect itself from `LTV = 0` tokens
The protocol should add protections against tokens with an LTV of 0, such as checking for zero LTV before calculations and considering flashloan-based delevering.
Disclosed