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

injectpaymentonion: add explicit `destination` option.

Public commit record

What the developer wrote

Authored by Rusty Russell

73/100 · Adequate
injectpaymentonion: add explicit `destination` option.

This allows us to correctly annotate the destination in listsendpays
even if invstring isn't set (xkeysend).

Changelog-Added: JSON-RPC: `injectpaymentonion` parameter `destination`.
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 adds a new optional 'destination' parameter to the 'injectpaymentonion' JSON-RPC command in Core Lightning. It is a feature addition that lets callers explicitly tell the node the final recipient of a payment, so payment-listing commands show the right destination even when no invoice string is provided. There is no indication this fixes a security vulnerability.

Recommended action

No security action required; treat as a normal feature addition. Reviewers may optionally verify that the new optional destination field is correctly validated as a public key and that fallback behavior remains unchanged.

Security signals we found

01

No security-relevant signals detected in commit message or diff.

02

Change is an additive API feature with no vulnerability description.

03

No memory-safety, cryptographic, or authorization changes observed.

Risk score

Why this scored 17/100

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