Skip to content

Sherlock

Notional Leveraged Vaults: Pendle PT and Vault Incentives

Every publicly disclosed report for Notional Leveraged Vaults: Pendle PT and Vault Incentives and what kind of bugs they were.

disclosed reports
19
most reported class
Business logic
bug classes found
4
first disclosure
2024
Find Notional Leveraged Vaults: Pendle PT and Vault Incentives on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Notional Leveraged Vaults: Pendle PT and Vault Incentives chose to make public.

Business logic

`_splitWithdrawRequest` will make invalid withdraw requests in an edge case

When an account is fully liquidated, the withdraw request splitting function deletes the old request, which resets a storage pointer and causes the liquidator's new withdraw request to have an ID of zero. This makes the request unrecognised by finalisation functions, so the liquidator's vault shares are lost.

Notional Leveraged Vaults: Pendle PT and Vault Incentives

High
DoS

`EtherFiLib::_initiateWithdrawImpl` will revert because rebase tokens transfer 1-2 less wei

The withdrawal function assumes the amount of eETH received from unwrapping weETH equals the amount requested, but rebase tokens transfer 1-2 wei less due to rounding, causing the subsequent transfer to fail. An attacker could trigger this to cause a denial of service on withdrawals.

Notional Leveraged Vaults: Pendle PT and Vault Incentives

High
Race condition

Malicious users can steal reward tokens via re-entrancy attack

The vault's reward-claiming logic lacked re-entrancy protection, so a malicious user could re-enter the claim function during a reward token transfer and receive more reward tokens than entitled. This allowed the attacker to steal reward tokens from the vault and other shareholders.

Notional Leveraged Vaults: Pendle PT and Vault Incentives

High
Business logic

Incorrect valuation of vault share

The vault share valuation formula failed to account for the different decimal precisions of the borrowed and redemption tokens, causing the collateral value to be inflated by a factor of 10^12. An attacker could borrow far more than their actual collateral, draining assets from the protocol.

Notional Leveraged Vaults: Pendle PT and Vault Incentives

High
Business logic

_claimRewardToken() will update accountRewardDebt even when there is a failure during reward claiming, as a result, a user might lose rewards

The reward claiming function updates the account's reward debt before attempting the token transfer, and if the transfer fails (e.g., due to blacklist or insufficient balance), the debt remains updated. This can cause a user to lose rewards because the debt is recorded as if the rewards were paid out.

Notional Leveraged Vaults: Pendle PT and Vault Incentives

Medium
Business logic

The withdrawValue calculation in _calculateValueOfWithdrawRequest is incorrect

The withdraw value calculation in several vaults incorrectly uses the total withdrawal amount instead of the user's share of the withdrawal request, overestimating the user's assets. This could allow users who should be liquidated to avoid liquidation, causing losses to the protocol.

Notional Leveraged Vaults: Pendle PT and Vault Incentives

High
Business logic

Loss of rewards due to continuous griefing attacks on L2 environment

The reward accumulation logic rounds down to zero when small amounts of reward tokens are claimed frequently, causing those rewards to be lost. An attacker on an L2 with low fees could repeatedly trigger claims to prevent any rewards from being accumulated.

Notional Leveraged Vaults: Pendle PT and Vault Incentives

High
Business logic

Users can deny the vault from claiming reward tokens

The vault calculates claimed reward tokens by comparing its balance before and after calling an external reward pool's claim function. Because anyone can call that external claim function, an attacker can front-run the vault's claim, causing the vault to record zero rewards and permanently lose them.

Notional Leveraged Vaults: Pendle PT and Vault Incentives

High
DoS

Lido withdraw limitation will brick the withdraw process in an edge case

The withdrawal initiation function did not enforce Lido's minimum and maximum withdrawal amount limits, so a user withdrawing an amount outside those bounds would have their request stuck and the later step would always revert, locking funds. An attacker could not directly exploit this, but any user with an amount below the minimum or above the maximum would permanently lose access to their funds.

Notional Leveraged Vaults: Pendle PT and Vault Incentives

High
Business logic

Selling sUSDe is vulnerable to sandwich attack when staked token is DAI

The protocol's instant redemption function for selling sUSDe to DAI lacks slippage protection because the second trade that would enforce it is skipped when the borrow token is DAI. An attacker could sandwich attack the trade to steal funds from the user.

Notional Leveraged Vaults: Pendle PT and Vault Incentives

High
Business logic

Lack of slippage control on `_redeemPT` function

The `_redeemPT` function sets the minimum output amount to zero, disabling slippage protection. An attacker could sandwich the redemption transaction or natural market movements could cause the vault to receive fewer tokens than expected, leading to asset loss.

Notional Leveraged Vaults: Pendle PT and Vault Incentives

High
Audit finding

Wrong decimal precision resulted in the price being inflated

The PendlePTOracle contract incorrectly assumed that Pendle's getPtToAssetRate returns a value in the PT token's decimals, but it actually returns 18 decimals. For PT tokens with fewer decimals (e.g., 6), this inflated the oracle price by 12 orders of magnitude, allowing attackers to borrow far more than their collateral's true value.

Notional Leveraged Vaults: Pendle PT and Vault Incentives

High
DoS

Protocol could be DOS by transfer error due to lack of code length check

The protocol's reward transfer function uses a try-catch to ignore transfer errors, but if the reward token's contract has no code (e.g., after self-destruct), the call reverts before entering the try-catch, breaking core functions like deposit, redemption, and liquidation. An attacker could not directly trigger this, but the edge case could cause assets to be stuck or lost.

Notional Leveraged Vaults: Pendle PT and Vault Incentives

Medium
Access control

`rescueTokens` feature is broken

The rescueTokens function in ClonedCoolDownHolder is guarded by onlyVault, but no vault implements the call, so tokens cannot be rescued and may become stuck. An attacker cannot directly exploit this, but the broken feature prevents recovery of lost assets.

Notional Leveraged Vaults: Pendle PT and Vault Incentives

Medium