Hunt prep
Before you test Overlay Protocol contest
What 11 disclosed reports say about Overlay Protocol contest: 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 | 7 | 0 | – | – | $0 |
| Access control lesson | 2 | 0 | – | – | $0 |
| Smart contracts 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.
-
OZ ERC1155Supply vulnerability
The project should update to OpenZeppelin contracts version 4.3.3 or later.
Disclosed
-
isUnderwater returns opposite boolean for short positions
The inequality for short positions should be flipped so that the left and right sides are in the correct order.
Disclosed
-
pow() is missing check on input parameters with 0 value
The extra zero-input checks from the Balancer contract should be added if they are useful.
Disclosed
-
Can’t enableCollateral after a disableCollateral
The functions enableCollateral and disableCollateral should update the collateralActive flag to true and false respectively after their require checks.
Disclosed
-
Cached version of ovl may be outdated
The contracts should either always fetch the current token address from the mothership or the caching behaviour should be confirmed as intended.
Disclosed
-
Improper Upper Bound Definition on the Fee
The adjustGlobalParams function should be fixed by defining upper and lower bounds on fee parameters.
Disclosed
-
OverlayV1UniswapV3Market computes wrong market liquidity
The token-ordering check should be taken from the market feed's own pool when computing liquidity, and the project confirmed the issue was known and to be addressed.
Disclosed
-
Timelock and events for governor functions
The functions should be fixed by adding a timelock for critical parameters and emitting events to inform the outside world.
Disclosed
-
Fee double counting for underwater positions
The fee should be adjusted after the position health check so that fees are only accrued on the remaining value after accounting for debt.
Disclosed