Skip to content

Sherlock

Ammplify

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

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

Disclosed reports

Newest first. Only what Ammplify chose to make public.

Business logic

Accrued maker fees not yet compounded can be stolen by manipulating uniswap pool spot price to reduce fees equivalent liquidity and liquidity share price on maker liquidity deposit

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.

Ammplify

High
Audit finding

Utilization Ratio Overflow Due to Incorrecte uint64 Cast

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.

Ammplify

Medium
Business logic

adjustMaker ignores recipient parameter when removing liquidity

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.

Ammplify

Medium
Business logic

Makers can permanently lock JIT penalty revenue from the protocol treasury

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.

Ammplify

Medium
Smart contracts

Shift-Overflow in getEquivalentLiq Inflates LP Shares

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.

Ammplify

Medium
Business logic

`UniV3Decomposer` will always revert due to incorrect `RFTPayer` support and lack of token approvals to `MakerFacet`

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.

Ammplify

Medium
Business logic

Vaults won't work with tokens that revert on a 0 value approval

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.

Ammplify

Medium
Business logic

NFTManager `burnAsset` always triggers JIT penalty on removal

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.

Ammplify

Medium
Business logic

`View::queryAssetBalances` does not account for JIT penalties

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.

Ammplify

Medium
DoS

incompatible library used for Fee on Transfer tokens

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.

Ammplify

Medium
Smart contracts

Unchecked Underflow in TreeTickLib Causes Transaction Revert in Route Creation

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.

Ammplify

Medium
Access control

Pending Owner cannot accept ownership because of wrong implementation of `transferOwnership` and `acceptOwnership` functions

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.

Ammplify

Medium
Access control

Attackers can drain the protocol tokens

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.

Ammplify

High
Business logic

Liquidity borrowed from or repaid to parent nodes is not always minted or burned in the uniswap pool, breaking up accounting and allowing to steal all protocol funds

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.

Ammplify

High
Business logic

`Maker.collectFees` re-targets liquidity to original amount even if the maker position was adjusted, causing unexpected position change when the user expected to collect fees only

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.

Ammplify

High
Business logic

User can lose all funds when creating or increasing compounded Maker position due to share inflation first deposit attack in any segment of the user's range

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.

Ammplify

High
Business logic

Borrow fee uses APY as per-second rate, causing extreme overcharging

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.

Ammplify

High
Race condition

All taker collateral and collected fees can be stolen by re-entering via `RFTLib.settle` to manipulate uniswap spot price when adding Maker liquidity

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.

Ammplify

High
Business logic

Takers can pay significantly less fees with makers losing these amounts due to `subtreeBorrowedX` and `subtreeBorrowedY` being node's values instead of subtree's

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.

Ammplify

High