Hunt prep
Before you test Mellow Flexible Vaults
What 15 disclosed reports say about Mellow Flexible Vaults: 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 | 9 | 0 | – | – | $0 |
| DoS lesson | 5 | 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.
-
Protocol Fee Multiple Accrual in Oracle.submitReports
The timestamp should be updated even for non-base assets, so that fees are not calculated multiple times from the same old timestamp.
Disclosed
-
Protocol Fee Exponential Compounding in ShareModule.handleReport
The fee calculation should be based on total assets rather than total shares, and then mint corresponding shares to the fee recipient.
Disclosed
-
cancelDepositRequest() always reverts due to modifying FenwickTree with wrong index
The protocol team fixed this issue by using the index corresponding to the user's request timestamp instead of the price checkpoint index.
Disclosed
-
DoS in Redemption Due to Unchecked Asset Support in Subvaults
The protocol team fixed this issue by adding a check to skip subvaults that do not allow the asset before aggregating or pulling balances.
Disclosed
-
stETH edge case in transfer rounding can cause denial of service for depositors and redeemers
Track the actual amount of stETH received by checking the contract balance before and after transfers, and use the real received amount for all internal accounting and subsequent transfers.
Disclosed
-
`Consensus`.`checkSignatures` doesn't check duplication of signers
The protocol team fixed this issue by adding a check for duplicate signers.
Disclosed
-
Unable to withdraw native tokens because vault and redeem hooks do not handle native tokens
The protocol team fixed this issue by updating the code to query the native token balance when the asset is a native token.
Disclosed
-
RedeemQueue Accounting Mismatch Between Batch Creation and Claim Eligibility
The protocol team fixed this issue by removing the line that decrements latestEligibleIndex.
Disclosed
-
Incorrect performance fee calculation in `FeeManager`
The formula should be corrected to properly convert the price difference to share amounts by including `priceD18` in the denominator.
Disclosed
-
Redeems through RedeemQueue avoid paying management and performance fee
When a user creates a redeem request, transfer the fees to the queue contract and burn the shares only when the request is handled in _handleReport.
Disclosed
-
Flawed Logic in `ShareManager` Inverts Transfer Whitelist Behavior
The condition should be changed to revert only when both the sender and receiver are not whitelisted, and the protocol team fixed this issue.
Disclosed
-
ETH redemptions via `SignatureRedeemQueue` are broken due to missing `receive` function
The protocol team fixed this issue by adding a receive() function to the shared base contract.
Disclosed
-
Stuck `stETH` rewards in queue contracts
The contracts should either explicitly handle stETH by transferring shares or only support wstETH, the non-rebasing wrapped version of stETH.
Disclosed
-
Malicious Users Can Perpetually Lock `feeRecipient` Shares via Targeted Lockup Reset
The protocol team fixed this issue by skipping the targetLockup when minting shares to the feeRecipient address.
Disclosed