Chainflip Rede Chainflip: nós validadores e… · Breach

Chainflip attributes $12.6 million theft to libzmq use-after-free bug

· 1 min read

Chainflip published the root cause of the roughly $12.6 million theft: a use-after-free bug in libzmq, the messaging library validators use to communicate, let an attacker with a registered validator account run code on validator machines and copy enough vault key shares to sign off network. The contracts and threshold scheme were not compromised, according to the company. Recommendations: treat peer-to-peer traffic as hostile input, keep key shares out of the process that parses it, and patch every network library.

WhatsApp LinkedIn X
HighBreachNo software to update

In 30 seconds

Alleged

Chainflip says the roughly $12.6 million theft from its vault came down to a memory bug in boring plumbing: a use-after-free in libzmq, the messaging library its validators use to talk to each other. According to a post on X relaying the company's root cause writeup, the flaw let someone with a registered validator account run code on validator machines and copy enough vault key shares to sign the network into releasing funds. The smart contracts and the threshold scheme were reportedly not compromised.raopreetam_x.com · raopreetam_ · xOpen original sourceSee in source list

What happened

Alleged

Chainflip published a root cause analysis for the incident. The account, relayed on X, goes like this: a use-after-free bug in libzmq let an attacker who already held a registered validator account execute code on validator machines. From there the attacker copied enough vault key shares to produce a valid signature and move funds out of the network's vault, taking about $12.6 million.raopreetam_x.com · raopreetam_ · xOpen original sourceSee in source list

Alleged

The timeline in the post is short and blunt. Draining of the vault began at 06:41 UTC, and the first forced key rotation ran at 08:14 UTC.raopreetam_x.com · raopreetam_ · xOpen original sourceSee in source list

Why it matters

Inferred

The striking part is where the failure sat. Not in the smart contracts, not in the threshold cryptography, but in a standard messaging library that almost nobody thinks about when auditing a chain. If peer-to-peer plumbing can be turned into code execution, the strength of everything built above it matters less.raopreetam_x.com · raopreetam_ · xOpen original sourceSee in source list

Inferred

The attacker reportedly needed a registered validator account as a foothold, which suggests that vetting who joins a permissioned network matters as much as the code itself. A registered peer is still a stranger, and in this telling the stranger got a connection.raopreetam_x.com · raopreetam_ · xOpen original sourceSee in source list

What to do

Alleged

The post turns the incident into a short checklist. Treat your peer-to-peer layer as hostile input. Keep key shares out of the process that parses peer traffic. Pin and patch every network library you ship, and limit who can join the peer set before they ever get a connection.raopreetam_x.com · raopreetam_ · xOpen original sourceSee in source list

Inferred

On response speed: the drain started at 06:41 UTC and the first forced rotation ran at 08:14 UTC, roughly an hour and a half later. If signing keys live on machines that talk to strangers, the practical lesson is to rehearse a key rotation that finishes in minutes, not hours.raopreetam_x.com · raopreetam_ · xOpen original sourceSee in source list

Confirmed and still uncertain

Alleged

What is claimed, though only through one relayed account: the root cause is a libzmq use-after-free, the attacker held a registered validator account, the vault lost about $12.6 million, and the contracts and threshold scheme held.raopreetam_x.com · raopreetam_ · xOpen original sourceSee in source list

Inferred

What is not in the evidence: Chainflip's own writeup, the attacker's identity, any fund tracing or recovery status, the number of validators affected, and whether a libzmq patch or coordinated disclosure exists upstream. None of that appears in the available post, so all of it stays open.raopreetam_x.com · raopreetam_ · xOpen original sourceSee in source list

What people are saying

Alleged

On X, the user raopreetam_ summarized the postmortem and pushed the conversation toward infrastructure hygiene: treat the peer layer as hostile, keep keys away from anything that parses network data, and patch the libraries everyone ships and nobody reads.raopreetam_x.com · raopreetam_ · xOpen original sourceSee in source list

Evolution

Alleged

The sequence, as reported: the vault began draining at 06:41 UTC, a forced key rotation ran at 08:14 UTC, and Chainflip then published a root cause naming the libzmq use-after-free.raopreetam_x.com · raopreetam_ · xOpen original sourceSee in source list

Inferred

That publication is what changed the picture. The story moved from an unexplained drain of a supposedly well-protected vault to a specific, named bug in a messaging library, with the cryptography and contracts reportedly intact.raopreetam_x.com · raopreetam_ · xOpen original sourceSee in source list

Reach

Observed

1 independent groups, 1 updates, and 0 engagements.

Technical detail

Alleged

According to the relayed writeup, the technical chain ran as follows: a use-after-free in libzmq, the library validators use to communicate; code execution on validator machines by an attacker with a registered validator account; copying of vault key shares; and a threshold signature assembled from enough stolen shares to authorize moving funds. The threshold scheme itself was not broken, the shares were reportedly harvested instead.raopreetam_x.com · raopreetam_ · xOpen original sourceSee in source list

Inferred

For anyone new to the term: a use-after-free is a memory bug where a program keeps using a piece of memory after telling the system that memory is free. An attacker who can trigger it at the right moment can sometimes overwrite that freed memory and steer the program into running attacker chosen code. It is a classic bug class, and here it was reportedly reachable through validator messaging.raopreetam_x.com · raopreetam_ · xOpen original sourceSee in source list

Sources and evidence

Observed

The evidence in this batch is a single public post on X by raopreetam_ summarizing Chainflip's root cause publication. Every figure and causal claim above traces to that post, which attributes them to the company. Chainflip's own writeup, on-chain transaction data, and any independent confirmation are not present in this batch, so the theft, the cause, and the dollar amount all remain company reported rather than independently verified.raopreetam_x.com · raopreetam_ · xOpen original sourceSee in source list

Sources

  1. raopreetam_x.com · raopreetam_ · x

Incidents like this, every morning

The ones that need action first, in a 3-minute read.

Free · 1 email a day, in the morning · no spam, unsubscribe in 1 click

Get the next one tomorrow morning

One email a day with what changed, what to fix first and how.

Free · 1 email a day, in the morning · no spam, unsubscribe in 1 click

Share it with your team

Whoever handles security with you should get it too.

LinkedIn X

Your colleague gets a confirmation request. Nothing is sent unless they confirm.

See all news

Read also

Before you go: get this every day

The HIFY Radar daily edition lands every morning with the incidents that need action. Free.

Free · 1 email a day, in the morning · no spam, unsubscribe in 1 click