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

xpay: print rejected currency correctly.

Public commit record

What the developer wrote

Authored by Rusty Russell

60/100 · Adequate
xpay: print rejected currency correctly.

Reported-by: Won Hoi Kim and Ahmad Elmoursi
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
✓ Descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
The short version

What changed, and why it matters

This commit fixes a minor bug in Core Lightning's xpay plugin where an error message about unsupported foreign-currency offers could print garbage or truncated text instead of the actual currency code (like 'USD'). It is a correctness and usability fix, not a security vulnerability.

Recommended action

No security action required; treat as a normal bug-fix/correctness patch. Reviewers may optionally verify the regression test passes.

Security signals we found

01

No security-relevant signal: bug is a format-string/correctness issue for a user-facing error message

02

No memory corruption or privilege escalation path identified

03

Error path is reached only when the offer already cannot be paid

Risk score

Why this scored 20/100

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