AI-generated analysisPublished automatically and not human-verified. Validated context appears in community notes below.
← Watch feed
Low 46 Bitcoin

Retransmit commitment_signed before tx_signatures

Public commit record

What the developer wrote

Authored by Jeffrey Czyz

58/100 · Thin
Retransmit commitment_signed before tx_signatures

During channel reestablishment, both commitment_signed and tx_signatures
messages may be retransmitted. However, commitment_signed must come
first, so re-arrange the ordering. This moves tx_abort as well to keep
the interactive tx messages together.
✓ Descriptive subject✓ Provides detailed explanatory context
The short version

What changed, and why it matters

This commit fixes the order in which two Lightning protocol messages are resent when a channel connection is restored after an outage. The 'commitment_signed' message must now be sent before 'tx_signatures'. Sending them out of order could cause a peer to reject or mishandle the channel re-establishment, potentially disrupting dual-funded channels. It is a protocol correctness fix rather than a clear exploit for theft of funds.

Recommended action

Treat as a protocol-correctness bug worth patching. Review whether out-of-order retransmission could be induced by an attacker to stall or desynchronize dual-funded channels, and add regression tests for message ordering during reestablishment.

Security signals we found

01

Protocol message ordering violation in channel reestablishment

02

Dual-funding/interactive transaction message flow affected

03

Potential peer rejection or channel state inconsistency on reconnection

04

No explicit security impact disclosed by vendor

Risk score

Why this scored 46/100

Our methodology →
Potential impact 12/30
Exploitability 8/25
Stealth signal 7/15
Affected reach 10/15
Confidence 6/10
Evidence quality 3/5
Human-validated context

Community notes

Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.

No validated notes yet.

The AI analysis stands alone for now. Submit a note if you can add evidence or important context.