EP
← All projectsElements Project

Core Lightning

Modular C implementation of the Lightning Network protocol and node stack.

BitcoinLightning NetworkActive incident
Repository coverage

2334 commits in the local evidence base

Every captured commit receives deterministic security triage and a separate communication-quality score. Security candidates and broader second-pass signals receive full-patch Ollama analysis.

228security candidates319second-pass queue1977AI analyses
103commits · 30 days
223commits · 60 days
710commits · 180 days
1580commits · 365 days
Backfill bands
Aug 5 → Feb 61049 seen37 candidatesComplete
Feb 6 → Jun 6579 seen10 candidatesComplete
Jun 6 → Jul 678 seen1 candidatesComplete
Jul 6 → Aug 5147 seen16 candidatesComplete
Commit communication

Does the history explain itself?

Message quality measures whether a commit identifies its scope, purpose, rationale, testing, and supporting references. It does not change the security-severity score.

71/100 average clarity
631Strong · 80–100
1400Adequate · 60–79
272Thin · 40–59
31Opaque · 0–39
Read the scoring rubric →
Developer activity

Who is changing the project?

Public Git author strings; identities are not independently verified.

DeveloperCommitsCandidatesAnalyzedHigh riskMessage avg.
cdecker331217581
daywalker9019315113471
Níckolas Goline961252376
Amperstrand322278
Rusty Russell96977961173
Sangbida Chaudhuri18537157167
Vincenzo Palazzo19714185
Lagrang3115679170
dovgopoly18016165
Dusty Daemon821378066
ShahanaFarooqui931093063
Peter Neuroth1509110074
Analysis record

Published AI watches

Last scanned 23 minutes ago

Informational 15 AI analysisMessage 85 · Strong
EP Elements ProjectCore Lightning BitcoinLightning Network

doc: bring lightning-downgrade's version list up to v26.12.

This commit only updates documentation. It adds new version entries to the manual page for the lightning-downgrade tool and mentions the tool in the upgrade guide. No code, database logic, or security behavior is changed.

2e7a9f5aby Ken Sedgwick+9−12 files
No security note in commit
Informational 23 AI analysisMessage 66 · Adequate
EP Elements ProjectCore Lightning BitcoinLightning Network

Makefile: install lightning-downgrade.

This is a packaging/build fix, not a security vulnerability. The `lightning-downgrade` utility was being compiled but accidentally left out of the list of programs installed by `make install`. As a result, official release archives contain…

06ea9ba0by Ken Sedgwick+1−01 file
No security note in commit
Low 27 AI analysisMessage 83 · Strong
EP Elements ProjectCore Lightning BitcoinLightning Network

wallet: create bwatch tables before backfilling them

This commit fixes a database upgrade bug in Core Lightning. Wallets created with version v26.06.10 were missing two new tables (our_outputs and our_txs) because they skipped the migrations that create them. When users later upgraded, a fol…

Database migration failure could prevent node startup after upgradeFixes missing table creation before data backfillAdds regression test for upgrade path from v26.06.10
ce2a6836by daywalker90+105−02 files
No security note in commit
Informational 15 AI analysisMessage 5 · Opaque
EP Elements ProjectCore Lightning BitcoinLightning Network

v26.12rc1

This commit is a routine version bump from v26.06.10 to v26.12rc1 for Core Lightning. It only updates version strings in packaging files, a changelog, and a lockfile. There are no code changes that introduce, fix, or modify any security-se…

4002c4e9by Níckolas Goline+164−1110 files
No security note in commit
Low 30 AI analysisMessage 68 · Adequate
EP Elements ProjectCore Lightning BitcoinLightning Network

wallet: store payment failure details per groupid

This commit fixes a database bug in Core Lightning where failure details for a payment attempt were being overwritten by later retry attempts that shared the same payment identifier fragment. The fix makes the failure record match on an ad…

Data integrity bug causing incorrect error reporting across payment retry groupsNo memory safety, authentication, authorization, or cryptographic issues presentNo external input is trusted or validated differently
24082c6dby daywalker90+6−34 files
No security note in commit
Low 43 AI analysisMessage 83 · Strong
EP Elements ProjectCore Lightning BitcoinLightning Network

cln-plugin: do not panic when the log writer task is gone

This commit fixes a bug in Core Lightning's Rust plugin library where a plugin could crash with a panic if it tried to log a message after the internal log-writing task had already stopped, such as during shutdown. The fix makes the plugin…

panic on send failure replaced with stderr fallbacklog message no longer silently dropped on writer task exitunit test added for dropped-receiver scenario
8661ffabby cdecker+29−11 file
No security note in commit
Informational 15 AI analysisMessage 90 · Strong
EP Elements ProjectCore Lightning BitcoinLightning Network

docs: explain hsmtool HTLC recovery

This commit only adds documentation to the manual page for an existing command-line tool (hsmtool). It explains how to recover funds from old Lightning payment commitments (HTLCs) after losing channel state. There are no code changes, no n…

