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

Don't panic on splice txs confirming with empty witnesses

Public commit record

What the developer wrote

Authored by Matt Corallo

73/100 · Adequate
Don't panic on splice txs confirming with empty witnesses

When a funding transaction of an outbound channel confirms, we do
some sanity-checks and panic if it appears the user used an unsafe
funding transaction. Sadly, we retained these panics for outbound
channels when a splice funding confirms, which is incorrect as our
counterparty may have added the inputs we're looking at.

Thanks to Erick Cestari for reporting this issue.
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
The short version

What changed, and why it matters

This fix stops a Lightning node from crashing when a special type of channel upgrade transaction called a 'splice' confirms on the Bitcoin blockchain. Before the fix, the node would panic and shut down because it wrongly applied a safety check meant for regular outbound channels to splice transactions, where the other party may have supplied inputs. A malicious or buggy counterparty could potentially trigger this panic, causing a denial of service by crashing the victim's node.

Recommended action

Apply this patch promptly. Nodes running versions with splice support should upgrade to avoid a remote-triggerable crash. Monitor for any related follow-up fixes around splice transaction validation.

Security signals we found

01

panic in transaction confirmation path

02

remote-triggerable denial of service via splice funding tx

03

incorrect invariant applied to splice transactions

04

empty witness check overly broad for outbound channels

Risk score

Why this scored 60/100

Our methodology →
Potential impact 18/30
Exploitability 12/25
Stealth signal 8/15
Affected reach 10/15
Confidence 8/10
Evidence quality 4/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.