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

lightningd: bail out on splice if scid doesn't fit.

Public commit record

What the developer wrote

Authored by Rusty Russell

65/100 · Adequate
lightningd: bail out on splice if scid doesn't fit.

If it fails, we cannot proceed with the channel.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
The short version

What changed, and why it matters

This change makes Core Lightning abort a 'splice' channel update if the resulting short channel ID (SCID) cannot be represented in the expected format. Previously the code ignored the failure return value and continued, which could leave the channel in an inconsistent or unrecoverable state. The patch is defensive and prevents a likely bug, but the commit message does not frame it as a security fix.

Recommended action

Treat as a hardening/reliability fix. Backport to maintained branches if splice is enabled, and add a regression test for the unrepresentable-SCID splice failure path. No immediate emergency response is indicated absent evidence of active exploitation.

Security signals we found

01

Unchecked return value now handled

02

State consistency fix during splice protocol

03

Potential channel corruption / DoS prevented

04

No explicit security framing by vendor

Risk score

Why this scored 42/100

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