Skip to content
Business logic Write-up Intermediate

How Odin.fun Lost 58.2 BTC in a $7M Liquidity Exploit

The Odin.fun platform allowed attackers to add worthless memecoins to BTC liquidity pools, self-trade to inflate their price, and then withdraw liquidity to steal Bitcoin. The attacker extracted 58.2 BTC (about $7M) from the SATOSHI/BTC and ODINPEPE/BTC pools.

quillaudits.com

Published on quillaudits.com

On 12 August 2025, Bitcoin meme-coin launchpad Odin.fun suffered a catastrophic liquidity manipulation attack resulting in the loss of 58.2 BTC (≈ $7M) in under two hours. The attacker exploited a fundamental design flaw by supplying liquidity with worthless tokens, conducting self-trades to inflate their prices…

The author, on quillaudits.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the automated market maker (AMM) trusted internal token ratios without checking real market prices, so worthless tokens could be valued highly through self-trading.

Impact

The attacker extracted 58.2 BTC (about $7M), and the project's treasury was insufficient to cover the losses, so a partial compensation scheme was planned.

What the attacker needed

Ability to create or obtain worthless tokens; ability to add liquidity to pools; ability to self-trade

The fix

The protocol should integrate external price oracles to validate token valuations and enforce strict value parity during liquidity provision.

How it was found

  1. The attacker added liquidity to the SATOSHI/BTC pool.
  2. They executed self-trades with the memecoin to artificially inflate its price within the pool.
  3. They withdrew their liquidity, receiving a disproportionately large amount of BTC.
  4. They repeated the same manipulation cycle with the ODINPEPE/BTC pool.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

A liquidity pool is a shared pot of two tokens that people trade against. The platform let someone add a made-up token to a pool with Bitcoin, trade it with themselves to make it look valuable, then take out far more Bitcoin than they put in. This drained real Bitcoin from other users.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.