The liquidation function transfers the repaid debt asset to the xToken before calling updateInterestRates, so the interest rate calculation counts the same liquidity twice. This makes the computed currentLiquidityRate higher than it should be.
The protocol values Uniswap V3 LP positions using the spot price from the position's own pool, which can be a low-liquidity pool created by an attacker. An attacker can manipulate that pool's price to inflate the collateral value of their LP position and borrow more than the position is worth, causing a loss to the lending pool.
The NFTFloorOracle contract stores array indices in uint8 fields, which truncate when the number of assets or feeders exceeds 255. An attacker could not directly trigger this, but over time the indices would corrupt, causing removal of the wrong element and breaking the oracle's asset and feeder structures.
The NFT floor oracle's median calculation returns the upper middle value when there is an even number of valid prices, instead of averaging the two middle values. This can produce an incorrect median price, affecting any function that relies on the finalised time-weighted average price (twap).
The BAKC owner can close a paired staking position, sending the staked APE to the BAYC owner, which in ParaSpace is the NTokenBAYC reserve pool. Any user who stakes a BAYC can then call withdrawBAKC and sweep the entire APE balance of that pool to themselves, stealing other users' staked APE.
When a user transfers collateral to another user who has no existing balance, the receiver's collateral is automatically enabled. This increases the gas cost for the receiver on any action that requires a health check, and with enough collateral types it could become a denial of service.
A balance limit on Uniswap V3 NFTs used as collateral can be filled by an attacker with zero-liquidity NFTs, preventing a victim from adding more collateral. This could allow the attacker to front-run and liquidate the victim's position.
A signed credit structure used to bid on NFTs lacked a deadline and any revocation mechanism. An attacker could wait until the NFT price dropped and reuse an old signature to force the signer into a loan at an unfavourable price.
The staking balance calculation for a paired Bored Ape Kennel Club token omitted the pending rewards earned by that paired token, so the reported balance was lower than the user's real position. Because this balance feeds the collateral figure used by the lending protocol, users had less borrowing power than their actual stake was worth.
The LooksRare adapter converts a WETH currency in a maker order to the native currency, but the credit token remains WETH, causing a type mismatch check to fail. As a result, users cannot buy NFTs from LooksRare via Paraspace when the order requires WETH.
The contract's supportsInterface function only reports support for the ERC721Enumerable and ERC721Metadata extensions, not for the base ERC721 interface. As a result, contracts that check for ERC721 compliance will not interoperate with these tokens, so marketplaces and other NFT facilities will not operate with them.
The NFT floor price oracle uses a fixed number of blocks (1800) to decide if a price is still valid, assuming 12-second blocks. On chains with faster block times, prices expire much sooner than the intended six hours, so the oracle may reject valid prices.
The WPunkGateway contract's supplyPunk function allowed anyone to deposit a CryptoPunk that had been offered for sale to the gateway at zero price, minting the resulting nTokens to the caller. An attacker could monitor for such offers and call supplyPunk with themselves as the beneficiary, stealing the deposited CryptoPunk.
The smart contract passes the current block timestamp as the deadline when decreasing liquidity in an AMM pool, so the transaction never expires. A malicious miner could delay including the transaction until slippage is maximal, potentially causing the user to receive less than intended.
The report compiles several centralisation findings in a lending protocol: privileged roles (owner, poolAdmin, feeder) can call powerful functions without timelocks or multisig protection, letting them move user collateral, change contract implementations, or manipulate NFT floor prices. A compromised or malicious key holder could therefore drain or lock user funds.
When an asset is removed from the NFTFloorOracle, its nested feederPrice mapping is not cleared, so if the asset is later re-added, old prices are reused if their timestamps are still within the expiration period. This can lead to incorrect NFT valuations and potentially the liquidation of healthy accounts.
The NFTFloorOracle contract's feeder removal logic fails to update the index mapping after swapping and popping, causing corrupted data and out-of-bounds reverts. This prevents removal of some feeders, potentially leading to denial of service.
The protocol values a user's ERC721 collateral by multiplying the number of NFTs by the floor price, ignoring the price impact of selling many NFTs at once. If a large position is liquidated, the actual sale proceeds could be much lower, leading to bad debt.
The credit structure signed by a maker in the ParaSpace marketplace lacks a marketplace identifier, so a signature intended for one marketplace order can be reused against a different order. An attacker could then use the victim's signature to make the victim buy a worthless item through a credit loan.
The NFT floor price oracle calculates price deviation as a ratio of the larger to the smaller value, which treats a 50% increase and a 33% decrease as the same deviation. This makes the oracle too permissive for price increases and too restrictive for price decreases, potentially allowing unsafe price updates.
The Uniswap V3 oracle wrapper hard-codes a denominator of 1E9 when computing the square root price, ignoring the difference between token decimals. When token1 has more decimals than token0, the calculated position price is inflated by many orders of magnitude, which could misprice collateral.
The auction recovery health check only verifies the account's health factor at the moment of the transaction, so a user can temporarily inflate their collateral with a flash loan to cancel an auction and then withdraw the funds. This allows the user to bypass the recovery requirement and delay liquidation.
The UniswapV3 oracle wrapper calculates a square-root price by dividing token prices before scaling, which can round to zero when one token's price is more than 10^18 times the other's. This zero price causes the liquidity calculator to value the position as if it held only the cheaper token, undervaluing the collateral and enabling wrongful liquidations.
The LooksRare adapter built the order price from the maker's price but the exchange charged the taker's price, so an attacker acting as both maker and taker could set a low maker price and a high taker price to drain the pool. The attacker could steal any ERC20 token held by the pool.
The marketplace adapter functions are payable and forward a separate value argument to the marketplace without checking that it equals the ETH actually sent. If a caller sends more ETH than the value argument, the excess is not refunded and becomes stuck in the adapter.
The safeTransfer function in the ERC721 implementation does not call the onERC721Received hook on the recipient, so tokens can be transferred to contracts that cannot handle them, potentially locking them forever. The data parameter is also ignored.
The NFT price oracle allows a single compromised feeder to set an arbitrary price for a newly added asset by front-running the admin's setPrice call, because the first price update bypasses validity checks. This lets the attacker inflate the asset's value, deposit it as collateral, and borrow all protocol funds.
The NTokenMoonBirds Reserve Pool contract only accepts Moonbird NFTs because its onERC721Received function requires the sender to be the underlying Moonbird contract. As a result, any airdropped NFT other than a Moonbird is rejected, so users who collateralised nested Moonbirds cannot receive airdrops.
PC
ParaSpace contest
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.