Skip to content

Sherlock

AXION

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

disclosed reports
10
most reported class
Business logic
bug classes found
3
first disclosure
2024
Find AXION on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what AXION chose to make public.

Business logic

V3AMO integration with V3 does not collect LP fees when burning liquidity

The SolidlyV3AMO contract calls burnAndCollect to remove liquidity, but SolidlyV3 does not accrue LP fees in the pool like UniswapV3, so the fees are never collected and remain stuck. An attacker cannot directly exploit this, but the protocol loses the fees permanently.

AXION

High
Audit finding

Precision loss in `boostPrice` in `V3AMO`

The boostPrice function in SolidlyV3AMO suffers from precision loss when the square root price is at or above Q96, causing the computed price to round down to 1 instead of the correct value. This incorrect price causes the unfarmBuyBurn function to revert because the price check fails.

AXION

Medium
Audit finding

Contracts of the codebase will not strictly compliant with the ERC-1504

The smart contracts are not strictly compliant with ERC-1504 as claimed in the README, because they use OpenZeppelin upgradeable contracts that lack a separate data contract. This breaks the stated compliance but no direct security impact is described.

AXION

Medium
Business logic

Boost buyback burns incorrect amount of liquidity

The `_unfarmBuyBurn` function in the V3AMO contract calculates the amount of liquidity to burn based on the pool's token reserves, which is invalid for V3/CL pools because they allow single-sided liquidity. An attacker can add boost-only liquidity to make the contract overestimate the liquidity to burn, pushing the boost token price above the peg and profiting from the price movement.

AXION

High
Business logic

V2AMO is not compatible with Velodrome/Aerodrome

The SolidlyV2AMO contract's interfaces for gauges and routers do not match those of Velodrome/Aerodrome, so calls to get rewards or perform swaps would fail. This prevents the contract from working with those DEXes as intended.

AXION

High
DoS

Liquidity is incorrectly calculated during `addLiquidity()` for V3AMO, causing DoS

The liquidity calculation in addLiquidity() for V3AMO is incorrect because it uses the pool's total liquidity and USD balance, which can be manipulated by adding an unbalanced LP position. An attacker can deposit a large amount of BOOST without USD, inflating the required USD for minting liquidity, causing addLiquidity() and mintSellFarm() to fail.

AXION

High
Misconfiguration

MasterAMO should not use the `initializer` modifier

The MasterAMO contract's initialize function used the initializer modifier, which prevents child contracts from initializing it. This could cause deployment failures for inheriting contracts.

AXION

Medium