Chainflip Traces $12.6M Exploit to Validator Messaging Library Flaw
Key Highlights
- Chainflip traced the $12.6 million exploit to a use-after-free flaw in libzmq, the open-source messaging library used for validator communication.
- The attacker allegedly exploited the flaw to execute code inside validator processes and obtain enough vault key shares to sign unauthorized transactions.
- Every validator online during the attack will be replaced with a fresh machine and new credentials, while a proposal would restrict validator participation to known operators.
Cross-chain swap protocol Chainflip has traced the $12.6 million vault exploit of November 21 to the software its validators use to talk to each other.
In the second part of its incident report, published on November 27, Chainflip said “the entry point was the software used for validators’ peer-to-peer communication.” That software is built on ZeroMQ (libzmq), an open-source messaging library. The attacker registered a validator account, which let it connect to other validators, and then exploited a use-after-free flaw in libzmq.
Chainflip said the flaw let the attacker run code inside validator processes and copy enough vault key shares to sign transactions without the network. The protocol remains paused and will stay offline until its security review and fixes are complete.
How the attacker got in
According to Chainflip, the flaw is fixed in libzmq 4.3.3 and later, and every active validator now runs a build based on libzmq 4.3.4. Security advisories show that libzmq 4.3.3 was released in 2020 and fixed several flaws in earlier versions. Chainflip did not say which version its validators were running before the attack.
The team said its investigation has not found any flaws in the vault smart contracts, the threshold signature scheme or the State Chain’s logic. “Safe mode activation could not have prevented any losses from this attack,” it wrote.
Chainflip had switched on safe mode soon after the exploit was first reported on November 21. On-chain investigators suspected at the time that the vault’s aggregate signing key had been compromised, and early reports put the Ethereum vault loss at $4.86 million.
Chainflip said it is confident about the main attack vectors, but it has “not yet confirmed the entire exploit chain with full confidence.” It is holding back a detailed technical report while it strengthens its defenses.
The Crypto Times has asked Chainflip which libzmq version its validators ran before the patch.
Validators to be replaced, network to add a permissioned layer
As a first step, every validator that was online during the exploit will be replaced by its operator with a fresh machine and new credentials, so no key material from the compromised machines stays in use.
The team has also sent validators a proposal that would limit the validator set to known, existing operators, keeping unknown parties out of critical parts of the network. “This will make Chainflip still decentralised but add a permissioned layer,” the report said.
Other hardening proposals are still being discussed. The team called security its “number one priority ahead of any restart,” but it has not decided which measures must be in place before relaunch and which can wait.
Chasing the attacker
The stolen Bitcoin has not moved, according to the report, and the Ethereum-based funds are likely still in Tornado Cash. The team is working with security and threat-intelligence firms to track the funds. It has also contacted the platforms the attacker used to fund the attack.
According to the report, the attacker exposed IP addresses across several services, both during the exploit and in the weeks before it. Chainflip said these produced “several significant leads,” but it did not share details to protect the investigation. The incident has also been reported to law enforcement.
Chainflip’s offer to the attacker still stands: a 10% bounty in return for the remaining 90% of the funds. “We hold identifying information on the validator and servers used,” the team wrote, adding that it will pursue the case “for as long as it takes” if the funds are not returned.
In its first report, Chainflip said the attacker took 133.34 BTC in two transactions, along with 520.22 ETH, 3,249,631 USDC and 758,141 USDT from the Ethereum vault.
Accounting finished, recovery fund planned
Chainflip said it has finished a full accounting of the losses. It now has a final method for working out the impact on each affected account, including swappers who were using the protocol at the time, regular account holders and liquidity providers (LPs).
The team plans to create an on-chain record of each user’s losses and set up a protocol-managed recovery fund. Outstanding loans will be settled using prices from the time of the attack.
Chainflip has not yet said how much affected users will get back or when. Recovery proposals for each group, from swappers and active LPs to Chainflip Labs itself, will come in a later update.
As a precaution, governance has returned free LP balances on unaffected chains to refund addresses. Chainflip told LPs to check their refund wallets.
According to Chainflip’s first report, the losses fall mainly on LPs and FLIP holders. FLIP slid 29% after Chainflip first reported a potential vault exploit.
Swaps to return through SwapKit
The team has spoken to all of its major active LPs. They are willing to return, provided the security work is done to a high standard and a recapitalisation plan is put in place.
In the meantime, Chainflip is working with the Crosschain Association to bring back its swap.chainflip.io front end using SwapKit, which has routed swaps through Chainflip for years. The temporary service will route swaps across more than 30 chains through providers such as NEAR Intents, THORChain and Maya Protocol. The service runs separately from the Chainflip protocol, which remains offline.
This is Chainflip’s second exploit in about two months. In September, the protocol halted its network after an attacker drained 736,442 USDT through its Tron integration.
Also Read: 74% of Austrian Crypto Providers’ Accounts Are From Abroad
Disclaimer: The information researched and reported by The Crypto Times is for informational purposes only and is not a substitute for professional financial advice. Investing in crypto assets involves significant risk due to market volatility. Always Do Your Own Research (DYOR) and consult with a qualified Financial Advisor before making any investment decisions.


