Indexed Finance Hack

TOTAL LOST $16.0M
High Flashloan Price Oracle Attack / Other ethereum

Summarize with AI

Affected Chain ethereum Incident surface
Recovered - No recovery reported
All-Time Rank #256 By amount stolen
Auditors 1 Prior security audit

Incident Overview

The DEFI5 and CC10 index tokens were exploited using flash loans, resulting in a loss of approximately $156 million.

The attacker targeted the DEFI5 and CC10 index tokens using flash loans of other assets in the pool to buy out UNI, which decreased the extrapolated value due to the delay in updating UNI’s weight decrease. The pool was valued at 29,851 SUSHI ($300k) after executing the updateMinimumBalance function with the gamed pool value. The attacker then deposited small amounts of SUSHI into the pool, resulting in a massively inflated amount of DEFI5 tokens.

Approximately $156m worth of flash swaps in UNI, AAVE, COMP, CRV, MKR, SNX were used for dumping tokens in the pool, minting new DEFI5 tokens, and then burning the DEFI5 for all of the underlying assets. The same scenario was used for the CC10 index pool.

The attacker's address:

https://etherscan.io/address/0xba5ed148…a22ebe

The exploiter contract:

https://etherscan.io/address/0xfbc2e6b1…67464a

The attack targeted the DEFI5 index token at:

https://etherscan.io/tx/0x44aad3b8…cd95aa

and CC10 index token at:

https://etherscan.io/tx/0xbde4521c…ca4417

Incident Report

Protocol / Project Indexed Finance
Date of Incident
Affected Chain(s) ethereum
Attack Technique Flashloan Price Oracle Attack / Other
Classification Ecosystem / Other
Primary Source View Post-Mortem

Protocol Information

Protocol Type Indexes
Affected Token NDX
Smart Contract Language Solidity
Official Website indexed.finance/
Protocol Twitter/X @ndxfi
Team Anonymous
Source Code Unverified

Market Context at Time of Hack

Token Categories
DeFi Ethereum Ecosystem Governance

What the Attacker Needed to Succeed

Understanding the prerequisites for this type of attack helps auditors identify protocols that are most at risk and helps developers build better defenses.

Technical Knowledge Deep understanding of flashloan price oracle attack / other and Solidity and EVM internals
Capital Required Seed capital to cover gas and initial position setup
On-Chain Access Ability to interact with ethereum smart contracts and deploy a custom exploit contract
Protocol Analysis Identification of the exploitable vulnerability in Indexed Finance's contract logic - root cause: ecosystem / other
Execution Speed Precise transaction ordering and timing to exploit the vulnerability within a single atomic block
Obfuscation Plan A strategy to launder and move stolen funds - typically through mixers, cross-chain bridges, or decentralized DEX swaps to resist tracing

What Auditors Should Check

Could this have been caught in audit? Yes — skilled auditors routinely flag Flashloan Price Oracle Attack / Other vulnerabilities in code review
Audited by Audit Report 1 — still lost $16.0M. Prior audits don't guarantee safety, especially after post-audit code changes.

If you're auditing a protocol with similar architecture to Indexed Finance, these are the critical security checks that could have prevented this incident (October 2021).

  • Verify all logic paths related to Flashloan Price Oracle Attack / Other are guarded by proper access controls and input validation - see the Flash Loans Attacks attack class for patterns
  • Audit oracle price feeds for manipulation risks - ensure time-weighted average prices (TWAPs) or multi-source aggregators are used, not spot prices
  • Review privileged functions (owner, admin, governance) for potential abuse vectors - centralization risks should be documented and bounded with timelocks or multi-sigs

Master these auditing techniques with hands-on labs and real exploit scenarios in the Smart Contract Hacking course.

Free Trial

Security Audit History

Related Attack Classes

The technique used in this hack maps to these vulnerability classes in our security curriculum:

See all Flash Loans Attacks examples →

Proof-of-Concept Exploits

1 PoC available
poc-exploits - indexed finance

Sources & References

Learn to Prevent the Next Indexed Finance

The Indexed Finance hack is one of many attacks that skilled auditors are trained to detect before deployment. Master real exploit patterns and defense techniques with hands-on Web3 security training.

Recreate exploit patterns safely Free Trial