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

pytest: test if we correctly route using old scids after splice

Public commit record

What the developer wrote

Authored by Rusty Russell

75/100 · Adequate
pytest: test if we correctly route using old scids after splice

Spoiler: we don't!

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

What changed, and why it matters

This commit adds a test showing that, after a Bitcoin 'splice' operation changes a Lightning channel's short channel ID (SCID), payments routed using the old SCID fail. The test is marked as expected-to-fail, meaning the bug is known but not yet fixed. It could cause legitimate post-splice payments to fail until the network learns the new routing identifier.

Recommended action

Treat as a known functional bug rather than an immediate security vulnerability. Developers should implement backward-compatible routing by old SCIDs after splice and remove the xfail marker once the underlying routing/gossip code is fixed. Users relying on experimental splicing should be aware that in-flight or cached routes may fail after a splice.

Security signals we found

01

Post-splice routing failure using legacy short channel IDs

02

Test marked xfail documenting a known, unfixed bug

03

Potential payment reliability / denial-of-service concern for spliced channels

Risk score

Why this scored 44/100

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