The V3Proxy swapTokensForExactETH function takes the maximum input amount from the caller but does not return the unused portion after the swap. An attacker could exploit this to lock excess tokens in the contract, causing users to lose funds.
The price calculation in poolMatchesOracle can overflow because the scaling down of sqrtPriceX96 is insufficient. An attacker could cause the function to revert, preventing rebalancing.
The smart contract sends Ether using a low-level call but does not check whether the call succeeded. If the recipient contract rejects the transfer, the transaction still completes and the Ether remains stuck in the contract.
The deposit function in TokenisableRange.sol calculated the uncompounded fee using the user's raw input amounts rather than amounts proportional to the current pool ratio. A user could therefore deposit and immediately withdraw to receive back less fee than they paid in, suffering an immediate loss.
The addDust function in a liquidity management contract calculates a dust amount using oracle prices rather than the actual token amounts returned by getTokenAmounts, so it fails to ensure both token amounts exceed 100 units and can even cause a revert due to overflow. An attacker could not directly exploit this, but it can lead to failed transactions or incorrect liquidity provision.
When the owner initialises a new range, the leftover underlying tokens refunded by the Uniswap mint stay in the RangeManager contract instead of being returned to the owner. Any user can then call a function that triggers cleanup and have those tokens deposited into their own lending position.
The vault's share minting uses the contract's token balance, so the first depositor can inflate the share price by donating tokens directly. An attacker can front-run a victim's deposit to steal most of their funds or cause a denial of service for small deposits.
The getActiveTickIndex function can return an index that is too high, causing an out-of-bounds error when the contract tries to deploy assets to four ticks. This can make rebalance, deposit, and withdraw operations revert, temporarily freezing assets.
The vault passed zero minimum amounts to UniV3's decreaseLiquidity, which could return zero amounts, and then called collect with both amounts zero, causing a revert. This made deposits, withdrawals, and rebalancing unavailable for the vault.
The V3 Proxy swap functions ignore the caller-supplied destination address and send swapped tokens to the caller instead. An attacker could exploit this to cause a user's tokens to be sent to an unintended address, potentially losing funds if the caller is blacklisted or has compromised allowances.
The TokenisableRange contract's fee accounting allowed a depositor to bypass the downscaling of LP tokens by adding a tiny amount of one token, and the 1% reinvestment check compared raw token amounts rather than total value, so a flash-loan deposit and withdraw could capture most of the accumulated fees.
When users deposit funds into GeVault, some tokens may not be deposited into Uniswap pools and are left in the contract. These unused tokens are not returned to the depositor and are not counted in the total value locked (TVL), so depositors can lose part of their funds.
The deposit function in TokenisableRange calculates fees based on the current pool price, which can change between transaction submission and execution. If the price moves outside the position's range, the user may be charged an excessive fee, potentially losing all of one token.
GE
Good Entry
High
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.