Chainflip Suffers $12M Hack; Security Vulnerability Allows Unauthorized Signatures

iconOdaily
Share
AI summary iconSummary
On November 21, Chainflip suffered a major crypto hack in which $12 million in assets were stolen due to a security breach. Hackers first drained 122.86 BTC ($7.1 million) from the Bitcoin vault, followed by 520.22 ETH, 325,000 USDC, and 75,800 USDT ($4.86 million) from Ethereum. The attack exploited a vulnerability in the signature verification process, enabling unauthorized transfers. Chainflip confirmed the breach and has initiated a full audit. The team offered a 10% white-hat bounty to the hacker for returning the funds by November 24.

Original | Odaily Planet Daily (@OdailyChina)

Author | Asher (@Asher_0210)

On the afternoon of November 21, the cross-chain trading platform Chainflip suffered a cyberattack, resulting in the theft of approximately $12 million in assets, with its FLIP token declining over 60% in the past 24 hours.

The first anomaly detected was an unusual transaction on the Ethereum network, in which approximately $4.86 million worth of ETH and stablecoins were stolen. The following day, Chainflip confirmed that the hacker had also stolen 122.86 bitcoins, valued at approximately $7.1 million. On-chain records show that the hacker first transferred the bitcoins, and about half an hour later, withdrew the ETH and stablecoins from the Ethereum vault.

These stolen assets were originally held in Chainflip’s vault to pay users for assets received from cross-chain swaps.

Chainflip: A cross-chain DEX that enables direct exchange of native assets across different blockchains

Chainflip is a decentralized cross-chain trading protocol that enables direct exchange of native assets between networks such as Bitcoin and Ethereum. For example, when swapping BTC for ETH, users send BTC from their Bitcoin wallet and receive ETH directly at a specified Ethereum address — without needing to wrap BTC as WBTC, manually bridge assets, or route through a centralized exchange.

Chainflip uses a Just-in-Time Automated Market Maker (JIT AMM), allowing liquidity providers to update their orders based on market prices before trade execution. Actual payments and receipts are handled by vaults on each respective chain. The vault on the Bitcoin network receives BTC deposited by users, while the vault on the Ethereum network pays users with ETH pre-deposited by liquidity providers.

Every treasury withdrawal requires joint signature authorization from validators. In this attack, the transaction that transferred funds from the Ethereum treasury to the hacker passed signature verification. Chainflip later disclosed that the hacker had registered a validator account just one day before the attack. How could an unauthorized withdrawal carry a valid signature?

Hackers laid groundwork ten days in advance, using anomalous signatures to empty the treasury.

The Chainflip treasury is jointly managed by validators, with a maximum of 150 validators on the network. Under normal conditions, at least 100 of them must collectively sign to authorize fund transfers. Each validator holds only a portion of the key, so no single individual can control the treasury. However, if a hacker exploits a vulnerability to obtain enough key shards, they could reconstruct the full key, bypass other validators, and generate valid withdrawal signatures on their own.

In fact, Chainflip had previously experienced a similar attempt at key theft. On September 3 of this year, the team disclosed that three malicious validators exploited a vulnerability in the key handoff process to send anomalous messages to other nodes, attempting to trick legitimate validators into revealing key shards and ultimately obtain the full key. The team detected and patched the vulnerability in time, resulting in no loss of funds.

In this attack, the hackers also prepared in advance. On November 11, the attackers withdrew funds from Tornado Cash, purchased FLIP, and registered a validator account on November 20. FLIP is the staking token required to bid for validator slots, and validators are the group responsible for generating signatures for treasury withdrawals.

On November 21, the hacker launched the attack. At approximately 14:41 Beijing time, 122.86 BTC were transferred in a single transaction from the Bitcoin vault to a new address, valued at around $7.1 million. Half an hour later, the Ethereum vault was emptied, with 520.22 ETH, approximately 3.25 million USDC, and 758,000 USDT moved out, totaling about $4.86 million. The hacker then exchanged the stablecoins for ETH via Uniswap and transferred the funds to Tornado Cash. From the moment the Ethereum vault was emptied to the final batch of funds entering the mixer, only 8 minutes and 12 seconds elapsed, with a cumulative deposit of 2,909 ETH.

The on-chain data platform Bitquery, after reviewing nearly 300,000 signatures received by the Ethereum treasury since 2023, identified a critical anomaly: legitimate withdrawal signatures typically follow a sequential numbering pattern, but the hacker’s signature carried an unusually long 39-digit number. This number is used to prevent signature reuse, though the contract does not require sequential numbering. The submitted number had never been used before, and the signature itself passed validation, prompting the treasury to execute the transfer.

Bitquery suspects that this signature may have been generated outside the normal validator collaboration process, indicating that the attacker may have obtained the full signature key and authorized the transfer independently. Chainflip has since confirmed that it has identified the pathway of the key leak and implemented remediation measures, but the exact method by which the attacker obtained the signature key, and whether this attack involved previously discovered validator vulnerabilities, remains to be disclosed by official sources.

The team has offered a 10% bounty for asset recovery; LP compensation remains undecided.

Following the attack, Chainflip immediately activated its full security mode, pausing deposits, withdrawals, and swaps, and completed validator key rotation approximately 13 hours ahead of schedule. The team stated that it has identified and patched the vulnerability that led to the key leak, but has not yet disclosed the full details of the attack.

To recover the funds, Chainflip Labs has offered the hacker a 10% white-hat bounty, requesting that they return the remaining 90% of the assets—including 110.575 BTC and 2,618.1 ETH—by 2:38 AM Beijing Time on November 24, allowing the hacker to retain approximately $1.2 million. If the assets are returned on time, the team will withdraw its prior reports and complaints filed with law enforcement. Chainflip also claims to have obtained server and identity-related evidence used by the hacker to register validator accounts and is continuously tracking the movement of the stolen funds.

On November 22, Chainflip founder Simon Harman responded on X, stating that despite the significant losses suffered by liquidity providers (LPs) in this attack, he remains confident that the protocol will ultimately resume operations. However, a security investigation must be completed before restart to ensure the safety of remaining assets. The team plans to release an incident report on November 23, and the LP compensation plan is still under discussion.

This is not the first time Chainflip has faced LP compensation issues recently. In September this year, Chainflip suffered a loss of approximately 736,000 USDT due to a vulnerability in Tron chain transaction processing, and ultimately decided, through validator voting, to use protocol treasury surplus to compensate affected LPs. Now, the loss has expanded to approximately $12 million, and even if the protocol resumes operations, how to fill the treasury gap and compensate LPs remains Chainflip’s greatest challenge.

Disclaimer: The information on this page may have been obtained from third parties and does not necessarily reflect the views or opinions of KuCoin. This content is provided for general informational purposes only, without any representation or warranty of any kind, nor shall it be construed as financial or investment advice. KuCoin shall not be liable for any errors or omissions, or for any outcomes resulting from the use of this information. Investments in digital assets can be risky. Please carefully evaluate the risks of a product and your risk tolerance based on your own financial circumstances. For more information, please refer to our Terms of Use and Risk Disclosure.