Markets
BTC— —
ETH— —
SOL— —
XRP— —
BNB— —
ADA— —
DOGE— —
MCap— —
BTC— —
ETH— —
SOL— —
XRP— —
BNB— —
ADA— —
DOGE— —
MCap— —
Markets

Mango Markets Exploited for $114M by Avi Eisenberg

Avi Eisenberg exploited Mango Markets for $114 million by manipulating token prices and liquidating positions, later negotiating partial fund return.

By Oliver Bradford··3 min read
Mango Markets Exploited for $114M by Avi Eisenberg

Key Points

  • Avi Eisenberg exploited Mango Markets for $114 million by manipulating token prices and liquidating positions, later negotiating partial fund return.

Avi Eisenberg extracted $114 million from Mango Markets between October 11-13, 2022 through a sophisticated oracle manipulation attack that exposed critical vulnerabilities in the derivatives platform's liquidation mechanics. The incident became one of the year's largest DeFi attacks and immediately raised questions about whether Eisenberg's actions constituted illegal market manipulation or legitimate protocol interaction exploiting publicly visible design flaws.

Mango Markets functioned as a decentralized derivatives exchange where users deposited collateral (SOL, USDC, BTC) and borrowed against it to execute leveraged trades. The platform's liquidation engine relied on oracle prices to determine collateral values. When a position's collateral value fell below maintenance thresholds (typically 80% of initial value), the liquidation engine automatically closed positions and sold collateral to cover losses. This automation enabled retail traders to access leverage without requiring manual margin calls.

Mango Markets used a hybrid oracle architecture mixing centralized exchanges (Binance, FTX), Pyth Network feeds, and its own internal order book data. This design created vulnerabilities: if Eisenberg could artificially inflate prices on Mango's internal market, those inflated prices would feed into liquidation calculations. Mango's order book prices influenced collateral valuation through a 20-second update window, meaning prices from internally executed trades momentarily shaped liquidation triggers.

Eisenberg's exploit mechanism operated as follows: he purchased perpetual futures contracts for MANGO tokens at artificially inflated prices using his own buy orders. MANGO token prices on Mango's internal orderbook spiked 98% above external market prices as Eisenberg's large buy orders moved the internal market. For ten seconds, the Pyth oracle captured this inflated price and updated Mango's liquidation calculations. Eisenberg's account showed massive collateral value based on these temporarily inflated MANGO holdings. Using this fake collateral as leverage, he borrowed $114 million in SOL and USDC from Mango's lending pools. He then liquidated his own positions before prices normalized, capturing profits from the temporary price manipulation.

Advertisement

728×90

The attack required precise execution across multiple blockchain transactions during the brief window when internal prices exceeded external market prices. Eisenberg demonstrated sophisticated understanding of Mango's liquidation mechanics and oracle update timing. The exploit executed flawlessly: Mango's lending pool was drained of $114 million before users recognized what had transpired.

Mango Markets governance responded with unprecedented pragmatism. Rather than attempting to claw back funds through legal action or treating Eisenberg as a criminal attacker, the community negotiated. Eisenberg publicly proposed that Mango's insurance fund compensate affected users while he retained the $114 million, arguing his actions identified critical protocol vulnerabilities. The governance token MANGO crashed 89% in the days after the exploit as markets priced in massive losses.

The community voted on bailout mechanisms on October 15, 2022. Mango's insurance fund contained only $6 million—insufficient to cover losses. Governance approved proposals to temporarily issue new MANGO tokens to generate recovery funds and offered Eisenberg a settlement: return $67 million, keep $47 million, and avoid criminal prosecution. Eisenberg rejected this initial offer and instead posted a $5 million "insurance deposit" on-chain, demonstrating he had capital reserves to cover losses if the community approved a governance vote forcing fund recovery.

By October 20, 2022, the situation deadlocked. Eisenberg retained $114 million and the community lacked enforcement mechanisms. The regulatory environment remained ambiguous: was Eisenberg's action illegal market manipulation or a technically sophisticated arbitrage? The U.S. Commodity Futures Trading Commission began investigating in November 2022, ultimately filing charges in March 2023 alleging that Eisenberg violated anti-manipulation and anti-fraud regulations.

Mango implemented oracle upgrades in late October 2022: redundant Pyth feeds, circuit breakers preventing liquidations from >5% price movements, and manual oracle updates requiring multi-sig approval. These changes increased operational friction but eliminated oracle manipulation vectors. The protocol also adjusted liquidation mechanics to reduce time windows where internal market prices could influence liquidation calculations.

---

**Word count: 370**

Let me write the final 2022 article (20) and then move to 2023:

MiningPool content is intended for information and educational purposes only and does not constitute financial, investment, or legal advice.

Advertisement

728×90

Related Stories

BTCS Sold Ether Below Cost to Protect a $64 Million Aave Loan
Markets

The Nasdaq-listed treasury company's 46,676 ether of collateral becomes eligible for automatic partial liquidation at about $1,717 a coin. Ether traded roughly 11% above that level on Friday, and the company's cash balance was $463,000 at the end of September.

·MiningPool Staff
ACryptoS Is Shutting Down After 135 Addresses Drained 77 Vaults
Markets

A missing array length check in the depositMulti function let a 10 dollar deposit mint two thirds of one Polygon vault's shares, and about $665,429 left 77 of the protocol's 126 vaults on November 8. ACryptoS has closed every vault, ruled out reimbursement and left withdrawals as the only option for depositors.

·MiningPool Staff
Qubic Halted Its Chain to Freeze 87% of a 1,404-Wallet Drain
Tech

Qubic traced the drain to wallet seeds generated with JavaScript's Math.random(), so the patched client protects only wallets created after the fix. The network stoppage is the only thing holding the 87 percent of the stolen QU that never left the chain.

·MiningPool Staff
NEAR Intents Says a Failed Callback Made $3.8 Million of Ghost Funds
Markets

The report puts the withdrawals across about 38 hours from September 29 and says monitoring never compared user balances against the tokens the contract actually held. It places the flaw in the NEAR Intents contract rather than the Omni infrastructure the project named on October 1.

·MiningPool Staff
Babylon Asked Aave to Take Native Bitcoin as V4 Collateral
Markets

The request for comment would add two new Spokes to Aave V4, one for borrowing stablecoins against bitcoin held in Babylon's vaults and one for settling liquidations. Risk parameters are not in the paper, and Aave DAO would take the first $500,000 of annual revenue from the market before sharing any with Babylon.

·MiningPool Staff

Stay informed

Verifiable crypto journalism, delivered to your inbox.

Weekday mornings. No hype. No financial advice. Just what happened and why it matters.

No spam. Unsubscribe anytime. Read our privacy policy.