The vault restoration function always deposits withdrawn tokens proportionally into the pool, which is suboptimal if the pool is imbalanced, leading to fewer LP tokens received due to deposit penalties or slippage. This causes a loss for vault shareholders.
The Curve2TokenPoolMixin contract assumes it can always retrieve the LP token from the pool, but some Curve pools do not expose the LP token publicly, so those pools cannot be used for single-sided strategies. An attacker could not exploit this; it is a functional limitation that prevents integration with certain pools.
The depositFromNotional function is marked payable, so it should accept Ether, but it always reverts when msg.value > 0 because it delegatecalls to executeTrade, which is not payable. This breaks any strategy that needs to handle Ether.
The vault's reward reinvestment function rejects any reward token that is also one of the pool tokens, so when a reward token such as CRV or AURA is also a pool token, the reinvestment transaction always reverts. As a result, the vault cannot sell and reinvest those rewards, which the report says leads to a loss of assets for vault shareholders.
The Leverage Vault on Arbitrum and Optimism incorrectly assumes all Curve pools are V1 because the version check only runs on Ethereum, so it calls the wrong add_liquidity function. This causes deposits to revert for Curve V2 pools, breaking core vault functionality and losing revenue.
The vault contract always used the pool's totalSupply to value LP tokens, but newer weighted Balancer pools use getActualSupply because they owe unminted protocol fees. This could make share minting and LP token valuation inaccurate, harming the protocol and users.
The emergency exit function incorrectly performs a single-sided exit instead of a proportional exit, causing unnecessary slippage and potential asset loss. An attacker could front-run the emergency exit to worsen the slippage, and the vault would hold only one token, complicating restoration.
The code computed the invariant for Balancer composable pools using only two token balances instead of all balances, leading to an incorrect spot price. This could cause the pool manipulation check to fail, allowing transactions on manipulated pools and potential asset loss.
The reward-token blocklist in the Curve and Balancer vault implementations checks for an invalid placeholder address for ETH, so the reinvestment bot can still sell the vault's ETH. An attacker or faulty bot could sell off non-reward assets.
The vault's manipulation check compares spot prices and oracle prices that are expressed in opposite base/quote orientations, so the comparison is invalid. This could let a trade proceed against a manipulated pool, causing a loss of assets.
The emergency withdraw function only exits the top-level pool, so if the underlying pool is a nested pool that is in recovery mode or exploited, the position cannot be fully unwound. An attacker could exploit the nested pool while the emergency withdraw fails to protect the funds.
The Balancer/Aura staking mixin's invalid reward token check omitted the Balancer pool token (BPT), unlike the equivalent Curve mixin. This allowed the reinvestment bot to sell the vault's BPT LP tokens on an external DEX, potentially losing the vault's underlying value.
The protocol uses Chainlink price feeds on Arbitrum without checking whether the L2 sequencer is active. If the sequencer goes down, prices become stale but the protocol continues to accept them, allowing malicious actors to trade at outdated rates.
The Leverage Vault's spot price calculation for Balancer composable pools differs from the Balancer SDK in several ways, producing an incorrect spot price. This could cause the vault to fail to detect a manipulated pool and execute trades against it, leading to asset loss.
Notional's spot price calculation rounds the Balancer invariant up, while Balancer's Composable Pool rounds it down, producing a different invariant. This could cause the spot price check to fail to detect a manipulated pool, allowing a trade to execute against it and lose assets.
The spot price calculation incorrectly scales the price by the scaling factor instead of removing it, resulting in a spot price that is off by a factor of 1e12 for tokens with different decimals. This can cause the pool manipulation check to either fail to detect manipulation or revert unexpectedly, potentially leading to loss of assets or breaking core protocol functions.
The Notional leveraged vault called Curve V2 pool functions to remove liquidity without setting the use_eth flag to true, so the pool returned WETH instead of native ETH. This caused the vault to hold WETH that it could not account for, leading to failed redemptions and stuck funds.
The getAccountPrimeDebtBalance function always returns zero because it assigns the uninitialised debtBalance variable instead of cashBalance when the balance is negative. An attacker or integrator relying on this view would incorrectly see no debt, potentially causing third-party systems to mishandle accounts.
The vault contract updates an account's last-update timestamp both when entering a position and when fees are assessed after maturity, so the minimum-time check behaves differently before and after settlement. A user could exit repeatedly before maturity once the minimum time has passed, but after maturity each exit restarts the wait, which is inconsistent and affects prime and non-prime vault users differently.
The smart contract truncates tiny 'dust' balances in primary debt to zero but fails to do the same for secondary debt. This inconsistency could cause discrepancies in debt accounting and accumulation of dust, with unforeseen consequences.
The contract withdraws the full requested amount from the money market even when it already holds part of the balance, causing excess funds to be pulled and sit idle. An attacker could exploit this to drain invested funds, causing griefing and loss of interest for the protocol.
The liquidation logic in Notional's vault contracts incorrectly requires that a liquidator either fully repay an account's debt or leave it above the minimum borrow size, preventing partial liquidations. This can create a deadlock where an account cannot be liquidated at all, potentially leading to bad debt for liquidity providers.
The exchange rate of Compound V2 cTokens can be manipulated by donating underlying tokens, inflating the value of Notional's prime cash holdings. An attacker could flash loan funds, deposit into Notional, donate to the cToken contract to inflate the exchange rate, and then withdraw more than deposited, profiting at the expense of idle funds.
A signed/unsigned conversion error in the settlement reserve accounting logic caused an event not to be emitted when fCash debt was held and prime cash was non-positive, leading to inaccurate off-chain accounting. This could cause users relying on that accounting to make ill-informed financial decisions.
During a pause, users cannot repay debt or add collateral, so their positions may become liquidatable. After unpausing, MEV bots can frontrun any repayment or collateral deposit, causing unfair liquidation and loss of funds.
The function repayAccountPrimeDebtAtSettlement() calculated the refund amount using a variable that had just been set equal to the debt value, so the refund was always zero. As a result, users lost any residual cash that should have been returned when settling a vault account.
A validation check in the liquidation logic used the wrong sign, so a liquidator could repay part of a vault's debt and leave the account with a remaining debt below the minimum borrow size. This could leave small, unprofitable-to-liquidate positions that might become bad debt for the protocol.
The slippage check compared the user's rate limit against the post-trade interest rate rather than the rate used during the trade, so a trade could execute at a rate exceeding the user's limit if the post-trade rate settled back within it. An attacker could exploit this to make users borrow at higher costs or lend at lower returns than intended.
NU
Notional Update #4
Medium
Instant results are busy. Press Enter to search every report.
No direct matches. Search every report above, or try a bug class like IDOR or SSRF.