Hunt prep
Before you test Neobase Invitational
What 8 disclosed reports say about Neobase Invitational: 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 | 6 | 0 | – | – | $0 |
| DoS 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.
-
Issue from previous audit still present: Gauge can have bigger weight than was intended by protocol
The change_gauge_weight function should be removed.
Disclosed
-
GaugeController::remove_gauge will always revert whenever the gauge it’s being called or has any weight attached to it
Call _remove_gauge_weight before setting gauge_types_[_gauge] to zero.
Disclosed
-
If a gauge that a user has voted for gets removed, their voting power allocated for that gauge will be lost
Remove the additional require statement that checks whether the gauge type is different from zero, so users can remove their votes from removed gauges.
Disclosed
-
When the unlockOverride flag is true, users can “freely” vote for gauge weights.
The createLock and increaseAmount functions should revert when unlockOverride is true.
Disclosed
-
Improper parallel time system
The LendingLedger should be updated to use a time-based reward mechanism instead of block-based estimation.
Disclosed
-
Truncation exploitation of partial transfer system
The subtraction path of sync_ledger should continue subtracting the rounded-down amount from debt, while the addition path should round the debt added upwards.
Disclosed
-
Improper adjustment of Lending Ledger configuration
The contract should track all markets and update them whenever reward or block time parameters are changed, or restrict reward changes to future epochs only.
Disclosed