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

cln-plugin: adapt send_custom_notification to send modern-style notifications.

Public commit record

What the developer wrote

Authored by Rusty Russell

73/100 · Adequate
cln-plugin: adapt send_custom_notification to send modern-style notifications.

Modern style for notifications is to put everything inside an object
of same name as the method.

For now this means duplication for backward compatibility. ChatGPT
helped me do that.

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

What changed, and why it matters

This commit changes how plugin notifications are formatted so they match a newer convention used by the rest of the software. It wraps the notification payload inside an extra object named after the notification method, while still accepting the old format for backward compatibility. There is no direct security fix here; it is a compatibility and cleanup change that may reduce confusion or interoperability bugs down the road.

Recommended action

No immediate security action required. Developers using custom plugin notifications should verify their consumers expect the new wrapped format. Monitor the scheduled deprecation for version 26.09 to remove duplicated wrapping.

Security signals we found

01

Behavior change in message serialization

02

Deprecation marker for future removal

03

Input validation added: params must be a JSON object

Risk score

Why this scored 18/100

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