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

xpay: handle localinvreqid and label parameters when we're called as `pay`.

Public commit record

What the developer wrote

Authored by Rusty Russell

65/100 · Adequate
xpay: handle localinvreqid and label parameters when we're called as `pay`.

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

What changed, and why it matters

This change fixes a small compatibility gap in the xpay plugin, which can take over the older `pay` command. Previously, if a user supplied a `label` or `localinvreqid` argument to `pay`, xpay would silently drop those arguments before forwarding the payment. Now it preserves and forwards them. This is mainly a functional bug fix; the dropped arguments could cause user labels or local invoice request tracking to be lost, but there is no direct evidence of a security vulnerability.

Recommended action

No urgent security action. Treat as a normal functional fix. Reviewers may want to confirm that forwarded `label` and `localinvreqid` values are properly validated by the underlying `xpay` implementation and that no other `pay` parameters are silently dropped in a way that affects correctness or accounting.

Security signals we found

01

Argument forwarding omission in RPC wrapper/plugin

02

Potential loss of payment metadata (label/localinvreqid) when legacy command is redirected

03

No input validation or sanitization changes visible in diff

Risk score

Why this scored 18/100

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