Hack history / 2022 / Hack or exploit
treasure swap
Hack or exploit on Jun 11, 2022 · K-value Verification Vulnerability
ONE SOURCE · 1 SOURCE
Lost
$1.1M
dollars at the time
Returned
none listed
as the sources state it
Rank
#905
among thefts by dollars lost
What happened
The treasure swap project was attacked. The attacker only used 0.000000000000000001 WETH to exchange all the WETH tokens in the transaction pool. The reverse of the source code found that the swap function of the attacked contract lacked the K value check. At present, the attacker has completed the attack on the two contracts [address] and [address], and accumulated a profit of 3,945 BNB.
Details
- Date
- Jun 11, 2022
- Kind
- Hack or exploit
- Method
- K-value Verification Vulnerability
- How in
- Smart contract bug
- Target
- not stated
- Chains
- Ethereum
Reported by
Related incidents
CoW Swap 2026 · Hack or exploit · $1.2M
Trader loses almost $50 million in Aave swap gone wrong 2026 · Costly mistake or other · $50M
1inch Swap 2025 · Hack or exploit · $5M
1inch Swap 2024 · Hack or exploit · $723K
WOOFi Swap 2024 · Hack or exploit · $8.8M
Trader loses almost $50 million in Aave swap gone wrong 2026 · Costly mistake or other · $50M
1inch Swap 2025 · Hack or exploit · $5M
1inch Swap 2024 · Hack or exploit · $723K
WOOFi Swap 2024 · Hack or exploit · $8.8M
Cite this page
SwanBluechip, "treasure swap hack, Jun 11, 2022: $1.1M lost", Crypto hack history, https://swan-hack-tracker.pages.dev/history/i/ht80c33a4050/ (data as of 2026-11-01).