ChainBleedv0.1 · open intel
← back to feed·SOLORACLE2022-10-11 · 3y ago
Incident · DEFILLAMA

Mango Markets V3

Price Oracle Attack
Estimated loss
$115.00M
VERDICT —CONFIG LAYER
The Mango program logic functioned as written; the catastrophic loss came from listing-parameter and oracle-source choices — MNGO's collateral weight, the borrow caps, the oracle's reliance on thin-book venues. A source audit alone would not have flagged it without an explicit economic / risk-parameter review of the listed-asset configuration.
▰ METHOD
Price Oracle Attack
ORACLEBYTECODE CATCHABLEAI SCANNABLE
Root cause

Mango Markets V3 priced cross-margin collateral using a Pyth/Switchboard-style oracle whose MNGO/USD feed was sourced from a small set of low-liquidity spot venues (FTX, Ascendex, Serum). The attacker opened ~$10M of MNGO-PERP long on one Mango account and an equal short on another, then bought MNGO across those underlying venues with ~$4M, pumping the oracle price ~13x within minutes. The unrealized PnL on the long position was treated as instantly-withdrawable collateral by Mango's risk engine (no time-weighting, no liquidity-adjusted haircut, no per-asset borrow cap proportional to insurance fund). The attacker borrowed ~$115M against the inflated balance and withdrew across BTC, ETH, SOL, USDC, USDT, MSOL — every asset in the protocol. The root cause is a risk-parameter design flaw: an illiquid governance token whose entire float was thinner than the borrow capacity it backstopped, combined with a spot oracle that had no manipulation resistance.

Forensic narrative

Classification: Ecosystem. Technique: Price Oracle Attack. Target type: DeFi Protocol. Affected chains: Solana. Implementation language: Rust.

Primary source
https://www.cftc.gov/PressRoom/PressReleases/8647-23
Sourced from
DefiLlama Hacks dataset · api.llama.fi/hacks
Technical record
chain
solana
protocol
Mango Markets V3
bug_class
oracle
date_occurred
2022-10-11
loss_usd
$115,000,000
classification
Ecosystem
technique
Price Oracle Attack
target_type
DeFi Protocol
language
Rust
source_id
dl:286
Related — same bug class· oracle
2026-05-03
1mo ago
BSC
TUB
BSC token contract exploit (vector undisclosed)
oracle
$27.7K
UNRATED
2026-05-01
1mo ago
ARB
Sharwa.Finance
Oracle Price Manipulation
oracle
$32.9K
UNRATED
2026-04-28
1mo ago
BSC
JUDAO
Price Manipulation
oracle
$228.0K
UNRATED
2026-04-27
1mo ago
BASE
Singularity Finance
Oracle Misconfiguration Exploit
oracle
$413.0K
UNRATED
2026-04-27
1mo ago
Singularity Finance
Contract Vulnerability
oracle
$413.0K
UNRATED
2026-04-27
1mo ago
Singularity Finance
Exploit
oracle
$413.0K
UNRATED
ChainBleed — live web3 threat intelligence