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; the figure shown here is the approximate $15.8 million gross loss.
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.
How it happened
- 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.
Protocol details
Security review history
- Hacken View report
- BailSec View report
Evidence
Proof of concept
1 availableSources
- report Twitter/X Alert twitter.com
- report Twitter/X Alert twitter.com
- report Twitter/X Alert twitter.com
- report Twitter/X Alert twitter.com
- report @peckshield incident report twitter.com
- report Team Finance incident record rekt.news
- transaction Primary exploit transaction etherscan.io
- analysis Website reference coindesk.com
- analysis DeFiLlama defillama.com
- analysis SlowMist analysis of the Team Finance exploit slowmist.medium.com
- analysis Hacken analysis of the migration vulnerability hacken.io
Build your security review skills
Work through hands-on labs covering real exploit mechanics, review techniques, and defensive patterns.