Hunt prep
Before you test Burve
What 15 disclosed reports say about Burve: 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 | 12 | 0 | – | – | $0 |
| Smart contracts lesson | 2 | 0 | – | – | $0 |
| Access control 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.
-
Incorrect earnings calculation in `removeValueSingle()` function causes partial user losses
The asset's remove() function should be moved below the closure's removeValueSingle().
Disclosed
-
Incorrect handling of ERC4626 vaults with fees
The protocol was fixed by transferring more tokens from users to cover the ERC4626 vault fees.
Disclosed
-
Attacker captures unclaimed fees by timing deposit with range re-entry and price manipulation
The best mitigation is to ensure Burve ranges are always in range by adding a small weighted big range.
Disclosed
-
`ValueFacet::removeValueSingle(...)` will withdraw less than required from the vertex vault due to unaccounted tax
The real tax should be calculated before withdrawing from the vault, and the withdrawal amount should include the real tax.
Disclosed
-
Protocol fee resides in the diamond contract can be wrongly sent to users if the underlying vault temporarily disables withdrawal
The withdrawal transaction should revert if the underlying vault is temporarily disabled.
Disclosed
-
Invariant Breaking1
The team acknowledged the issue but won't fix it at this time; a suggested mitigation is to recalculate the target using ValueLib.t.
Disclosed
-
Incorrect implementation of `ERC4626ViewAdjustor`
The fix is to reverse the implementation of toNominal and toReal in the ERC4626ViewAdjustor contract; the protocol team fixed this issue.
Disclosed
-
Incorrect Netting Logic Leads to Excessive Withdrawal Amounts
The issue was fixed by correcting the order of operations in the netting logic.
Disclosed
-
Incorrect tax distribution when adding value single-sided
The tax should be distributed based on the value staked before the new deposit is added.
Disclosed
-
Fee Bypass in `ValueFacet.removeValueSingle`
The protocol team fixed this issue by replacing the incorrect use of removedBalance with realRemoved when computing realTax.
Disclosed
-
An attacker can drain assets from a Closure by exploiting the NoopVault via a donation attack
The protocol team fixed this issue in the following PRs/commits: https://github.com/itos-finance/Burve/pull/79
Disclosed
-
User can backrun an admin calling `setEX128` and steal the difference in tokens
The protocol team fixed this issue in a pull request.
Disclosed
-
Simplex ownership cannot be transferred
The protocol team fixed this issue by adding acceptOwnership to the admin cut.
Disclosed
-
The value of each closure is not the same, and the same ValueToken cannot be used for all cids
It is recommended that a separate ValueToken be used for each closure.
Disclosed