Skip to content

Sherlock

DODO GSP

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

disclosed reports
4
most reported class
DoS
bug classes found
3
first disclosure
2024
Find DODO GSP on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what DODO GSP chose to make public.

Business logic

Pool can be drained if there are no LP_FEES

The pool's swap mechanism allows a trader to sell enough of one token to reduce the other token's reserve to zero. When a reserve is zero, the pricing algorithm miscalculates output amounts, so swapping back the received tokens yields more than the initial amount, enabling a flash loan attack to drain the pool.

DODO GSP

High
DoS

First depositor can lock the quote target value to zero

The first depositor can set the quote target to zero by depositing tiny amounts, and subsequent deposits cannot increase it because the update multiplies by zero. This permanently disables swaps that rely on the quote target.

DODO GSP

Medium
Race condition

Adjusting "_I_" will create a sandwich opportunity because of price changes

The price parameter 'I' can be adjusted by a privileged maintainer, and a MEV bot can sandwich the adjustment transaction by trading before and after the price change to profit at the expense of liquidity providers. The report demonstrates this with a proof-of-concept test showing the attacker's balance increasing.

DODO GSP

Medium