📈 Get daily crypto insights that make you smarter about your money

0VIX Protocol Drains 2 Million Dollars in Flash Loan Oracle Exploit on Polygon

The decentralized finance ecosystem on Polygon suffered a significant blow on April 28, 2023, as the lending protocol 0VIX fell victim to a sophisticated flash loan exploit that siphoned approximately 2 million dollars from its liquidity pools. The attack, which targeted a vulnerability in the protocol’s price oracle mechanism, marks yet another reminder of the risks inherent in DeFi’s rapidly evolving landscape.

TL;DR

  • 0VIX, a Polygon-based DeFi lending protocol, lost approximately 2 million dollars in a flash loan exploit on April 28, 2023
  • The attacker manipulated the vGHST oracle price by exploiting a flawed calculation in the VGHSTOracle contract
  • Stolen funds included roughly 1.45 million USDC, 0.58 million USDT, and 9,566 GHST tokens
  • The attacker bridged funds to Ethereum and transferred 760 ETH (approximately 1.42 million dollars) to Tornado Cash
  • 0VIX paused both its Polygon PoS and zkEVM markets as a precautionary measure

How the Attack Unfolded

The exploit centered on a vulnerability in the VGHSTOracle contract, which was responsible for pricing the vGHST token, a derivative of Aavegotchi’s GHST token. The oracle’s price calculation relied on the balance of GHST tokens held within the vGHST contract, creating an opening for manipulation through direct token transfers.

The attacker executed a multi-step strategy that began with multiple flash loans to borrow a significant quantity of tokens. They then deposited approximately 294,000 aGHST into a vault and minted 283,000 vGHST tokens. Using USDC as collateral, the attacker created leveraged debt positions denominated in vGHST.

The critical manipulation came next: by transferring mUSDC and vGHST tokens to their contract and using them to borrow ovGHST, the attacker artificially inflated the price of GHST within the oracle. With the manipulated price in place, the attacker proceeded to liquidate their own leveraged debt positions at the inflated valuation, extracting a significantly higher value than their actual collateral warranted.

Finally, the attacker repaid the flash loans and conducted asset swaps to convert the proceeds into USD and GHST tokens. The stolen funds were then bridged from Polygon to Ethereum via Stargate Finance, and 760 ETH worth approximately 1.42 million dollars at the time was transferred to Tornado Cash in an effort to obscure the trail.

Protocol Response and Fallout

The 0VIX team acknowledged the incident promptly, confirming that a flash loan exploit had occurred and immediately pausing both its Polygon PoS and zkEVM markets. The move halted all oToken transfers, minting, and liquidations across the platform. Notably, only the PoS market was directly affected by the exploit, with the zkEVM market pause being a precautionary measure.

The protocol’s total value locked plummeted from 6.42 million dollars to just 1.78 million dollars in the aftermath of the attack, according to data from DeFi Llama. The team sent an on-chain message to the exploiter offering a 125,000 dollar bounty for the return of the stolen funds and pledged not to involve law enforcement agencies if the attacker complied.

When the attacker failed to respond within a 30-minute window, 0VIX escalated the situation by coordinating with law enforcement agencies to track the exploiter. By May 4, the team announced that a portion of the stolen funds was being returned to the protocol, though full recovery details remained pending at the time.

The Oracle Problem in DeFi

This exploit follows a familiar pattern in DeFi security incidents. Oracle price manipulation attacks have plagued lending protocols for years, with similar vulnerabilities affecting platforms like Cream Finance and Hundred Finance in previous exploits. The core issue lies in relying on on-chain price feeds that can be manipulated through flash loans, transactions that borrow and repay massive amounts of capital within a single atomic transaction.

Security researchers from QuillAudits and Hacken both confirmed that the root cause was the vulnerable vGHST Oracle, which allowed the attacker to manipulate the price of the GHST token. The recommendation from security experts is clear: protocols should avoid listing tokens whose prices can be manipulated atomically, and implement price limits that can preempt exploitation attempts.

Why This Matters

The 0VIX exploit underscores the persistent security challenges facing DeFi protocols, particularly those operating on newer blockchain networks and scaling solutions. As the DeFi ecosystem expands across multiple chains and layer-2 networks, the attack surface for oracle manipulation grows proportionally. With Bitcoin trading at approximately 29,340 dollars and Ethereum at 1,893 dollars on the day of the attack, the broader crypto market was in a relatively stable period, a reminder that DeFi vulnerabilities can strike regardless of market conditions. The incident also highlights the growing sophistication of DeFi attackers, who continue to develop complex multi-step strategies that exploit subtle vulnerabilities in smart contract logic and oracle implementations.

Disclaimer: This article is for informational purposes only and does not constitute financial advice. Readers should conduct their own research before engaging with any DeFi protocol or cryptocurrency investment.

🌱 FOR BUSINESSES BitcoinsNews.com
Reach 100K+ Crypto Readers
Sponsored content, press releases, banner ads, and newsletter placements. Put your brand in front of Bitcoin's most engaged audience.

8 thoughts on “0VIX Protocol Drains 2 Million Dollars in Flash Loan Oracle Exploit on Polygon”

    1. defi_graveyard

      flashloan_cop not wrong. remember the mango markets exploit on solana around the same time? oracle attacks were the meta in 2023

      1. salt_mongoose_

        mango markets and 0VIX both used spot price oracles without any TWAP protection. how many more exploits before DeFi devs learn this lesson

  1. 0VIX paused both Polygon PoS and zkEVM markets immediately. that response time is what saved this from being a 10M exploit instead of 2M

Leave a Comment

Your email address will not be published. Required fields are marked *

BTC$64,342.00-2.0%ETH$1,741.75-2.8%SOL$71.77-2.7%BNB$599.21-1.1%XRP$1.19-2.6%ADA$0.1667-3.7%DOGE$0.0857-1.8%DOT$1.00-1.3%AVAX$6.75-2.1%LINK$8.05-3.0%UNI$3.27-1.1%ATOM$1.90-5.0%LTC$44.85-2.1%ARB$0.0855-0.3%NEAR$2.23-4.1%FIL$0.7958-1.7%SUI$0.7705-3.4%BTC$64,342.00-2.0%ETH$1,741.75-2.8%SOL$71.77-2.7%BNB$599.21-1.1%XRP$1.19-2.6%ADA$0.1667-3.7%DOGE$0.0857-1.8%DOT$1.00-1.3%AVAX$6.75-2.1%LINK$8.05-3.0%UNI$3.27-1.1%ATOM$1.90-5.0%LTC$44.85-2.1%ARB$0.0855-0.3%NEAR$2.23-4.1%FIL$0.7958-1.7%SUI$0.7705-3.4%
Scroll to Top