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

plugin: remove features when plugin is disabled

Public commit record

What the developer wrote

Authored by Peter Neuroth

68/100 · Adequate
plugin: remove features when plugin is disabled

We need to remove the feature bits set via a plugins get_manifest
response when the init response disables the plugin.

Changelog-Fixed Remove feature bits set by a plugin when the plugin
disables itself during init.

Signed-off-by: Peter Neuroth <pet.v.ne@gmail.com>
✓ 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 bug in Core Lightning where a plugin could advertise certain protocol features when it first starts up, then later disable itself during initialization, but leave those feature bits still advertised by the node. The fix stores the feature bits a plugin claims and removes them if the plugin later disables itself. A leftover feature bit could mislead other nodes about what this node supports, potentially causing connection or protocol issues, though it is not a direct theft-of-funds bug.

Recommended action

Apply the patch. Operators running custom or optional plugins should ensure they are on a version containing this fix, especially if plugins may self-disable during init. No immediate emergency response is warranted because the issue is a consistency bug rather than a direct exploit.

Security signals we found

01

Feature-bit desynchronization between advertised capabilities and actual node capabilities

02

Disabled plugin leaving stale protocol features in node announcement / init messages

03

Potential protocol confusion or interoperability failure with peer nodes

04

No direct memory safety or cryptographic bug; logic-level consistency fix

Risk score

Why this scored 51/100

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