Hunt prep
Before you test Reserve Core
What 66 disclosed reports say about Reserve Core: 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 15
Ideas drawn from this program's disclosed reports and our class lessons. None of them is a known bug: each is a place to look, and the reports linked under it are why. Check the current scope before testing anything.
-
1
Stale tradeEnd after early settlement blocks new auctions
Business logic Read the lesson
Test whether tradeEnd is reset when a Dutch auction settles before its scheduled end, and whether this blocks new auctions for the remainder of the original duration. Report #57748 shows this exact issue; verify if other auction types or early settlement paths suffer the same stale state.
-
2
Cancelled withdrawal availability floor affects new unstakes
Business logic Read the lesson
Check whether a cancelled withdrawal draft's availableAt still acts as a floor for subsequent unstake requests after the unstaking delay is reduced. Report #57747 describes this; test if the same stale floor applies when the delay is increased or when multiple cancellations occur.
-
3
Rate reset sandwich via unstake and cancelUnstake
Business logic Read the lesson
Test whether an attacker can avoid losses from an era change by moving funds between stake and draft buckets around a rate reset. Report #57746 shows this; verify if similar sandwich opportunities exist around other rate updates or seizures.
-
4
Empty revert from collateral blocks Dutch auction settlement
Business logic Read the lesson
Test whether a collateral token that reverts with empty data can cause a Dutch auction settlement to fail because the try-catch treats empty errors as out-of-gas. Report #57745 describes this; check other external calls in the settlement path for similar error handling assumptions.
-
5
Governor cannot call resetStakes due to era check
Access control Read the lesson
Verify whether the default Governance contract can call resetStakes, given that the function increments the era and the startedInSameEra check may revert. Report #57744 shows this; test if other emergency functions have similar access control flaws.
-
6
Division by zero in seizeRSR when totalStakes is zero
Business logic Read the lesson
Test whether an attacker can make totalStakes zero while stakeRSR is non-zero, causing seizeRSR to revert with a division by zero. Report #57743 describes this; check if similar invariant breaks exist in other staking or reward functions.
-
7
Distribution manipulation to avoid DAO fees
Business logic Read the lesson
Test whether governance can manipulate distribution settings to reduce DAO fees by accumulating RSR in rsrTrader and later redistributing with a different ratio. Report #57742 shows this; verify if similar fee avoidance is possible through other configuration changes.
-
8
Custom redemption exploits upward depeg for excess value
Business logic Read the lesson
Check whether custom redemption can be used to redeem RToken for more value than its target when a collateral has depegged upwards. Report #59052 describes this; test if the same issue applies to other basket configurations or during basket switches.
-
9
Deprecated oracle causes empty revert misinterpreted as out-of-gas
Business logic Read the lesson
Test whether a deprecated Chainlink oracle that reverts with empty data can block bids during a Dutch auction, allowing a bidder to buy assets below market value. Report #59050 shows this; check other oracle failure modes for similar error handling gaps.
-
10
cancelUnstake mints shares without updating rewards
Business logic Read the lesson
Verify whether cancelUnstake mints new stRSR shares at a stale exchange rate because payoutRewards is not called first, allowing an attacker to receive more RSR than entitled. Report #59049 describes this; test if other functions that mint or burn shares have similar missing reward updates.
-
11
Stake before unfreeze captures accumulated rewards
Business logic Read the lesson
Test whether staking just before an unfreeze allows an attacker to capture a large share of rewards accumulated during the freeze period. Report #59048 shows this; check if similar reward timing issues exist around pauses or other state transitions.
-
12
Skipping furnace.melt lowers RToken sell price
Business logic Read the lesson
Check whether calling assetRegistry.refresh() before manageToken causes furnace.melt() to be skipped, leaving the RToken exchange rate lower and causing a sell at a lower price. Report #59047 describes this; test if other functions have similar same-block refresh dependencies.
-
13
Oracle timeout leads to zero-price RSR sell-off
Business logic Read the lesson
Test whether an RSR oracle timeout causes the price function to return zero, leading to a sell trade offering all RSR at zero price. Report #59046 shows this; verify if other assets have similar fallback behavior on oracle failure.
-
14
Missing claimRewards in RevenueTrader manageToken
Business logic Read the lesson
Check whether RevenueTrader's manageToken fails to claim pending rewards before trading, leaving rewards unclaimed and potentially causing worse slippage. Report #59045 describes this; test if other trader functions have similar missing reward claims.
-
15
Furnace setRatio updates ratio while frozen, causing stale payout
Business logic Read the lesson
Verify whether setRatio updates the ratio even when melt fails due to frozen state, leaving lastPayout and lastPayoutBal stale and causing a higher melting rate after unfreeze. Report #59044 shows this; check if other setters have similar frozen-state issues.
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 | 40 | 0 | – | – | $0 |
| DoS lesson | 12 | 0 | – | – | $0 |
| Smart contracts lesson | 8 | 0 | – | – | $0 |
| Race condition 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.
-
Broken assumptions can lead to the inability to seize RSR
The issue was mitigated by enforcing that amount is not zero in _mint or by updating stakeRate only when both stakeRSR and totalStakes are non-zero.
Disclosed
-
The time available for a canceled withdrawal should not impact future unstaking processes
The pushDraft function should ignore the last queue entry's availableAt when that entry has been cancelled, so the current unstaking delay applies.
Disclosed
-
RToken can manipulate distribution to avoid paying DAO fees
Disallowing RSR as a distribution token should prevent this to a large extent, and the project mitigated the issue.
Disclosed
-
Users can dodge losses due to StRSR era changes with instant operations
The project mitigated the issue, but the text does not specify the exact fix; the recommended mitigation was to wrap both rates when at least one reaches the maximum.
Disclosed
-
The tradeEnd in BackingManager isn’t updating correctly
The tradeEnd should be updated to the current block timestamp when a trade settles, so that new auctions are not blocked by the original end time.
Disclosed
-
Permanent funds lock in StargateRewardableWrapper
The wrapper should implement an emergency mode where _claimAssetRewards() returns without interacting with the staking contract and uses stakingContract.emergencyWithdraw() to rescue funds; this was later mitigated by adding a call to emergencyWithdraw.
Disclosed
-
User can’t redeem from RToken based on CurveStableRTokenMetapoolCollateral when any underlying collateral of paired RToken’s price oracle is offline(timeout)
The project mitigated the issue by treating the asset as unpriced when an oracle times out.
Disclosed
-
RTokenAsset price estimation accounts for margin of error twice
The issue was acknowledged and documented, with a mitigation PR referenced, but the text does not describe the exact code change.
Disclosed
-
The broker should not be fully disabled by GnosisTrade.reportViolation
The Broker should only disable the specific trade kind that reported a violation, for example by checking the disabled flag only for batch auctions and leaving Dutch auctions available.
Disclosed
-
StaticATokenLM transfer missing _updateRewards
The recommended mitigation is to call _updateRewards() at the start of _beforeTokenTransfer, but the sponsor chose not to implement it and only added comments.
Disclosed
-
Custom redemption might revert if old assets were unregistered
The issue was mitigated by adjusting the code so that unregistered assets are not included in the array, as confirmed in the mitigation review.
Disclosed
-
RTokenAsset price oracle can return a huge but valid high price when any underlying collateral’s price oracle timeout
The issue was mitigated by enforcing (0, FIX_MAX) as 'unpriced' during oracle timeout.
Disclosed
-
The Asset.lotPrice doubles the oracle timeout in the worst case
The lastSave should be set to the oracle's updateTime instead of block.timestamp, or the price decay should start immediately.
Disclosed
-
CurveStableMetapoolCollateral.tryPrice returns a huge but valid high price when the price oracle of pairedToken is timeout
The try/catch around tryPairedPrice should be removed so that a failure causes the whole tryPrice function to revert, allowing the caller to handle the error.
Disclosed
-
FurnaceP1.setRatio will work incorrectly after call when frozen
The mitigation was to update payout variables if melt fails during setRatio, but the mitigation had an error according to the report.
Disclosed