Hunt prep
Before you test Immunefi Arbitration
What 15 disclosed reports say about Immunefi Arbitration: 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 | 3 | 0 | – | – | $0 |
| Access control lesson | 2 | 0 | – | – | $0 |
| DoS lesson | 2 | 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.
-
Enforcing Multiple Rewards During Arbitration B
The report recommends not using enforceMultipleRewards at all, or if kept, checking that whitehat addresses are not smart contracts to prevent code execution from reverting transactions.
Disclosed
-
Projects can pay rewards at up to below market
The hardcoded PRICE_DEVIATION_TOLERANCE_BPS should be made more flexible and specific to each token's price feed, especially for feeds with a 2% deviation and a 86400s heartbeat.
Disclosed
-
Missing Chainlink circuit breaker check allows
The fix should add checks that the Chainlink circuit breaker is not active by comparing the reported answer against the aggregator's minAnswer and maxAnswer.
Disclosed
-
VaultDelegatesendReward - Token fees not subtra
The fix is to subtract the fee from the amount sent to the recipient, as shown in the suggested diff.
Disclosed
-
Critical reentrancy vulnerability in executeRew
The function should use a reentrancy guard and follow checks-effects-interactions so that all state changes are finalised before any external call.
Disclosed
-
Potential Loss of Precision in Conversion from
The input variable should be declared as uint32 in the setUp function, or the cast should be range-checked.
Disclosed
-
RewardTimelockcanExecuteTransaction - Reward tr
The comparison should be changed from less-than-or-equal to strict less-than.
Disclosed
-
RewardTimelockexecuteRewardTransaction - L Inco
The comparison operator should be changed from '>' to '>=' to allow execution at the exact expiration timestamp.
Disclosed
-
LatestRoundData Call May Result Stale
The contract should check that the returned price is positive, the update time is non-zero, and the answered round is at least the current round, and should validate freshness against a time window.
Disclosed
-
Malicious project can grief reward payouts from
The ImmunefiGuard should be modified to block adding or removing guards and modules during emergency shutdown, while still allowing other functions.
Disclosed
-
Malicious project can remove the ImmunefiGuard
The ImmunefiGuard should be modified to block adding or removing guards and modules during emergency shutdown, while still allowing other actions.
Disclosed
-
Token price returned by PriceConsumer may be in
Lower the feed timeout value so that transactions revert when the price is not accurate enough.
Disclosed
-
Chainlinks latestRoundData might return stale o
The contract should add checks that the price is positive, the round is complete and the answered-in round is not older than the current round.
Disclosed
-
Unsafe Downcast vulnerability this can lead to
The author suggests adding a require statement that rejects any dollar amount above the uint40 maximum before the cast.
Disclosed
-
Timelock contract should use canExecuteTransact
The author suggests replacing the separate checks with a single call to the existing canExecuteTransaction helper, made public.
Disclosed