Skip to content

Sherlock

Yieldoor

Every publicly disclosed report for Yieldoor and what kind of bugs they were.

disclosed reports
17
most reported class
Business logic
bug classes found
3
first disclosure
2025
Find Yieldoor on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Yieldoor chose to make public.

Business logic

Locked funds due to underflow in withdrawal

In the withdraw function of the Leverager contract, when the borrowed asset is token1, the code mistakenly uses amountOut0 instead of amountOut1 in a conditional subtraction. This causes an arithmetic underflow if amountOut1 is less than the owed amount, reverting the transaction and blocking withdrawals for token1 borrowers.

Yieldoor

Medium
Business logic

Insufficient Decimal

Interest accrual in the lending pool rounds down when the calculated interest is smaller than one unit of the asset, so frequent index updates can record no interest at all. An attacker could repeatedly deposit and redeem small amounts to force frequent updates, reducing or eliminating the profit owed to depositors.

Yieldoor

Medium
Business logic

Incorrect tick parameter in collectFees() function leads to loss of vesting position fees or possible complete protocol lockup

The collectFees() function uses the main position's upper tick instead of the vesting position's upper tick when collecting fees, causing fees to be lost or the call to revert if the vesting lower tick exceeds the main upper tick. This can block deposit, withdraw, rebalance, and compound, and prevent the vesting position from being closed, potentially locking the protocol.

Yieldoor

High
Business logic

Liquidation fee will not be claimed due to incorrect decimal handling

The liquidation fee calculation divides by the token's decimal count instead of 10 raised to that power, inflating the borrowed value. This prevents the fee recipient from ever receiving liquidation fees because the condition for fee collection is never met.

Yieldoor

High
Business logic

Contradiction between high-leverage and liquidation check of position

The liquidation check in the Leverager contract prevents opening positions with leverage above 2x, contradicting the intended design that allows higher leverage. An attacker could not exploit this, but it limits the protocol's functionality.

Yieldoor

High
Business logic

Uninitialized feeRecipient in Leverager.sol

The Leverager contract's feeRecipient variable is never initialised and has no setter, so when liquidatePosition sends fees they go to the zero address. This causes a loss of protocol fees.

Yieldoor

High
Smart contracts

`Vault::_calcDeposit()` will overflow for low priced tokens

The vault's deposit calculation multiplies three 18-decimal values, which can overflow for low-priced tokens and cause deposits to revert. An attacker could exploit this to prevent deposits, making users miss yield and favourable entry prices.

Yieldoor

Medium
DoS

`Leverager::deposit`, does not support multi-hop swaps with `exactOutput`

The Leverager contract's deposit function fails to support multi-hop swaps because the internal function _getTokenIn does not update the path variable when skipping tokens, causing an infinite loop. This prevents users from performing multi-hop swaps as intended.

Yieldoor

Medium