Skip to content

Sherlock

JOJO Exchange

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

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

Disclosed reports

Newest first. Only what JOJO Exchange chose to make public.

Business logic

JUSD borrow fee rate is less than it should be

The borrow fee rate calculation in JUSD is incorrect, causing the protocol to charge less than the intended fee. An attacker could borrow JUSD at a lower cost than expected.

JOJO Exchange

Medium
Business logic

UniswapPriceAdaptor fails after updating impact

The updateImpact function accepts a uint32 parameter, but the impact variable is used in a calculation that can produce values larger than uint32, causing getMarkPrice to revert. An attacker could not directly exploit this, but the adaptor would malfunction and fail to return the price from Uniswap Oracle.

JOJO Exchange

Medium
Audit finding

`quoteAllAvailablePoolsWithTimePeriod` can be manipulated with low liquidity pools

The price oracle function `quoteAllAvailablePoolsWithTimePeriod` averages tick prices from all Uniswap V3 pools for a pair, including low-liquidity pools that can be manipulated. An attacker could manipulate the price of a token used in a perpetual, leading to arbitrage and potential denial of service of the fallback oracle.

JOJO Exchange

Medium
Business logic

Lack of burn mechanism for JUSD repayments causes oversupply of JUSD

The JUSDBank contract allows users to repay JUSD debt by transferring JUSD tokens to itself, but it never burns those tokens, so the JUSD supply grows without being backed by collateral. This oversupply could destabilise JUSD and potentially cause a depeg.

JOJO Exchange

Medium
Business logic

Subaccount#execute lacks payable

The Subaccount contract's execute function is not marked payable, so it cannot receive Ether. If a caller tries to send a non-zero value, the transaction will always revert.

JOJO Exchange

Medium
Business logic

In over liquidation, if the liquidatee has USDC-denominated assets for sale, the liquidator can buy the assets with USDC to avoid paying USDC to the liquidatee

In over-liquidation, the liquidator can avoid paying the required USDC to the liquidatee by buying the liquidatee's USDC-denominated assets in the callback, which increases the liquidatee's USDC balance and satisfies the balance check. This lets the liquidator acquire collateral without compensating the liquidatee with additional USDC.

JOJO Exchange

Medium
Business logic

JUSDBank users can bypass individual collateral borrow limits

The JUSDBank contract enforces individual collateral borrow caps only during borrow operations, but not during withdrawals. An attacker can use a flash loan to temporarily deposit extra collateral, borrow beyond the cap, then withdraw the extra collateral to repay the flash loan, leaving an over-cap borrow.

JOJO Exchange

Medium