Hunt prep
Before you test Notional Leveraged Vaults: Pendle PT and Vault Incentives
What 19 disclosed reports say about Notional Leveraged Vaults: Pendle PT and Vault Incentives: 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 | 10 | 0 | – | – | $0 |
| DoS lesson | 5 | 0 | – | – | $0 |
| Access control lesson | 1 | 0 | – | – | $0 |
| Race condition 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.
-
`_splitWithdrawRequest` will make invalid withdraw requests in an edge case
The request ID should be saved in a separate memory variable before the old request is deleted, so the new request gets the correct ID.
Disclosed
-
The _getValueOfWithdrawRequest function uses different methods for selecting assets in various vaults
The protocol team fixed this issue by changing the rsETH withdrawal request valuation to match weETH, as confirmed in the provided PRs/commits.
Disclosed
-
`EtherFiLib::_initiateWithdrawImpl` will revert because rebase tokens transfer 1-2 less wei
The issue was fixed by measuring the actual balance change and using that amount for approval and withdrawal.
Disclosed
-
Malicious users can steal reward tokens via re-entrancy attack
The protocol team fixed this issue by adding a re-entrancy guard to the `claimAccountRewards` function.
Disclosed
-
Incorrect valuation of vault share
The formula should be updated to include the borrowed token's precision in the numerator and the redemption token's precision in the denominator; the text states the protocol team fixed the issue and the fix was signed off.
Disclosed
-
`Kelp:_finalizeCooldown` cannot claim the withdrawal if adversary would requestWithdrawals with dust amount for the holder
The protocol team fixed this issue by switching to direct ETH withdrawals from Kelp instead of stETH.
Disclosed
-
_claimRewardToken() will update accountRewardDebt even when there is a failure during reward claiming, as a result, a user might lose rewards
The code should be changed to update the reward debt only after a successful token transfer, but the protocol has decided not to fix this issue.
Disclosed
-
Premature collateralization check in the BaseStakingVault.initiateWithdraw() function can leave accounts undercollateralized
The collateralization check should be performed after the _initiateWithdraw() function call.
Disclosed
-
The withdrawValue calculation in _calculateValueOfWithdrawRequest is incorrect
The calculation formulas should be modified to use the user's share (w.vaultShares) instead of the total withdrawal amount.
Disclosed
-
Loss of rewards due to continuous griefing attacks on L2 environment
The claimRewardTokens function should be made permissioned and only whitelisted bots should be allowed to trigger it periodically.
Disclosed
-
Users can deny the vault from claiming reward tokens
The vault should use its entire reward token balance instead of the difference between before and after balances.
Disclosed
-
Lido withdraw limitation will brick the withdraw process in an edge case
The issue was fixed by removing the Lido stETH withdrawal in favour of an ETH withdrawal.
Disclosed
-
Selling sUSDe is vulnerable to sandwich attack when staked token is DAI
The protocol team fixed this issue in the following PRs/commits: https://github.com/notional-finance/leveraged-vaults/pull/93/files
Disclosed
-
Lack of slippage control on `_redeemPT` function
The issue was fixed by adding slippage control, as confirmed by the protocol team's pull request and the lead senior Watson's sign-off.
Disclosed
-
Wrong decimal precision resulted in the price being inflated
The formula should be updated to divide the PT rate by Pendle's PT oracle rate decimals (1e18) instead of the PT token's decimals; the protocol team fixed this issue.
Disclosed