Hunt prep
Before you test Fluid Protocol
What 18 disclosed reports say about Fluid Protocol: 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 |
| DoS lesson | 5 | 0 | – | – | $0 |
| Smart contracts lesson | 4 | 0 | – | – | $0 |
| Misconfiguration 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.
-
CRITICAL-02 / The contract could be permanently locked due to not reseting the boolen lock
The function should reset the lock before any early return, or use a pattern that guarantees the lock is released.
Disclosed
-
Incorrect Scale Factor value leads to early scale change
The scale factor should be set to a value no greater than 50% of the decimal precision.
Disclosed
-
Redeem functionality partially failing
The report does not propose a concrete fix, noting that revisiting the requirement for every trove manager to maintain at least one active trove could have implications elsewhere.
Disclosed
-
Lock issue bricks the redeem functionality
The lock should be released when a redemption is cancelled, or the lock mechanism should be removed if redundant.
Disclosed
-
Bricking redeem function
Modify trove_manager.get_current_icr to return u64::max when called for a non-existent trove.
Disclosed
-
Inconsistent Collateral Ratio Checks in Stability Pool Withdrawals Lead to Fund-Locking DoS
The withdrawal guard should be relaxed so users can withdraw even when undercollateralized troves exist, as the report suggests.
Disclosed
-
Single below MCR trove temporarily blocks redemptions
The loop should break when get_prev returns a null identity before calling get_current_icr.
Disclosed
-
Inaccurate check leading to debt miscalculation
The `internal_has_pending_rewards` function should also check whether the stored USDF debt snapshot is less than the current `l_usdf` value.
Disclosed
-
Improper Trove Validation Check Allows Low-Cost Griefing Attack to Block Protocol Redemptions
The check should be removed or applied across all assets.
Disclosed
-
Require_at_least_min_net_debt did not emit correct error message
The error message should be updated to reflect the actual minimum debt value, either by hardcoding '500' or using a format string to include `MIN_NET_DEBT`.
Disclosed