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

Don't automatically use `scid_alias` for public channels (#3255)

Public commit record

What the developer wrote

Authored by Bastien Teinturier

81/100 · Strong
Don't automatically use `scid_alias` for public channels (#3255)

In #3250 we started implicitly choosing the best channel type based on
activated features when not explicitly specified by the node operator.
However, we automatically used `scid_alias` if it was supported by both
peers, but it is only allowed for unannounced channels. We now restrict
this to follow the BOLTs.
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Links an issue, advisory, or supporting reference
The short version

What changed, and why it matters

This commit fixes a bug where Eclair would automatically enable a feature called `scid_alias` for public Lightning Network channels, even though the Lightning protocol rules (BOLTs) only allow that feature for unannounced (private) channels. Public channels with `scid_alias` could violate protocol rules and cause interoperability or routing problems, though it is not a direct theft-of-funds vulnerability.

Recommended action

Apply the patch to ensure `scid_alias` is only negotiated for unannounced channels. Operators running code from PR #3250 should upgrade. Monitor for any public channels opened with `scid_alias` that may need reconfiguration or closure.

Security signals we found

01

Protocol compliance bug: using a feature outside its specified scope

02

Potential channel type mismatch between peers

03

Risk of public channel announcements containing invalid/restricted feature usage

04

Could lead to channel open failures or inconsistent routing state

Risk score

Why this scored 37/100

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