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

multi: add --protocol.no-onion-messages flag

Public commit record

What the developer wrote

Authored by Gijs van Dam

68/100 · Adequate
multi: add --protocol.no-onion-messages flag

This commit adds a configuration flag to disable onion messaging support.
When set, lnd will:
- Not advertise the onion messages feature bit (39) in init and node
announcements
- Skip creating the OnionEndpoint at server startup
- Not register an onion message handler with peers, so incoming onion
messages are not processed
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
The short version

What changed, and why it matters

This commit adds a new user-configurable switch that lets an LND node operator turn off support for "onion messages" (a type of Lightning network control message). When the switch is enabled, the node stops advertising that it supports the feature, does not create the internal component that handles those messages, and ignores incoming onion messages. It is a defensive feature addition, not a fix for an active bug or vulnerability, and it does not change default behavior.

Recommended action

No urgent action is required. Operators concerned about onion-message-related resource consumption or attack surface may choose to set `--protocol.no-onion-messages=true` after reviewing release notes. Security reviewers should monitor whether future commits add related hardening or whether this flag was added in response to a disclosed issue.

Security signals we found

01

Adds an opt-in denial-of-service mitigation by allowing operators to disable an optional network feature

02

Does not change default behavior; nodes must explicitly enable the flag

03

No removal of existing validation, authentication, or resource limits for nodes that do not set the flag

04

No CVE, security advisory, or incident disclosure is referenced in the commit

Risk score

Why this scored 19/100

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