Hunt prep
Before you test Blend V2 Audit + Certora Formal Verification
What 21 disclosed reports say about Blend V2 Audit + Certora Formal Verification: 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 | 20 | 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.
-
Utilization ratio can exceed 100% due to missing validation in withdrawal functions
The issue was mitigated by adding a check that utilization stays below 100% during withdrawal actions.
Disclosed
-
Invalid utilization ratio check, blocking users from submitting a flash loan
The utilization check should be moved to after all requests are processed and the final state is stored, so that the end-of-transaction utilization is validated.
Disclosed
-
Missing update_rz_emis_data calls in draw and donate functions lead to incorrect emissions distribution
The issue was fixed by reverting backstop emissions math to how it works in v1, removing the rz_emis_index and distributing emissions during distribute based on the current state of the backstops.
Disclosed
-
Malicious actors can repeatedly dilute emissions to a longer timeframe
The issue was fixed by creating better bounds on when distribute and gulp are run, so gulp can only be run once a day per pool.
Disclosed
-
Edge case breaks APR cap calculation and leads to excessive fee extraction from the pool
The maintainer stated this won't be fixed; unit tests were added to ensure edge cases behave as expected, and they consider it not exploitable.
Disclosed
-
Interest auctions enable inflation attacks on backstop vaults, allowing attackers to steal user deposits
The issue was mitigated by implementing a restriction, likely preventing interest auctions from being filled when the backstop vault has few shares, as confirmed in the mitigation review.
Disclosed
-
Pools outside of the reward zone can keep receiving Blend tokens
The issue was fixed by reverting the rz_index change to how it worked in v1 and removing rz index from backstop emissions.
Disclosed
-
A reserve’s d_supply is incorrectly updated and stored after flash loan execution
The flash loan execution should call pool.cache_reserve() after adding the flash loan liability, and the project confirmed a fix adding that call.
Disclosed
-
Flash loans allow borrowing from frozen pools, bypassing security controls
The flash loan implementation should include the pool and reserve status validation checks; the initial fix resolved this issue but did not resolve a related duplicate submission.
Disclosed
-
Pool’s gulped emissions could be lost if a reserve has no supply
The code should be fixed to skip distribution to reserves with zero supply and to block gulping if no reserves have supply.
Disclosed
-
When code defaults on remaining liability, it does not delete remaining auction, which is problematic if the user has called fill with a % less than 100
The code was fixed to only process post-auction actions like bad debt and defaulting if the auction was fully filled and no remaining auction exists.
Disclosed
-
Fee-vault can be made insolvent in case of defaults
The fee vault was fixed to load the b_rate from the chain every time and update its internal state accordingly.
Disclosed
-
Attackers can maliciously inflate total_supply temporarily to exceed utilization rate limit and push the pool towards 100% util rate, potentially causing a loss of lender funds
The check was moved to the validation step at the end of the transaction and a 100% utilisation check was added during action application; the mitigation was confirmed.
Disclosed