f90c140dby Sangbida Chaudhuri+85−01 file
No security note in commit
Informational 15 AI analysisMessage 68 · Adequate
EP Elements ProjectCore Lightning BitcoinLightning Network

tests: make test_delpay_works deterministic

This commit only changes a test file to make a flaky test more reliable. It does not modify any production code, so it has no security impact on real users.

a224ca81by daywalker90+16−161 file
No security note in commit
Informational 20 AI analysisMessage 73 · Adequate
EP Elements ProjectCore Lightning BitcoinLightning Network

doc: say that listtransactions gives blockheight 0 for a tx not in a block

This commit only updates documentation to explain that the `listtransactions` command reports a block height and transaction index of 0 when a transaction is not currently in a block (for example, because it hasn't been mined yet or was re…

bc281be3by Peter Neuroth+4−42 files
No security note in commit
Informational 20 AI analysisMessage 50 · Thin
EP Elements ProjectCore Lightning BitcoinLightning Network

fixup! pyln-client: don't crash Millisatoshi.to_approx_str() on zero

This is a small bug fix in a Python helper library used by Core Lightning. The Millisatoshi.to_approx_str() method previously crashed with a math error when converting a zero amount to a human-readable string. The patch makes zero return "…

No security-relevant signals presentFix is a routine correctness/robustness improvement
02612ed5by Amartya Singh+4−31 file
No security note in commit
Moderate 62 AI analysisMessage 73 · Adequate
EP Elements ProjectCore Lightning BitcoinLightning Network

wallet: reject unmodifiable PSBTs in addpsbtoutput/addpsbtinput

This update fixes a crash in two wallet commands, addpsbtoutput and addpsbtinput. These commands let users add extra transaction outputs or inputs to a PSBT (a Bitcoin transaction planning file). If a user supplied a PSBT whose version 2 '…

Daemon crash (assertion failure) on crafted/strict PSBT inputMissing validation of PSBT v2 modifiable flags before mutationUser-controlled input directly passed to libwally without precondition check
42472816by daywalker90+14−12 files
Vendor flagged security relevance
Moderate 59 AI analysisMessage 83 · Strong
EP Elements ProjectCore Lightning BitcoinLightning Network

tests: show addpsbtoutput/addpsbtinput crash on an unmodifiable v2 PSBT

This commit only adds a new test case that demonstrates two Core Lightning commands, addpsbtoutput and addpsbtinput, crash with an internal assertion when given a v2 PSBT that does not allow adding inputs or outputs. The test is marked as …

Daemon abort due to failed assertion in PSBT helper functionsRPC commands addpsbtoutput and addpsbtinput lack validation of PSBT modifiability flags before calling libwallyPotential denial-of-service vector: any caller able to submit a crafted v2 PSBT can crash lightningd
42e268abby daywalker90+60−01 file
No security note in commit
Informational 20 AI analysisMessage 73 · Adequate
EP Elements ProjectCore Lightning BitcoinLightning Network

pyln-client: don't crash Millisatoshi.to_approx_str() on zero

This commit fixes a minor bug in Core Lightning's Python client library where calling a pretty-printing method on a zero-amount payment would crash with a ValueError. It is a routine correctness fix, not a security vulnerability. There is …

5ebe365dby Amartya Singh+3−12 files
No security note in commit
Moderate 59 AI analysisMessage 83 · Strong
EP Elements ProjectCore Lightning BitcoinLightning Network

dualopen and splicing: add minimal verification of tx_signatures

This commit adds missing safety checks in Core Lightning when a peer sends signatures for opening or splicing a dual-funded Lightning channel. Before the patch, the software accepted peer-provided transaction witnesses without verifying th…

Missing input validation on peer-provided witness dataBOLT-2 compliance fix for tx_signaturesRejection of empty witness stacks
c6be4f71by Lagrang3+633−97 files
Vendor flagged security relevance
Moderate 54 AI analysisMessage 85 · Strong
EP Elements ProjectCore Lightning BitcoinLightning Network

channeld: abort_channels no longer fails a channel with a signed splice

This fix prevents a user-issued 'abort channels' command from incorrectly failing a Lightning channel when a splice transaction has already been signed. Previously, the code would pass the latest in-flight splice to a routine that aborts i…

Denial-of-service/availability impact: user-initiated abort could inadvertently fail a funded channelProtocol compliance fix: avoids sending tx_abort after tx_signatures, which BOLT 2 forbidsState-handling bug in splice negotiation lifecycle
c87f5573by Andezion+22−11 file
No security note in commit
Moderate 51 AI analysisMessage 73 · Adequate
EP Elements ProjectCore Lightning BitcoinLightning Network

lightningd: fix crash on mutual close of an unconfirmed dual-funded channel

This update fixes a bug where a specific type of Lightning channel close could crash the node. It only happens when both parties cooperatively close a dual-funded channel that has not yet been confirmed and has gone through a funding bump …

NULL pointer dereference leading to daemon crash (denial of service)Crash occurs in cooperative-close path for unconfirmed dual-funded/RBF channelsFix uses canonical channel funding key instead of splice-only field
555143beby Sangbida Chaudhuri+9−31 file
Vendor flagged security relevance
High 74 AI analysisMessage 73 · Adequate
EP Elements ProjectCore Lightning BitcoinLightning Network

cln-grpc: reject malformed request values instead of panicking

This commit fixes a security bug in Core Lightning's gRPC plugin (cln-grpc). Previously, a malformed request from a gRPC client could crash the plugin: bad public keys, hashes, secrets, channel IDs, or enum values triggered Rust 'unwrap()'…

Denial-of-service via malformed gRPC request causing tonic worker task panicDenial-of-service via std::process::exit(1) in ProofField conversion on missing oneofSilent integer truncation of u16/u8 fields via 'as' casts
b2703436by daywalker90+1558−12135 files
Vendor flagged security relevance
Informational 15 AI analysisMessage 51 · Thin
EP Elements ProjectCore Lightning BitcoinLightning Network

nix: drop protobuf again

This commit removes the protobuf package from the Nix build environment because it is no longer needed. A previous change made the cln-grpc component use its own bundled protoc compiler instead of relying on the system one. The Python bind…

a0459eeeby Peter Neuroth+0−11 file
No security note in commit
Informational 15 AI analysisMessage 73 · Adequate
EP Elements ProjectCore Lightning BitcoinLightning Network

make: check gRPC protos for breaking changes against the last release

This commit adds a new automated check to the project's build process that compares gRPC protocol definitions against the last release to catch accidental breaking changes early. It does not change any runtime code, fix a bug, or introduce…

db5fea70by daywalker90+43−84 files
No security note in commit
Repository ledger

Explore captured commits

Expand any commit for its author, full message, clarity score, changed files, triage signals, analysis, and source link.

Lower-priorityMakefile: don't build the sources in make check-source.by Rusty Russell · 932ba950 · Feb 24, 2026 · 3 filesMessage 73 · AdequateInformational 15Details
Commit message · Rusty Russell

Makefile: don't build the sources in make check-source.

check-source-bolt needs devtools, and check-python needs a full build.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
AI analysis · Informational 15/100

This commit is a build-system and CI housekeeping change. It reorganizes which automated code-quality checks run before versus after compilation, and explicitly stops the 'check-source' Makefile target from compiling source code. There is no change to the actual Core Lightning node software, its network behavior, or its handling of funds, keys, or messages.

Security candidateCI: use nproc + 1 for pytest parallelism..by Rusty Russell · 77251ec1 · Feb 24, 2026 · 1 fileMessage 90 · StrongInformational 15Details
Commit message · Rusty Russell

CI: use nproc + 1 for pytest parallelism..

More future proof, better for self-hosted runners.

Example run times before:

4s CI completion
2m 36s Check we can downgrade the node (compile-gcc, sqlite3, liquid-regtest)
2m 52s Check we can downgrade the node (compile-gcc, postgres, regtest)
3m 20s Check we can downgrade the node (compile-gcc, sqlite3, regtest, 1)
3m 20s Check we can downgrade the node (compile-gcc, sqlite3, regtest, 1)
8m 1s Run fuzz regression tests
11m 46s Run unit tests (compile-clang-sanitizers, 0)
12m 59s Compile CLN compile-gcc
13m 42s Compile CLN compile-clang
14m 10s Compile CLN compile-gcc-O3
14m 15s Compile CLN compile-clang-sanitizers
15m 23s Pre-build checks
19m 37s Test CLN dual-fund
26m 49s Run unit tests (compile-gcc, 1)
43m 19s Valgrind Test CLN Valgrind (06/10)
43m 21s Valgrind Test CLN Valgrind (08/10)
43m 40s Valgrind Test CLN Valgrind (05/10)
43m 59s Valgrind Test CLN Valgrind (03/10)
44m 4s Valgrind Test CLN Valgrind (07/10)
47m 28s Valgrind Test CLN Valgrind (09/10)
47m 37s Valgrind Test CLN Valgrind (02/10)
47m 45s Valgrind Test CLN Valgrind (01/10)
52m 51s Valgrind Test CLN Valgrind (04/10)
54m 6s Valgrind Test CLN Valgrind (10/10)
1h 14m 13s Sanitizers Test CLN (ASan/UBSan (03/12), 3, --test-group=3 --test-group-count=12)
1h 14m 6s Sanitizers Test CLN (ASan/UBSan (06/12), 6, --test-group=6 --test-group-count=12)
1h 15m 23s Sanitizers Test CLN (ASan/UBSan (01/12), 1, --test-group=1 --test-group-count=12)
1h 20m 30s Sanitizers Test CLN (ASan/UBSan (08/12), 8, --test-group=8 --test-group-count=12)
1h 22m 35s Sanitizers Test CLN (ASan/UBSan (12/12), 12, --test-group=12 --test-group-count=12)
1h 23m 49s Sanitizers Test CLN (ASan/UBSan (04/12), 4, --test-group=4 --test-group-count=12)
1h 26m 11s Sanitizers Test CLN (ASan/UBSan (07/12), 7, --test-group=7 --test-group-count=12)
1h 28m 44s Sanitizers Test CLN (ASan/UBSan (05/12), 5, --test-group=5 --test-group-count=12)
1h 29m 1s Sanitizers Test CLN (ASan/UBSan (02/12), 2, --test-group=2 --test-group-count=12)
1h 29m 4s Sanitizers Test CLN (ASan/UBSan (11/12), 11, --test-group=11 --test-group-count=12)
1h 31m 36s Sanitizers Test CLN (ASan/UBSan (09/12), 9, --test-group=9 --test-group-count=12)
1h 38m 54s Sanitizers Test CLN (ASan/UBSan (10/12), 10, --test-group=10 --test-group-count=12)
1h 39m 22s Test CLN liquid
1h 52m 23s Test minimum supported BTC v25.0 with clang
1h 52m 28s Test CLN gcc
1h 53m 57s Test CLN splicing
1h 57m 25s Test CLN postgres
1h 59m 25s Test CLN clang

2d 17h 56m 16s TOTAL

Example runtimes afterwards:



Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

90/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Mentions testing or verification
Why it was queued
update trustdefensive validationfuzzing or regression evidencedocumentation-only discount
AI analysis · Informational 15/100

This commit only changes how many parallel test jobs run in the project's automated continuous integration (CI) system. It replaces hard-coded numbers like 4 or 2 with a dynamic value based on the number of available CPU cores. There is no change to the Core Lightning node software itself, its network behavior, wallet handling, or any user-facing feature. It is purely an infrastructure speed-up.

Security candidateCI: make downgrade and slow integration tests depend on check-compiled-source step.by Rusty Russell · d39ba340 · Feb 24, 2026 · 1 fileMessage 95 · StrongInformational 15Details
Commit message · Rusty Russell

CI: make downgrade and slow integration tests depend on check-compiled-source step.

As pointed out by Alex Myers: we don't want to waste time running the
complex steps if the generated files are not up-to-date.

But we still run the faster "integration" tests (not valgrind or
sanitizer ones), since they often reveal early failures.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

95/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Mentions testing or verification
Why it was queued
update trustdefensive validationdocumentation-only discount
AI analysis · Informational 15/100

This commit changes the GitHub Actions CI workflow so that three slower, more complex test jobs now wait for a 'check-compiled-source' step instead of the plain 'compile' step. It is purely a build-pipeline efficiency tweak to avoid wasting time on long tests when generated source files are stale. There is no change to application code, no security fix, and no vulnerability.

Lower-priorityCI: Don't explicitly invoke .github/scripts/install-bitcoind.shby Rusty Russell · b3978d94 · Feb 24, 2026 · 1 fileMessage 85 · StrongInformational 15Details
Commit message · Rusty Russell

CI: Don't explicitly invoke .github/scripts/install-bitcoind.sh

It's done by setup.sh, so simply set the env var for that. Don't try
to reinstall valgrind or call `sudo apt-get update -qq` either, since
setup.sh does that too.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

85/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
Why it was queued
documentation-only discount
AI analysis · Informational 15/100

This is a routine cleanup of the project's automated CI (Continuous Integration) workflow file. It removes duplicated steps by letting a single setup script handle installing bitcoind, updating package lists, and installing valgrind. There is no change to the actual Core Lightning software that users run, and no security issue is present.

Lower-priorityccan: import new version to change vsprintfs to vsnprintfsby Sangbida Chaudhuri · 6d252dca · Feb 23, 2026 · 4 filesMessage 50 · ThinLow 49Details
Commit message · Sangbida Chaudhuri

ccan: import new version to change vsprintfs to vsnprintfs

50/100 · ThinMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
AI analysis · Low 49/100

This commit updates an internal helper library (CCAN) used by Core Lightning. The headline change replaces an unsafe string-formatting call (vsprintf) with a safer bounded version (vsnprintf), and adds a new helper for adding strings of a known length. These are defensive hardening changes that reduce the risk of buffer overflows when building JSON messages, but the commit itself does not claim to fix a specific exploitable vulnerability.

Lower-prioritymisc: fix uninitialised errors for macOSby Sangbida Chaudhuri · c22538ec · Feb 23, 2026 · 4 filesMessage 60 · AdequateInformational 24Details
Commit message · Sangbida Chaudhuri

misc: fix uninitialised errors for macOS

MacOS SDK is quite strict so treats these uninitialised variable warnings as errors.

60/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
AI analysis · Informational 24/100

This commit fixes compiler warnings that macOS treats as errors. Most changes simply initialize variables to zero or remove an unused variable. One change in the dual-funding code replaces a previously declared but uninitialized channel identifier with an existing one from the state object, which could prevent use of stale or random memory.

Lower-prioritylightningd: add payment-fronting-node option.by Rusty Russell · 2a1f647b · Feb 23, 2026 · 4 filesMessage 68 · AdequateInformational 15Details
Commit message · Rusty Russell

lightningd: add payment-fronting-node option.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Added: Config: `payment-fronting-node` option to specify neighbor node(s) to use for all bolt11 invoices, bolt12 offers, invoices and invoice_requests.

68/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
AI analysis · Informational 15/100

This commit adds a new optional configuration setting called `payment-fronting-node` to Core Lightning. It lets a node operator choose one or more neighboring nodes to appear as the entry point on invoices and offers, routing payments to themselves through those neighbors. This is a privacy feature, not a security fix or vulnerability.

Lower-priorityoffers: only use blinded path nodes from offers when creating invoice for invoice_request.by Rusty Russell · 9fa7c937 · Feb 23, 2026 · 2 filesMessage 65 · AdequateLow 35Details
Commit message · Rusty Russell

offers: only use blinded path nodes from offers when creating invoice for invoice_request.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

65/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
AI analysis · Low 35/100

This change fixes how Core Lightning creates invoices in response to BOLT12 offers. Previously, when replying to an invoice_request, the node used its own configured 'fronting nodes' rather than the ones actually listed in the offer. That meant an offer that specified a particular privacy/fronting path could be ignored, potentially exposing the recipient's real node identity in the invoice. The patch makes the invoice reuse the offer's blinded-path fronting nodes, falling back to defaults only if the offer did not specify any. It also adds tests showing offers can now enforce specific fronting nodes or no fronting at all.

Lower-priorityoffers: allow explicit fronting nodes for an offer.by Rusty Russell · 64e45192 · Feb 23, 2026 · 12 filesMessage 73 · AdequateInformational 18Details
Commit message · Rusty Russell

offers: allow explicit fronting nodes for an offer.

The next commit makes us honor these when issuing a payment.

Changelog-Added: JSON-RPC: `offer` now has a `fronting_nodes` option to specify neighbors for payer to use to fetch invoices and make payments.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
AI analysis · Informational 18/100

This commit adds a new optional parameter called `fronting_nodes` to the `offer` RPC command in Core Lightning. It lets the person creating an offer explicitly choose which peer nodes should be used as 'fronts' to build blinded payment paths. The commit only wires the option through the API, schemas, and generated bindings; the actual use of these nodes when paying is left to a follow-up commit. There is no direct security bug visible in this patch.

Lower-prioritylibplugin: support multi options.by Rusty Russell · c168f6a7 · Feb 23, 2026 · 5 filesMessage 58 · ThinInformational 15Details
Commit message · Rusty Russell

libplugin: support multi options.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Added: libplugin: support for options which accumulate if specified more than once ("multi": true).

58/100 · ThinMessage clarity
✓ Descriptive subject✓ Provides detailed explanatory context
AI analysis · Informational 15/100

This commit adds a new feature to Core Lightning's plugin helper library: plugin options can now be declared as 'multi', meaning they can be specified multiple times and the values accumulate into a list. It is a straightforward feature addition with no security relevance visible in the code or commit message.

Lower-prioritylightningd: don't assert if plugin crashes early.by Rusty Russell · 611341dd · Feb 23, 2026 · 1 fileMessage 80 · StrongLow 26Details
Commit message · Rusty Russell

lightningd: don't assert if plugin crashes early.

If a plugin exits early, we will not exit with ret == plugins: return
from this function and we will exit because ld->exit_code is set.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

80/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Explains rationale or failure mode
AI analysis · Low 26/100

This change removes a hard crash (assert) that occurred when a plugin exited unexpectedly during startup. Instead of the main lightning daemon crashing with an assertion failure, it now allows the daemon to shut down cleanly using the already-set exit code. This is a robustness fix that prevents a misbehaving plugin from causing an uncontrolled crash, but it does not appear to be a security vulnerability on its own.

Lower-prioritylightningd: honor `payment-fronting-node` when making bolt11 invoices.by Rusty Russell · 5ecb1ef2 · Feb 23, 2026 · 3 filesMessage 65 · AdequateLow 30Details
Commit message · Rusty Russell

lightningd: honor `payment-fronting-node` when making bolt11 invoices.

We use all the fronting nodes when creating invoices.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

65/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
AI analysis · Low 30/100

This commit fixes a bug where Core Lightning's `payment-fronting-node` configuration option was ignored when creating BOLT11 invoices. The option lets a node designate one or more 'fronting' nodes that should always appear as the first hop in invoice route hints, even if those channels would normally be skipped as private, offline, or low-capacity. The change makes invoice generation honor that setting so the intended routing path is advertised.

Lower-priorityoffers: honor `payment-fronting-nodes` when creating invoice_requests.by Rusty Russell · cff488d4 · Feb 23, 2026 · 2 filesMessage 65 · AdequateLow 42Details
Commit message · Rusty Russell

offers: honor `payment-fronting-nodes` when creating invoice_requests.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

65/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
AI analysis · Low 42/100

This change fixes a configuration being ignored when creating invoice requests. Core Lightning has a 'payment-fronting-nodes' setting that tells a node to route incoming invoice requests through specific neighbor nodes for privacy. Before this patch, the setting was honored for regular offers but ignored when creating invoice requests, meaning the node could expose its real identity even when it explicitly asked to hide behind a fronting node. The patch makes invoice-request creation respect the setting and fails if no suitable fronting node can be found.

Lower-priorityoffers: honor `payment-fronting-nodes` when creating invoices.by Rusty Russell · ae21089a · Feb 23, 2026 · 2 filesMessage 65 · AdequateLow 32Details
Commit message · Rusty Russell

offers: honor `payment-fronting-nodes` when creating invoices.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

65/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
AI analysis · Low 32/100

This change fixes a bug in Core Lightning's BOLT12 'offers' feature where a node operator's explicit request to use specific 'payment-fronting nodes' was ignored when creating invoices. Previously, the node could silently issue a bare invoice without the requested privacy/relay path. Now it either honors the configured fronting nodes or fails the invoice request if it cannot. This is a correctness and privacy-hardening fix rather than a critical remote-exploitable vulnerability.

Lower-priorityoffers: modify find_best_peer() to only select from fronting nodes if set.by Rusty Russell · 25e2374f · Feb 23, 2026 · 4 filesMessage 65 · AdequateLow 25Details
Commit message · Rusty Russell

offers: modify find_best_peer() to only select from fronting nodes if set.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

65/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
AI analysis · Low 25/100

This change adds an optional filter to a peer-selection helper in the Lightning node's 'offers' plugin. When a caller provides a list of allowed 'fronting' nodes, the helper now restricts its choice to those nodes and still keeps disconnected ones as a last resort. The commit message and diff do not describe any security bug; it reads like a feature refinement for offer/blinded-path routing.

Lower-prioritylightningd: honor `payment-fronting-node` when making bolt12 offers.by Rusty Russell · 9eee744d · Feb 23, 2026 · 5 filesMessage 65 · AdequateLow 36Details
Commit message · Rusty Russell

lightningd: honor `payment-fronting-node` when making bolt12 offers.

We use all the fronting nodes when creating offers.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

65/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
AI analysis · Low 36/100

This commit fixes a feature gap in Core Lightning's BOLT12 offer creation. Previously, the `payment-fronting-node` setting—which lets a node hide behind one or more public 'front' nodes for privacy—was ignored when creating BOLT12 offers. The patch makes the offer plugin read the configured fronting nodes and include them all as blinded paths in generated offers, matching the behavior already intended for invoices. It is a correctness/privacy fix rather than a remote-exploitable vulnerability.

Security candidateBuild: don't use HAVE_FUNCTION_SECTIONS for update-mocks.by Rusty Russell · 15ef2fd3 · Feb 23, 2026 · 4 filesMessage 85 · StrongInformational 15Details
Commit message · Rusty Russell

Build: don't use HAVE_FUNCTION_SECTIONS for update-mocks.

I ran `uv run make update-mocks` and many mocks vanished. But that
broke MacOS (and maybe other archs) which doesn't support function
sections and no longer linked.

If this proves problematic, we might end up generating mocks properly:
1. Use #include "mocks-sphinx-xor_cipher_stream_gen.c"
2. Generate those separate files as necessary.
3. Don't commit them, build them locally.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

85/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
Why it was queued
boot or update path
AI analysis · Informational 15/100

This is a build-system fix for a developer-only mock-generation script. It stops using a compiler feature (function sections) that is unsupported on macOS, which had caused test builds to fail after mocks were regenerated. There is no runtime security issue or user impact.

AI review queuedoffers: encapsulate globals in plugin_get_data()by Rusty Russell · 572d4db8 · Feb 23, 2026 · 7 filesMessage 68 · AdequateInformational 15Details
Commit message · Rusty Russell

offers: encapsulate globals in plugin_get_data()

This is how modern plugins do it, and it has the benefit of not
requiring extra code for memleak tracking.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

68/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
Why it was queued
parser or protocol pathsecond-pass: security-sensitive path
AI analysis · Informational 15/100

This commit is a straightforward internal code cleanup in the Core Lightning 'offers' plugin. It moves several global variables into a single per-plugin data structure and provides a helper function to access them. There is no change to user-facing behavior, no bug fix, and no security-related change described in the commit or diff.

Lower-prioritypytest: really fix race in test_buy_liquidity_ad_check_bookkeepingby Rusty Russell · 7b69f5f6 · Feb 23, 2026 · 1 fileMessage 85 · StrongInformational 15Details
Commit message · Rusty Russell

pytest: really fix race in test_buy_liquidity_ad_check_bookkeeping

I thought I fixed this in b15f386df66b31b55e50bb55195bbf835ad1c4c8,
but it happened again, because my fix was insufficent! "all([])" is
true, and we want to make sure the channel really has been seen.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

85/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Explains rationale or failure mode
AI analysis · Informational 15/100

This is a fix to a flaky automated test, not a security fix. The test was checking whether all channels are active before continuing, but the check accidentally returned 'true' when there were no channels at all (because 'all([])' is true in Python). The patch now explicitly waits for exactly two channels and both to be active. It does not change production code or address any vulnerability.

Lower-prioritypytest: fix flake in test_gossip_store_compact_while_extending and test_gossmap_lost_nodeby Rusty Russell · 0240882d · Feb 23, 2026 · 1 fileMessage 83 · StrongInformational 15Details
Commit message · Rusty Russell

pytest: fix flake in test_gossip_store_compact_while_extending and test_gossmap_lost_node

node_factory.line_graph waits until all nodes have seen all channels,
not all node announcements, so we can get this:

```
> assert post_nodes == pre_nodes
...
E Full diff:
E [
E {
E + 'addresses': [],
E + 'alias': 'JUNIORYARD-b2d9563',
E + 'color': '02287b',
E + 'features': '808898880a8a59a1',
E + 'last_timestamp': 1771565748,
E 'nodeid': '02287bfac8b99b35477ebe9334eede1e32b189e24644eb701c079614712331cec0',
E },
E {
E 'addresses': [],
E 'alias': 'SILENTGOPHER-b2d9563',
E 'color': '033845',
E 'features': '808898880a8a59a1',
...
tests/test_gossip.py:1710: AssertionError
```

Since the same pattern occurs in test_gossmap_lost_node, fix that too.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

83/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification
AI analysis · Informational 15/100

This commit fixes two flaky automated tests in the Core Lightning project's test suite. The tests were occasionally failing because they assumed all network node announcements had been received, but the helper function they used only waited for channel announcements. The fix adds an explicit wait for node announcements before capturing the list of nodes. There is no change to production code and no security relevance.

Lower-prioritypytest: fix test_sendpay_grouping regex.by Rusty Russell · 113d2e80 · Feb 23, 2026 · 1 fileMessage 68 · AdequateInformational 15Details
Commit message · Rusty Russell

pytest: fix test_sendpay_grouping regex.

It doesn't match "after 10 attempts":

```
with pytest.raises(RpcError, match=r'Ran out of routes to try after [1-9]+ attempts'):
> l1.rpc.pay(inv, amount_msat='100001msat')

tests/test_pay.py:5250:
...
elif "error" in resp:
> raise RpcError(method, payload, resp['error'])
E pyln.client.lightning.RpcError: RPC call failed: method: pay, payload: {'bolt11': 'lnbcrt1p5evy5ksp5ndq75geqkggp9jvkal5e36mwpyppf0vm8ftzv7qqv9plkw2u5hkspp53rw3mkve9896muty6wzpjxc6ucau0cvekmakg6ta5h5v0ar07m6qdq8v3jhxccxqyjw5qcqp9rzjqvuytqpdyk6wqaxvl47d3vee5swuwklej79qxjqqg394r4ptqaue5qqqvuqqqqgqqqqqqqqpqqqqqzsqqc9qxpqysgq53phr29544luhuduaqjajvj8d54yep69sy6cqtesk2t3q83htsas8nhluh9jjqm4se274pzzg8ma943xe8a5sg7d286n2vttraqd7dsq8s7k84', 'amount_msat': '100001msat'}, error: {'code': 210, 'message': 'Ran out of routes to try after 10 attempts: see `paystatus`', 'attempts': [{'status': 'failed', 'failreason': 'failed: WIRE_TEMPORARY_CHANNEL_FAILURE (reply from remote)', 'partid': 0, 'amount_msat': 100001}, {'status': 'pending', 'failreason': 'No path found', 'partid': 1, 'amount_msat': 100001, 'parent_partid': 0}, {'status': 'failed', 'failreason': 'failed: WIRE_TEMPORARY_CHANNEL_FAILURE (reply from remote)', 'partid': 2, 'amount_msat': 51394, 'parent_partid': 1}, {'status': 'failed', 'failreason': 'failed: WIRE_TEMPORARY_CHANNEL_FAILURE (reply from remote)', 'partid': 4, 'amount_msat': 51394, 'parent_partid': 2}, {'status': 'failed', 'failreason': 'No path found', 'partid': 6, 'amount_msat': 51394, 'parent_partid': 4}, {'status': 'failed', 'failreason': 'No path found', 'partid': 7, 'amount_msat': 51394, 'parent_partid': 6}, {'status': 'failed', 'failreason': 'failed: WIRE_TEMPORARY_CHANNEL_FAILURE (reply from remote)', 'partid': 3, 'amount_msat': 48607, 'parent_partid': 1}, {'status': 'failed', 'failreason': 'failed: WIRE_TEMPORARY_CHANNEL_FAILURE (reply from remote)', 'partid': 5, 'amount_msat': 48607, 'parent_partid': 3}, {'status': 'failed', 'failreason': 'failed: WIRE_TEMPORARY_CHANNEL_FAILURE (reply from remote)', 'partid': 8, 'amount_msat': 48607, 'parent_partid': 5}, {'status': 'failed', 'failreason': 'No path found', 'partid': 9, 'amount_msat': 48607, 'parent_partid': 8}]}

```

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

68/100 · AdequateMessage clarity
✓ Descriptive subject✓ Provides detailed explanatory context✓ Mentions testing or verification
AI analysis · Informational 15/100

This commit fixes a test-only regular expression so it correctly matches error messages that say 'after 10 attempts'. It is a test-suite maintenance change with no effect on the actual Core Lightning payment software or its users.

Lower-prioritypytest: fix flake in test_reconnect_remote_sends_no_sigsby Rusty Russell · 1e608584 · Feb 23, 2026 · 1 fileMessage 83 · StrongInformational 15Details
Commit message · Rusty Russell

pytest: fix flake in test_reconnect_remote_sends_no_sigs

Actual order could be either way:

```
FAILED tests/test_connection.py::test_reconnect_remote_sends_no_sigs - AssertionError: assert ['peer_in', 'peer_out'] == ['peer_out', 'peer_in']

At index 0 diff: 'peer_in' != 'peer_out'

Full diff:
[
+ 'peer_in',
'peer_out',
- 'peer_in',
]
```

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

83/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification
AI analysis · Informational 15/100

This commit fixes a flaky test by sorting log messages before comparing them. The test was failing because two network messages could arrive in either order. There is no change to production code and no security issue.

AI review queueddb: add STRICT tables with migration for old databasesby wqxoxo · f318c13b · Feb 23, 2026 · 10 filesMessage 98 · StrongLow 47Details
Commit message · wqxoxo

db: add STRICT tables with migration for old databases

Enables STRICT tables in developer mode, but old databases (~2019) may
have BLOB values in TEXT columns. Migration converts BLOB faildetail
to TEXT with UTF-8 validation, NULLs invalid data.

STRICT is only applied to fresh databases; existing databases being
upgraded skip STRICT to avoid type affinity issues with legacy data.

Also adds security pragmas in developer mode: trusted_schema=OFF,
cell_size_check=ON.

Fixes #5390.

Changelog-Added: Database: STRICT tables and security pragmas in developer mode
Changelog-Fixed: Database migration for old BLOB-typed faildetail values

98/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Explains rationale or failure mode✓ Links an issue, advisory, or supporting reference✓ Names security-relevant behavior explicitly
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Low 47/100

This commit hardens Core Lightning's SQLite database handling in developer mode by adding STRICT table enforcement and two security-related SQLite pragmas. It also adds a migration that cleans up old database entries where a text column accidentally stored binary data, converting them to text or wiping them if they aren't valid text. The changes are defensive: they reduce the chance of unexpected data types causing bugs or security issues, but they do not by themselves fix a known exploitable vulnerability.

AI review queuedrenepay: refactor and bugfixesby Lagrang3 · 580c2f78 · Feb 23, 2026 · 8 filesMessage 70 · AdequateLow 47Details
Commit message · Lagrang3

renepay: refactor and bugfixes

We remove the auxiliary RPC renesenday (only used internally) in favor
of a function that builds the onion, stores the shared secrets
needed to recover the onion reply, and calls sendonion/injectpaymentonion.

This solves a concurrency race
```
**BROKEN** plugin-cln-renepay: Unable to parse sendpay_failure
```
in which we are waiting for renesenday to return in order to record the shared
secrets but we get the a sendpay_failure notification with an onionreply
before we have secrets to decode it.

It also solves a missing JSON id seen in the logs
```
DEBUG plugin-cln-renepay: JSON reply with unknown id
```
because renesendpay was using his command variable to issue an RPC
to sendonion/injecpaymentonion and would fail or succeed the command
before those RPCs were done. This also meant that the callback
functions were silently being ignored.

Changelog-Fixed: renepay: fixes a race condition that leads to **BROKEN** plugin-cln-renepay: Unable to parse sendpay_failure

Signed-off-by: Lagrang3 <lagrang3@protonmail.com>

70/100 · AdequateMessage clarity
✓ Descriptive subject✓ Provides detailed explanatory context✓ Explains rationale or failure mode
Why it was queued
second-pass: broader security terminology
AI analysis · Low 47/100

This commit fixes a timing bug in Core Lightning's experimental 'renepay' payment plugin. Previously, the plugin used an internal helper command (renesendpay) to send payment routes. Because of the way commands were chained, the plugin could receive a failure notification with an encrypted onion reply before it had saved the secrets needed to decode that reply. That caused error messages and could prevent the plugin from correctly learning why a payment failed. The fix builds the onion and stores the shared secrets directly before calling sendonion/injectpaymentonion, removing the race condition.

Lower-priorityfuzz: fix uninitialized variable in fuzz-handle_onion_messageby wqxoxo · f2fcd6b0 · Feb 23, 2026 · 1 fileMessage 83 · StrongInformational 17Details
Commit message · wqxoxo

fuzz: fix uninitialized variable in fuzz-handle_onion_message

Changelog-Fixed: fuzz: fix build with newer clang.

Fixes: #8683

83/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body✓ Mentions testing or verification✓ Links an issue, advisory, or supporting reference
Why it was queued
fuzzing or regression evidence
AI analysis · Informational 17/100

This commit fixes a fuzz-test build issue in Core Lightning. A fuzz test is an automated testing tool, not the live Lightning node software. The change moves a variable declaration and initializes it to NULL so newer versions of the Clang compiler no longer complain about a potentially uninitialized variable when the test's error-recovery path is taken. It does not appear to fix a vulnerability in production code.