When a user calls `NFTManager.decomposeAndMint`, uncollected fees from their Uniswap V3 position are sent to the `NFTManager` contract but never forwarded to the user. These fees remain stuck in `NFTManager` and later in `MakerFacet`, causing a loss for the user.
The protocol calculates the share price for maker liquidity deposits using the current Uniswap spot price to convert accrued fees into equivalent liquidity. An attacker can manipulate the spot price to reduce this equivalent liquidity, deposit at a lower share price, then restore the price and withdraw, stealing a portion of the accrued fees.
The protocol's token transfer helper assumes every token returns a boolean success value, so tokens that return false on every operation, such as Tether Gold, make transfers revert. As a result, the protocol cannot actually support the tokens it claims to support.
The fee calculation functions downcast a 256-bit utilization ratio to 64 bits, causing an overflow to zero at 100% utilization. As a result, takers are charged fees as if utilization were 0%, and fee distribution is skewed.
The adjustMaker function ignores the recipient parameter when removing liquidity, always sending tokens to msg.sender. This breaks the documented behaviour and could cause accounting problems or failed integrations.
The JIT penalty applied when makers withdraw shortly after adding liquidity reduces the amount returned to the maker, but the penalty amount is never tracked or transferred to the protocol treasury. As a result, the penalty remains as idle ERC20 tokens in the contract with no function to claim or sweep them.
The function getEquivalentLiq computes a liquidity value using a left shift before division, which can overflow 256 bits and truncate high bits, inflating the equivalent liquidity. An attacker can exploit this to mint more shares than fair value, diluting other liquidity providers.
The adjustMaker function incorrectly reverts when a user tries to reduce maker liquidity while the current pool price is below the position range, because the calculated token balances have x negative and y zero. This prevents users from reducing their position and can temporarily or permanently lock their funds.
The UniV3Decomposer contract inherits the RFTPayer interface but never implements the ERC165 supportsInterface function, so the Maker contract does not recognise it as a valid payer and falls back to transferFrom. Because the decomposer never approves its asset tokens to MakerFacet, every call to decompose reverts, making the core feature unusable.
The vault contract resets a token approval to zero after depositing, which breaks for tokens that revert on zero-value approvals such as BNB. As a result, vaults holding those tokens cannot complete deposits or transfers.
The NFTManager.burnAsset function calls collectFees, which resets the asset's timestamp, before removeMaker, which uses that timestamp to calculate the holding duration for a JIT penalty. As a result, any maker who burns their NFT is penalised as if they had held the position for zero time, losing part of their principal even if they held it longer than the JIT lifetime.
The view function queryAssetBalances returns the asset balances for a maker position without applying the JIT penalty that is applied when the position is actually removed. An attacker could rely on the incorrect value, leading to a mismatch between the displayed withdrawal amount and the actual amount received.
A sign-loss bug in tick-to-index conversion and a lack of wrap-around support in route construction cause wide cross-zero ranges to revert with InvertedRange. An attacker cannot exploit this for gain, but legitimate users cannot open, modify, or close such ranges without manually splitting the interval.
The protocol uses an external settlement library that strictly checks that the received token balance matches the requested amount, so any token that deducts a transfer fee causes the check to fail and the transaction to revert. Users therefore cannot create positions with fee-on-transfer tokens even though the competition scope says such tokens should work.
An unchecked cast in TreeTickLib converts negative tick values into large positive tree indices, so the computed low index ends up greater than the high index. Users calling the modify function to update pool positions then hit a range validation revert, blocking liquidity operations.
A wrong use of a fixed-point division helper in the liquidity walker makes removing a compounding maker asset revert when any visited node holds only that asset's liquidity. The asset owner cannot withdraw until every visited node has more liquidity than the asset itself.
The ownership transfer functions in TimedAdminFacet are implemented incorrectly: the pending owner cannot accept ownership because the acceptOwnership function calls reassignOwner, which requires the caller to be the current owner. This prevents the ownership handover from completing, potentially leaving the contract without an effective admin.
The admin vault migration function uses a hardcoded asset ID (80085) instead of the user's actual asset ID, so it typically reverts because that ID has no shares. If a user is later assigned that ID, the function could move that user's funds unintentionally.
The newMaker function allows an attacker to create Maker assets on behalf of any recipient, adding them to that recipient's asset quota without consent. An attacker can fill the victim's quota of 16 assets, preventing the victim from creating any new Maker or Taker positions until they remove the unwanted assets.
The uniswapV3MintCallback function in PoolFacet.sol transfers tokens without checking if the amount owed is greater than zero. For tokens that revert on zero-value transfers, this causes the callback to fail, blocking all maker functions and newTaker/removeTaker operations for the affected tick range.
The contract does not verify that the pool address supplied by a maker is a legitimate Uniswap V3 pool. An attacker can pass a malicious contract as the pool, which then calls back with arbitrary amounts in the mint callback, causing the protocol to transfer all its token balances to the attacker.
Taker fees are calculated from borrow amounts that are split across segment tree nodes, each using its own geometric mean price, so the sum of sub-segment borrow amounts is much larger than the borrow amount for the original range. Attackers (or ordinary users) pay fees up to 1000x higher than expected.
When a node lacks liquidity it borrows from its parent, which credits both the node and its sibling, but the sibling is often not on the settlement route so no Uniswap liquidity is minted for it. This leaves the contract's internal accounting out of step with its real Uniswap positions, and an attacker can repeatedly mint and burn at manipulated prices to drain all protocol funds.
The pool's fee calculation for uninitialized Uniswap ticks incorrectly returns the global fee growth as inside fees, causing maker positions to become stuck and allowing an attacker to steal all protocol funds by collecting inflated fees.
The collectFees function re-targets liquidity to the original amount stored in the asset, which is not updated when a user adjusts their position. An attacker could cause a user's position to be unexpectedly increased or decreased when collecting fees, leading to fund loss from impermanent loss or reduced fees.
Each segment of the Ammplify protocol acts as a vault for compounded Makers, allowing a first-deposit share inflation attack. An attacker can front-run a user's deposit with a minimum deposit and donations to inflate the share price, causing the user's deposit to be rounded down to zero shares, thereby stealing the user's funds.
The borrow fee rate returned by the smooth rate curve is an annual percentage yield (APY), but the implementation multiplies it directly by elapsed seconds without annualizing. This treats an annual rate as a per-second rate, inflating fees by roughly 31,536,000x over the intended amount.
The contract fails to verify that the token amounts actually spent when minting Uniswap liquidity match the amounts charged to the user. An attacker can re-enter via a callback to manipulate the Uniswap spot price, causing the contract to spend more of its own tokens than the attacker paid, allowing theft of all taker collateral and collected fees.
The settlement function uses a different tree index for the high tick than the modification function, causing it to skip the correct right node and leave the pool's actual liquidity inconsistent with the node's recorded liquidity. This mismatch can cause subsequent maker, taker, and removal operations to fail.
The contract incorrectly uses a node's own borrowed amounts instead of the subtree total when calculating taker fees, causing fees to be undercharged. An attacker could take large liquidity in a lower range and then update a higher range first to pay significantly less in fees, with makers losing up to 99% of expected fees.
AM
Ammplify
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.