executeWithdraw may be blocked if any of the users are blacklisted from the baseToken
NOYA
HighCode4rena
Every publicly disclosed report for NOYA and what kind of bugs they were.
Newest first. Only what NOYA chose to make public.
NOYA
HighNOYA
HighThe shared flash loan contract was treated as a trusted caller by every connector, so any vault keeper could make it pull tokens out of another vault's connector. The attacker could then redirect those tokens to an address they control, draining the victim vault.
NOYA
HighThe SiloConnector's _getPositionTVL function incorrectly calculates the total value locked (TVL) of a position by summing balances of different share tokens and multiplying by the price of the underlying asset without converting the share amounts to underlying tokens. This misvaluation affects the share price at which vault shares are minted or redeemed, potentially allowing value extraction or causing losses for users.
NOYA
HighThe PrismaConnector contract used the wrong function to check the trove's collateral ratio, causing adjustTrove to always revert unless an unreasonable amount of collateral was provided. This made it impossible to borrow or repay ULTRA after opening a trove, potentially trapping collateral.
NOYA
HighThe decreasePosition function removes a market from the connector's holdings when closePosition is true and isMarketEmpty returns true, but isMarketEmpty does not check the connector's staked balance in the Penpie pool. This allows the connector to exclude its Penpie stake from the connector and AccountingManager TVL.
NOYA
HighThe DolomiteConnector's transferBetweenAccounts function moves collateral between accounts but does not update the protocol's record of holding positions. This causes the protocol's total value locked (TVL) calculation to be inaccurate, as it continues to use the old holding position even after funds are moved.
NOYA
HighWhen a token lacks a direct token/USD Chainlink oracle, the protocol can route its value through token/ETH and ETH/USD oracles. The code then returns the value in ETH's 18 decimals instead of USD's 8 decimals, making the token appear about 10^10 times more valuable than it should.
NOYA
HighWhen a manager on a non-base chain triggers a TVL update, the value is sent to the base chain without adjusting for the token's decimals on that chain, so an 18-decimal token is recorded as if it were 6-decimal. The inflated TVL then feeds totalAssets() and breaks share minting and other vault accounting.
NOYA
HighNOYA
HighThe deposit function assumed that calling skim() would return unused tokens to the contract, but skim() actually sends surplus tokens to the Pendle treasury. As a result, the contract could permanently lose the excess SY and PT tokens it supplied when minting LP tokens.
NOYA
HighThe PendleConnector's burnLP function passes the market address as the receiver of PT tokens when burning LP tokens, instead of the connector itself. This causes the redeemed PT tokens to be donated to the market, resulting in a loss of funds for the connector.
NOYA
HighThe resetMiddle function in the AccountingManager contract does not reset the currentWithdrawGroup.totalCBAmount when resetting the withdrawal queue, so after a reset, subsequent calls to calculateWithdrawShares will increment this value again, leading to an inflated total base token amount needed for withdrawals. This can cause the protocol to withdraw more funds than intended or, if the inflated amount exceeds the protocol's TVL, block withdrawals until new deposits are made.
NOYA
HighThe SNXConnector's total value locked calculation double-counts assigned collateral and ignores the debt created when SUSD is minted. This makes the reported position value wrong, which could mislead any logic that relies on it.
NOYA
HighThe updateHoldingPosition function in Registry.sol calculates the holdingPositionId using the calculatorConnector instead of the ownerConnector when removing a position that is not the last in the array. This causes the position index mapping to become incorrect, leading to wrong TVL calculations and potentially zero TVL when positions are removed.
NOYA
HighThe BalancerConnector contract incorrectly divides the token balance by the pool weight when calculating the total value locked (TVL) of a position, even though the balances returned by Balancer already account for weights. This causes the reported TVL to be much lower than the actual value, potentially misleading users and the protocol.
NOYA
HighThe BalancerConnector contract incorrectly uses totalSupply() instead of totalActualSupply() when calculating the value of a user's position in a Balancer pool. This causes the total value locked (TVL) and share calculations to be wrong, potentially leading to incorrect share pricing.
NOYA
HighThe Silo connector's borrow function did not run the solvency check that the repay function runs, so a manager could open a Silo position that was already below the protocol's minimum health factor. Such a position breaks the protocol's health-factor invariant and is easier to liquidate.
NOYA
HighWhen opening a borrow position in the Dolomite connector, the code incorrectly sets the removePosition flag to true, so the position is never added to the Registry's holding positions. This means the Registry does not track the borrow, which could prevent timely closing and lead to liquidations or bad debt.
NOYA
HighThe MorphoBlue connector's TVL calculation had three errors: it ignored token decimals, added borrow amounts instead of subtracting them, and failed to update the registry for the loan token on withdrawal. These errors caused incorrect share and token amounts for depositors and withdrawers.
NOYA
HighThe `_getPositionTVL` function in the UNIv3Connector contract calculates the total value locked (TVL) by querying the Uniswap V3 pool's `positions` mapping using a key derived only from the position manager and tick range, without verifying that the connector actually owns that liquidity. This causes the TVL to be overstated, potentially inflating the protocol's perceived assets and undermining solvency.
NOYA
HighThe Pendle connector computed a position's total value locked by multiplying LP and PT balances by rates that are denominated in the underlying asset, not in SY tokens as the code assumed. This produced an understated TVL for the position, which fed into the protocol-wide TVL figure.
NOYA
HighThe PrismaConnector contract lacks a function to call Prisma's claimCollateral, so surplus collateral owed to a borrower after liquidation in recovery mode cannot be claimed and remains stuck in the Prisma contract.
NOYA
High