Team Finance Hack
What happened
On 27 October 2022, an attacker exploited Team Finance's Uniswap V2-to-V3 liquidity-lock migration route on Ethereum. The migration feature was intended to move a locker’s own V2 position into V3 without releasing it, but it did not bind the supplied migration inputs to the stored lock. After first creating locks for arbitrary tokens, the attacker migrated legitimate locked liquidity from CAW, FEG, TSUKA, and KNDX pools into attacker-controlled V3 positions.
Contemporary estimates differ between roughly $14.5 million and $15.8 million; this record retains the approximately $15.8 million gross-loss estimate.
The V2-to-V3 migration path accepted caller-supplied pair and token-amount values without verifying that they matched the stored lockedERC20 record. That allowed an arbitrary lock to authorize migration of unrelated custody assets and attacker-controlled V3 setup inputs.
Case & protocol details
Attack Timeline
The attacker first created and locked bogus token data, satisfying a migration-path condition without owning the valuable positions later targeted. In the main transaction, the attacker called the Pool migrate() route with pair and amount inputs that were inconsistent with the stored lock. The migrator burned real Uniswap V2 LP tokens held by the vault, then used attacker-controlled V3 setup parameters.
By skewing the resulting V3 position, the migration refund path returned a disproportionate residual to the attacker’s contract. The same pattern was used against multiple locked pools. The issue was a custody and input-binding failure in the migration flow, not a flash-loan, oracle, or reentrancy exploit.
Evidence & learning
Proof of concept
1 availableSources and on-chain records
- report Report twitter.com
- report Post-mortem rekt.news
- transaction Transaction etherscan.io
- analysis Twitter/X Alert twitter.com
- analysis Twitter/X Alert twitter.com
- analysis Twitter/X Alert twitter.com
- analysis Twitter/X Alert twitter.com
- analysis Website reference coindesk.com
- analysis SlowMist analysis of the Team Finance exploit slowmist.medium.com
- analysis Hacken analysis of the migration vulnerability hacken.io
Practice this exploit pattern safely
Work through hands-on labs covering real exploit mechanics, review techniques, and defensive patterns.