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

splice-script: channel id corner case

Public commit record

What the developer wrote

Authored by Dusty Daemon

68/100 · Adequate
splice-script: channel id corner case

On the rare chance a channel id starts with 02 or 03 we need to check of it’s referring to a channel before parsing it node id, instead of after.
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
The short version

What changed, and why it matters

This commit fixes a rare parsing bug in Core Lightning's splice script feature. When a user typed a channel identifier that happened to start with the same characters as a node public key (02 or 03), the software would first try to interpret it as a node ID and reject it before ever checking whether it was actually a valid channel ID. The fix simply reorders those checks so channel ID lookup happens first. The practical effect is mostly that a few unusual channel IDs can now be used correctly in splice commands; it is not a typical security vulnerability.

Recommended action

Treat as a minor functional bug fix rather than a security issue. Include in normal release notes if splice scripts are user-facing. No urgent patching required absent additional context showing exploitable consequences.

Security signals we found

01

Input misclassification bug in script parser

02

Rare corner case based on identifier prefix

03

No buffer overflow, use-after-free, or cryptographic flaw visible

04

Change is a pure reordering of existing validation checks

Risk score

Why this scored 23/100

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