The mintViaUnderlying function skips the minImpliedRate slippage check when the requested fCash amount exceeds the available maxFCash, causing the transaction to proceed at a zero interest rate. An attacker can front-run a lender's transaction to push the amount above maxFCash, bypassing slippage protection and causing the lender to lose funds.
The maximum external lending amount was calculated incorrectly, allowing Notional to lend more than the external withdrawal threshold. This could leave insufficient liquidity on external markets, causing users to be unable to withdraw their prime cash or preventing liquidations.
The wfCash contract's totalAssets() function returns zero when fCash has matured but global settlement has not yet occurred, because the settlement rate's supplyFactor is zero. This causes ERC4626 functions like convertToAssets and previewRedeem to return zero, and convertToShares to revert with division by zero, potentially misleading external protocols that rely on these functions for valuation.
The spot price deviation check uses low precision, causing rounding down that can allow a deviation close to 2% to pass when the limit is 1%. An attacker could potentially manipulate the spot price or exploit a valuation discrepancy for MEV.
When minting wfCash with ETH, residual ETH is returned as native ETH to the wrapper contract instead of being wrapped into WETH, so the balance check in _sendTokensToReceiver sees no change and the excess ETH remains stuck in the contract. Users lose the residual ETH they should have received back.
When the batchBalanceAndTradeAction function was executed, residual ETH was not sent back to users, resulting in a loss of assets. The contract failed to wrap native ETH into WETH before attempting to transfer it, leaving the ETH stuck in the contract.
The preview function for wfcash deposits does not handle the case when no fcash is available on the markets, leading to incorrect share calculation. Users may receive fewer or incorrect shares when depositing.
The view function checkRebalance() used stale prime cash factors when computing the target external lending amount, so the rebalancing bot could incorrectly decide that no rebalance was needed. This could delay or prevent necessary rebalancing, increasing risk to the protocol.
The reward claim function transfers tokens directly to the user during every update, which can revert if the token has blacklisting or hooks. An attacker could intentionally cause a revert to block liquidation of their unhealthy account, leaving the protocol with bad debt.
The redemption of wfCash before maturity used spot interest rate data to discount fCash, which could be manipulated by depositing prime cash to lower the utilisation rate and thus increase the cash returned. An attacker could receive more cash than expected, at the protocol's expense.
The getOracleData() function calculates maxExternalDeposit without accounting for AAVE's accruedToTreasury, making the value too large. This can cause Treasury.rebalance() to fail when it attempts a deposit that exceeds the actual supply cap.
The wfCash vault mints shares based on the deposit amount without accounting for transfer fees, so for fee-on-transfer tokens it credits less prime cash than the shares it issues. This makes the vault insolvent, and the last depositors to redeem cannot withdraw their full share value.
The off-target percentage calculation in the external lending health check uses the sum of current and target amounts as the denominator, which underestimates the deviation. This could cause a rebalance to be skipped even when external lending is unhealthy, potentially leading to liquidity issues.
The Treasury's redemption check for AaveV3 withdrawals compares the expected amount to the actual balance change, but for fee-on-transfer tokens the actual amount received is less due to the transfer fee, causing the check to always fail. This prevents any redemption of such tokens, breaking rebalancing and potentially leading to protocol insolvency.
The function getTargetExternalLendingAmount() incorrectly caps the target lending amount by the maximum external deposit, which already includes the protocol's current deposit. This can cause the protocol to withdraw funds unnecessarily, harming its interests.
A rebalancing transaction reverts if any currency becomes healthy between the bot's check and execution, preventing other unhealthy currencies from being rebalanced. This can delay rebalancing, leaving excess liquidity lent out and potentially causing withdrawal or liquidation issues due to insufficient liquidity.
The recover function uses the standard IERC20.transfer method, which fails for tokens like USDT that do not return a boolean. This prevents the owner from recovering such tokens, leaving them stuck in the contract.
The function getTargetExternalLendingAmount returns zero when targetUtilization is zero, without checking whether the external lending protocol has enough available balance to withdraw the full amount. This can cause the rebalancing transaction to revert, preventing the protocol from quickly exiting a lending position.
NU
Notional Update #5
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.