Hunt prep
Before you test Y2K
What 19 disclosed reports say about Y2K: 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 | 13 | 0 | – | – | $0 |
| DoS lesson | 4 | 0 | – | – | $0 |
| Access control 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.
-
Earlier users in rollover queue can grief later users
The issue was fixed by changing the queue logic to set assets to zero instead of removing the queue item, and by modifying isEnlistedInRolloverQueue to prevent duplicate entries.
Disclosed
-
When rolling over, user will lose his winnings from previous epoch
The rollover should mint shares based on the entitled shares (including winnings) or allow the user to withdraw the winnings separately; a fix was implemented and later adjusted to avoid underflow.
Disclosed
-
User deposit may never be entertained from deposit queue
The sponsor acknowledged the issue and plans to raise the minimum deposit for the queue to make flooding expensive, rather than allowing users to dequeue by index.
Disclosed
-
ControllerPeggedAssetV2: outdated price may be used which can lead to wrong depeg events
The fix adds a check that reverts if the price is older than a reasonable limit, and the text confirms it was fixed.
Disclosed
-
Vault Factory ownership can be changed immediately and bypass timelock delay
The transferOwnership function should be overridden to require the timelock modifier, and the separate changeOwner function was removed in the fix.
Disclosed
-
Arbitrum sequencer downtime lasting before and beyond epoch expiry prevents triggering depeg
The report recommends adding a challenge period after epoch expiry during which anyone can prove with oracle round data that the sequencer was down and the strike price was reached at expiry.
Disclosed
-
Inconsistent use of epochBegin could lock user funds
The start-time check in the deposit modifier should use a greater-or-equal comparison so deposits are rejected once the epoch has begun; the text says a fix pull request was made and reviewed as good.
Disclosed
-
Controller doesn't send treasury funds to the vault's treasury address
The Controller should query the vault for its treasury address when sending fees, or use a single treasury address from the factory as later implemented.
Disclosed
-
Stuck emissions for nullified epochs
The fix was to override setEpochNull in Carousel so that emissions are transferred back to the treasury when an epoch is nullified.
Disclosed
-
Null epochs will freeze rollovers
The check should be changed to use greater-than-or-equal to allow rollover when entitled shares equal assets, but the sponsor acknowledged the issue and stated they won't fix this edge case, instead requiring manual resolution.
Disclosed
-
`Carousel.mintRollovers` potentially mints `0` shares and can grief rollover queue
The code was fixed by moving the relayer fee check before previewWithdraw and changing the condition to skip rollovers when assets are less than or equal to the relayer fee.
Disclosed
-
Funds can be stolen because of incorrect update to `ownerToRollOverQueueIndex` for existing rollovers
The ownerToRollOverQueueIndex should only be updated in the else case when the user does not have an existing rollover; the fix was confirmed by the auditor.
Disclosed
-
VaultFactoryV2#changeTreasury misconfigures the vault
The code was fixed so setTreasury uses the _treasury argument rather than the treasury variable.
Disclosed
-
`depositFee` can be bypassed via deposit queue
The project applied the deposit fee to all mints (both queue and direct) and raised the minimum deposit for queue deposits to make queue-based fee evasion harder.
Disclosed
-
Adversary can break deposit queue and cause loss of funds
Override _mint to remove the safeMint behaviour so that users cannot DOS the deposit queue; the fix was applied in a pull request.
Disclosed