Markets

Iron Fish bug let one note be spent twice, postmortem says

Iron Fish ended support after an inflation bug. Its postmortem traces it to Merkle tree padding and says the fix works only on a new chain.

In brief

  • On October 30, Iron Fish announced it was ending network support after it and ChainPort reviewed bridge logs and traced unusual wIRON activity to the bug.
  • The attacker could spend their own notes repeatedly but not anyone else’s. Iron Fish did not disclose how much was created or withdrawn.
  • The team merged the fix about 17 hours before the announcement.
·
Iron Fish bug let one note be spent twice, postmortem says

Iron Fish announced on October 30 that it was ending support for its network after finding an inflation bug that let an attacker spend the same shielded note more than once. A postmortem the team merged into its code repository that day traces the flaw to how the Merkle tree filled empty branches, and says the fix works only on a new chain with a new genesis block.

What the postmortem says went wrong

Iron Fish's postmortem says the note commitment tree filled an absent right branch by copying the populated left branch. A spend proof checks a note against a public tree root but keeps the note's position private, and the position feeds into the nullifier, the value that marks a note as spent. With a copied branch, flipping one position bit gives the same root, so one note could be proven at two positions and produce two different nullifiers. The duplicate check never saw a repeat.

The postmortem limits what this allowed. An attacker needed the spending authority and contents of a note they owned, and the document says the flaw does not let someone spend another user's notes. It could let them spend their own note repeatedly and create outputs worth more than they held.

Its account of the origin is also narrower than a ready-made timeline. It points to a 2019-02-18 prototype commit that used the same self-copy rule, and says that fact "does not, by itself, establish the complete path by which that code entered production."

What is still not established

The announcement says the attacker aggregated the notes and left through the ChainPort bridge. Neither the announcement nor the postmortem gives how much was created or withdrawn. The postmortem says valid proofs and distinct nullifiers in a past transaction would fit this mechanism, but that the private position means they cannot attribute a particular on-chain event or amount to it without separate forensic evidence.

The tree tests that existed before the fix checked normal witnesses against expected roots and did not enumerate alternative positions for the same leaf, according to the postmortem. Iron Fish also said in its announcement that this code path was in scope for its internal and external audits.

The fix does not repair the existing chain

Pull request 5762 was merged on October 30 at 04:05 UTC, about 17 hours before the public announcement. Its description says the change alters consensus Merkle roots and "Existing mainnet and testnet histories are incompatible." The postmortem lists no activation height, no migration of old proofs and no accounting plan for past spends. It labels the document draft technical findings and says its test checks are not an independent cryptographic audit.

A repository change does not by itself stop independently run nodes. At the time of this check the GitHub repository was not yet marked as archived, although the announcement said it would be.

More incidents are on our Security page.

Correction (Nov 17, 2026): Was: The first version said the postmortem calls the work draft findings and says it is not an independent audit. Now: The postmortem's status line reads "Draft technical findings." Separately it says the test checks are not an independent cryptographic audit. Corrections log

Correction (Nov 1, 2026): Was: The story tied the bug to the nullifier calculation and said the same notes were spent repeatedly. Now: The postmortem says an incomplete right branch of the Merkle tree was filled with a copy of the left, so one note could be spent at two positions with two nullifiers. Corrections log

How we verified Checked against the document (Github on GitHub (merkle-note-position-alias-postmortem.md)), the document (ironfish pull request 5762 on GitHub) and the document (Github on GitHub (ironfish)).

Sources

Checked by OnchainBeat · 4 links, 3 primary documents
  1. Post on Xironfishcrypto post on Xx.com
  2. DocumentGithub on GitHub (merkle-note-position-alias-postmortem.md)github.com
  3. Documentironfish pull request 5762 on GitHubgithub.com
  4. DocumentGithub on GitHub (ironfish)github.com