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

Store current_point in HolderCommitmentPoint

Public commit record

What the developer wrote

Authored by Jeffrey Czyz

58/100 · Thin
Store current_point in HolderCommitmentPoint

When splicing a channel, sending and receiving the initial
commitment_signed message should use the current commitment point
rather then the next one. Store this in HolderCommitmentPoint whenever
it is advanced.
✓ Descriptive subject✓ Provides detailed explanatory context
The short version

What changed, and why it matters

This commit fixes a state-tracking bug in the experimental splicing feature of a Lightning Network implementation. Previously, during a splice, the code used the wrong commitment point (the 'next' one instead of the 'current' one) when sending or receiving the first commitment_signed message. The fix stores the current commitment point explicitly and adds guards that prevent splicing until the commitment point has been advanced at least once. It also persists the new field across restarts. The change is defensive and corrects protocol behavior, but it is not a clear-cut critical security patch on its own.

Recommended action

Treat as a correctness fix for an in-development splicing feature. Review whether the wrong commitment point could have led to invalid or unenforceable commitment signatures in splice scenarios, and ensure test coverage exists for splice after restart/upgrade when current_point is None. No immediate emergency response is indicated by the commit alone.

Security signals we found

01

Protocol-state correctness fix for splicing commitment point selection

02

Addition of defensive API misuse checks before splice operations

03

Serialization change adding a new persisted field (TLV 63)

04

Potential downgrade/upgrade state inconsistency: pre-fix code does not store current_point, so after upgrade current_point may be None until next commitment advance

05

No explicit mention of vulnerability, CVE, security bug, or researcher attribution in commit

Risk score

Why this scored 41/100

Our methodology →
Potential impact 12/30
Exploitability 8/25
Stealth signal 6/15
Affected reach 7/15
Confidence 5/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.