Menu

Anatomy of a Bridge That Paid 6x for One Transfer
πŸ“°

Anatomy of a Bridge That Paid 6x for One Transfer

#hackernoon#technology#claim#amount#txid
Long article (1841 words) β€” no AI summary yet.
Reading 0:00
15s threshold

Note: A private disclosure is in flight, so the protocol and chain are withheld here. The bug pattern, the harness, and the fix are not.

Bridges are accounting machines with a public attack surface. Every message that arrives from the other chain is, from the contract's point of view, just a bag of fields that somebody typed. The only thing standing between that bag of fields and the treasury is a replay guard. If the guard is built out of the wrong bytes, it is not a guard at all β€” it is a suggestion.

I found one of those in a counterstake-style bridge. The short version: one foreign transfer of 400,000,000 base units was claimed three times, and the bridge paid 2,400,000,000 . The extra 2,000,000,000 came out of tokens other users had locked in the agent. No private key was stolen, no cryptography was broken, no oracle was manipulated.…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.