Hunt prep
Before you test BendDAO Invitational
What 28 disclosed reports say about BendDAO Invitational: 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 | 23 | 0 | – | – | $0 |
| Access control lesson | 2 | 0 | – | – | $0 |
| DoS lesson | 2 | 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.
-
Mismatch between yield amount deposited in shares calculation and getAccountYieldBalance()
The issue was fixed by making the deposit function use the actual assets deposited (roughly equal to the borrowed amount minus rounding errors) instead of the returned shares.
Disclosed
-
The bot won’t be able to unstake or repay risky positions in the yield contract
The functions should accept a user address parameter and look up the yield account for that user, while checking that the caller is either the user or botAdmin; the project confirmed it was fixed.
Disclosed
-
Anyone can get the NFT collateral token after an Auction without bidding due to missing check on msg.sender
The fix was to add a check that the caller is the last bidder.
Disclosed
-
If an isolated borrower/bidder is blacklisted by the debt token, risk of DOS liquidation/auction of the corresponding loan
Use a try-catch block around the token transfer to handle failures gracefully.
Disclosed
-
YieldEthStakingLido lacks a limit on the max stake amount, which may result in the unstake exceeding MAX_STETH_WITHDRAWAL_AMOUNT , resulting in the token not being retrieved
The project added a checkStakeAmount method in YieldStakingBase for each sub-contract to override with its own maximum, and the report was fixed.
Disclosed
-
Fee-on-Transfer tokens cause problems in multiple places
The code should check the actual balance difference rather than expecting the exact amount, or document that fee-on-transfer tokens are not supported.
Disclosed
-
Updating asset collateral params can lead to liquidate borrowers arbitrarily
The protocol should implement a buffer period or lock time before collateral parameter changes take effect, or cache parameters for ongoing borrows, so users have time to adjust their positions.
Disclosed
-
Major insolvency risk in LiquidationLogic::executeCrossLiquidateERC721() due to not setting a maximum liquidation price
Cap the price per NFT used in liquidation to a reasonable value so that liquidators can profitably repay part of the debt.
Disclosed
-
Changing auction duration will have effect on ongoing auctions
The auction end time should be calculated and stored when the auction starts, rather than recalculated from the current duration.
Disclosed
-
User are forced to borrow again in order to unlock their NFTs from IsolateLending.sol
The code was fixed to clear the NFT locker address when the scaled amount is zero.
Disclosed
-
isolateRedeem() revert in case Revert-on-zero-value-transfers tokens
The transfer should be skipped when the bid fine is zero; the project confirmed and fixed it.
Disclosed
-
No check if Arbitrum/Optimism L2 sequencer is down in Chainlink feeds PriceOracle.sol
The oracle should check the Chainlink sequencer uptime feed and reject prices during downtime or a grace period, though the team noted the right interval is hard to set.
Disclosed
-
It’s impossible to retrieve collected fines from the yield staking contract
A function was added allowing the admin to collect fines from the yield staking contract, and the project confirmed it was fixed.
Disclosed
-
Borrower can prevent yield position repayment and closure by the bot
The repayment and NFT unlocking logic should be separated: reduce debt with collected yield and only unlock the NFT when no extra amount is needed; otherwise keep the token locked until the remaining debt is repaid.
Disclosed
-
Updating fee factor may create issues for the protocol
The fee update function should first accrue interest and then update the interest rates after changing the fee factor; the project confirmed it was fixed.
Disclosed