Hunt prep
Before you test Superfluid Locker System
What 6 disclosed reports say about Superfluid Locker System: 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 | 3 | 0 | – | – | $0 |
| DoS 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.
-
`FluidLocker::_getUnlockingPercentage()` uses 540 instead of `540 days` leading to stuck funds as the unlocking percentage will be bigger than `100%` and underflow
The issue was fixed by using 540 days instead of 540 in the calculation.
Disclosed
-
`FluidLocker::_getUnlockingPercentage()` divides before multiplying, suffering a significant precision error
The issue was fixed by multiplying before dividing.
Disclosed
-
An attacker may DoS user Fluid balance increases by frontrunning `FluidLocker::claim()` calls and calling `EP_PROGRAM_MANAGER::batchUpdateUserUnits()` directly
The locker should have a separate method to connect to the pool, so that the claim function does not depend on a signature that can be consumed by anyone.
Disclosed
-
`Fontaine` never stops the flows to the tax and recipient, so the buffer component of the flows will be lost
The protocol team fixed this issue in the following PRs/commits.
Disclosed
-
`FluidLocker::_getUnlockingPercentage()` incorrectly divides one of the components of the formula by `S`, leading to always having `80%` penalty
The extra `_SCALER` should be removed from the formula, and the protocol team fixed this issue in a pull request.
Disclosed