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

tests: add an xpay test to reproduce a regression where we pay fees in a direct route

Public commit record

What the developer wrote

Authored by daywalker90

60/100 · Adequate
tests: add an xpay test to reproduce a regression where we pay fees in a direct route

Changelog-None
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Mentions testing or verification! No meaningful explanatory body
The short version

What changed, and why it matters

This commit only adds a new test case to reproduce a bug where Core Lightning's experimental xpay plugin might incorrectly charge fees when paying a directly connected peer over a BOLT 12 invoice. It is a test-only change and does not modify any production code, so it cannot by itself introduce a security vulnerability. The underlying regression is a fee-calculation/economic issue, not a code-execution or funds-theft flaw.

Recommended action

No immediate security action required. Treat as a normal regression test addition. If reviewing the broader xpay plugin, separately investigate the root cause of the direct-route fee regression and ensure it is fixed before the xpay feature leaves experimental status.

Security signals we found

01

Test-only commit; no production code modified

02

Regression concerns fee calculation on direct peer routes

03

Marked as expected failure (xfail strict), indicating known unfixed bug

04

No changelog entry (Changelog-None)

Risk score

Why this scored 17/100

Our methodology →
Potential impact 2/30
Exploitability 0/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.