Skip to content

Code4rena

NOYA

Every publicly disclosed report for NOYA and what kind of bugs they were.

disclosed reports
23
most reported class
Business logic
bug classes found
5
first disclosure
2025
Find NOYA on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what NOYA chose to make public.

Business logic

SiloConnector _getPositionTVL miscalculate the TVL position

The 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

High
Business logic

PrismaConnector can mint a position below the desired health factor

The 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

High
Business logic

Invalid handling of holding positions in DolomiteConnector::transferBetweenAccounts

The 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

High
Business logic

Loss of funds in PendleConnector.depositIntoMarket()

The 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

High
Business logic

PendleConnector incorrectly sends the redeemed PT tokens to the market

The 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

High
Business logic

AccountingManager::resetMiddle will not behave as expected

The 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

High
Business logic

SNXConnector.sol TVL calculation is incorrect

The 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

High
Business logic

Registry.sol#updateHoldingPosition remove position logic is incorrect: should use ownerConnector instead of calculatorConnector when calculating holdingPositionId

The 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

High
Business logic

BalancerConnector::_getPositionTVL is calculated incorrectly

The 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

High
Business logic

In Dolomite, when opening a borrow position, the holding position in the Registry will never be updated due to the removePosition flag being set to true

When 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

High
Business logic

Numerous errors when calculating the TVL for the MorphoBlue connector

The 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

High
Business logic

_getPositionTVL of UNIv3Connector wrongly assumes ownership of all liquidity of the provided ticks inside positionManager

The `_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

High
Business logic

Invalid calculation of position TVL in Pendle connector

The 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

High