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
1582commits · 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 10 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-priorityAdd Blockstream info and badge in READMEby ShahanaFarooqui · 0ff91675 · Jul 1, 2026 · 1 fileMessage 53 · ThinInformational 15Details
Commit message · ShahanaFarooqui

Add Blockstream info and badge in README

Closes #9263.

Changelog-None.

53/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Links an issue, advisory, or supporting reference! No meaningful explanatory body
Why it was queued
documentation-only discount
AI analysis · Informational 15/100

This commit only updates the project's README file to add company information and a badge for Blockstream. It does not change any program code, configuration defaults, or security behavior.

Lower-prioritydocs: update changelogby Madeline · e814cbb2 · Jul 1, 2026 · 1 fileMessage 40 · ThinInformational 15Details
Commit message · Madeline

docs: update changelog

40/100 · ThinMessage clarity
✓ Subject identifies a change✓ Uses a recognizable type or scope! No meaningful explanatory body
Why it was queued
documentation-only discount
AI analysis · Informational 15/100

This commit only edits the project's changelog. It corrects the nicknames of two prior releases (changing Roman numeral III to II and II to I) and updates the pull-request reference numbers for a previously released fix about including root certificates. No program code is changed, so this cannot introduce or fix any security vulnerability by itself.

Lower-prioritypytest: listpays: test grouping by calling xpayby Lagrang3 · c17a48fa · Jun 30, 2026 · 1 fileMessage 70 · AdequateInformational 15Details
Commit message · Lagrang3

pytest: listpays: test grouping by calling xpay

Changelog-None

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

70/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body✓ Mentions testing or verification
AI analysis · Informational 15/100

This commit changes a single line in a test file, switching a test from using the older `pay` RPC command to the newer `xpay` RPC command. It is purely a test/quality change and does not modify any production code, fix a bug, or address a security issue.

Lower-prioritylistsendpays: discriminate ongoing payment by groupidby Lagrang3 · aaefc60f · Jun 30, 2026 · 3 filesMessage 83 · StrongInformational 20Details
Commit message · Lagrang3

listsendpays: discriminate ongoing payment by groupid

A payment attempt in listpays is defined as pair (payment hash, group id).
If we query xpay for ongoing payments we must discriminate
using both values.

Fixes flaky test tests/test_pay.py:test_sendpay_grouping
```
FAILED tests/test_pay.py::test_sendpay_grouping - AssertionError: assert ['pending', 'pending', 'complete'] == ['failed', 'failed', 'complete']
```

Changelog-None

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

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

This commit fixes a bug in how the xpay plugin reports payment status. Previously, when listing ongoing payments, it only checked the payment hash, which could incorrectly mark unrelated payment attempts as 'pending' instead of 'failed'. Now it also checks the group ID, so each distinct payment attempt is judged correctly. There is no direct security exploit here, but the bug could mislead users or automated tools about whether a payment succeeded or failed.

Lower-prioritydevtools: add --markdown output to credit for release notesby Sangbida Chaudhuri · 58f0c16a · Jun 30, 2026 · 2 filesMessage 73 · AdequateInformational 15Details
Commit message · Sangbida Chaudhuri

devtools: add --markdown output to credit for release notes

Generate a comprehensive contributor list ordered by commits, with a
separate section for first-time contributors, so release notes no longer
need manually maintained lists.

Co-Authored-By: Cursor <cursoragent@cursor.com>

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 harmless developer tooling improvement. It adds a new --markdown option to a helper script that generates contributor lists for release notes, and updates the release checklist to use it. There is no security relevance.

Lower-priorityccan: update ccan to efd48386by Níckolas Goline · 2003dca7 · Jun 26, 2026 · 2 filesMessage 60 · AdequateInformational 23Details
Commit message · Níckolas Goline

ccan: update ccan to efd48386

- readme: remove reference to old domain and point to rustyrussell/ccan

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

This commit updates a bundled helper library (ccan) and fixes a small but meaningful networking bug in its event loop. Previously, when a socket reported an error, the code always assumed the generic error 'bad file descriptor' (EBADF). Now it asks the operating system for the specific socket error. This is particularly important on macOS, where a failed outgoing connection can be reported differently than on Linux, and the real reason (for example, 'connection refused') was being lost. The change improves cross-platform correctness and debugging, but it is a bug-fix/correctness improvement rather than a clear-cut security vulnerability.

Lower-prioritymakefile: update: update-ccanby Níckolas Goline · 77c47f5b · Jun 26, 2026 · 1 fileMessage 50 · ThinInformational 15Details
Commit message · Níckolas Goline

makefile: update: update-ccan

Update update-ccan recipe to use ccan's commit instead of tag since ccan's home moved to github

Changelog-None

50/100 · ThinMessage clarity
✓ Descriptive subject✓ Provides an explanatory body
AI analysis · Informational 15/100

This commit changes a single line in the build Makefile. It updates the 'update-ccan' recipe so that when the project copies code from the CCAN library, it records the exact Git commit hash instead of a Git tag-based version string. This is a maintenance change because CCAN moved its hosting to GitHub. There is no security-relevant change to the software itself.

Lower-prioritytests: fix flaky bwatch 1-block reorg testby Sangbida Chaudhuri · d573b58c · Jun 25, 2026 · 1 fileMessage 78 · AdequateInformational 15Details
Commit message · Sangbida Chaudhuri

tests: fix flaky bwatch 1-block reorg test

The test mined a block and then reorged it, but it did not wait until bwatch had actually seen that block first.

Sometimes bwatch was still one block behind. In that case, the replacement
block looked like a normal new block, not a reorg, so the test waited forever for "Reorg detected".

Wait until bwatch has stored the block before reorging it.

78/100 · AdequateMessage clarity
✓ 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 automated test for a Core Lightning plugin called bwatch. The test was sometimes failing because it reorged a block before the plugin had actually recorded it, so the plugin saw the replacement as a normal new block instead of a reorg. The fix simply makes the test wait until the plugin has stored the block before triggering the reorg. There is no change to production code and no security issue.

Lower-prioritycurrencyrate: vendor root certificates with webpki-rootsby daywalker90 · 47a22d2c · Jun 25, 2026 · 4 filesMessage 73 · AdequateLow 25Details
Commit message · daywalker90

currencyrate: vendor root certificates with webpki-roots

minimal setups without `ca-certificates` would cause cln-currencyrate to immediately exit with
`builder error`

We vendor the root certificates and improve the error message.

reported by @nepet

Changelog-Fixed: cln-currencyrate: include root certificates to fix the `builder error` on OS's without root certificates

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

This commit fixes a startup failure in the cln-currencyrate plugin on systems that do not have operating-system root certificates installed. Previously the plugin would crash with a generic 'builder error' because it had no trusted certificates to verify HTTPS connections to currency-rate sources. The fix bundles a known set of root certificates directly into the plugin and improves the error messages shown when configuration or client setup fails. It is a reliability/usability fix rather than a security vulnerability in the traditional sense, though missing certificate validation could in theory have allowed network attackers to impersonate rate sources on affected systems.

Lower-priorityrelease: CHANGELOG and version bumps for v26.06.2by daywalker90 · c9b25bce · Jun 25, 2026 · 10 filesMessage 45 · ThinInformational 18Details
Commit message · daywalker90

release: CHANGELOG and version bumps for v26.06.2

45/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
AI analysis · Informational 18/100

This commit is a routine release bookkeeping change: it bumps version strings and adds a CHANGELOG entry for Core Lightning v26.06.2. The changelog describes the actual fix as a build-time issue in the cln-currencyrate plugin where missing TLS root certificates caused a 'builder error' on minimal operating systems. There is no code change in this commit that alters runtime behavior, cryptographic handling, network protocol, or node security.

Lower-prioritychanneld: detect splice on reestablish via funding_tx_index, not txidby Níckolas Goline · a5e36d4a · Jun 24, 2026 · 2 filesMessage 81 · StrongTriage 0Details
Commit message · Níckolas Goline

channeld: detect splice on reestablish via funding_tx_index, not txid

After a splice locked, a reconnect with no commitment updates since the
channel opened logged:

Retransmitting channel_ready for channel ...

and resent channel_ready, which BOLT #2 forbids once either
channel_reestablish carries my_current_funding_locked or next_funding
for a splice transaction.

We decided "for a splice transaction" with proxies that go stale at the
moment a splice locks: check_mutual_splice_locked() clears
locked_ready[LOCAL] and moves channel->funding.txid to the splice txid,
so the peer's my_current_funding_locked then matched the channel
funding and looked like the original one.

Ask the question directly instead: look the txid up (the channel
funding or a pending splice inflight) and check its funding_tx_index is
above 0. Apply it to my_current_funding_locked and next_funding, in the
message we sent and the one we received, as the requirement reads. A
txid we don't know is treated as a splice, so we don't retransmit.

Changelog-Fixed: channeld: no longer retransmits `channel_ready` on reconnect after a splice has locked.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

81/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Links an issue, advisory, or supporting reference
AI review queuedsplice: track funding_tx_index on inflights and channel fundingby Níckolas Goline · 14961886 · Jun 24, 2026 · 29 filesMessage 73 · AdequateLow 33Details
Commit message · Níckolas Goline

splice: track funding_tx_index on inflights and channel funding

Give every funding tx a stable index: 0 for the original funding
(including RBF attempts), incrementing by 1 per splice. Threaded through
the channeld inflight, the channel, the channeld_init and
channeld_add_inflight wire messages, set on splice creation and carried
onto the channel funding when a splice locks, and persisted in the
channel_funding_inflights and channels tables. A splice inflight
pending across the upgrade is migrated to index 1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
Why it was queued
signing or wallet pathsecond-pass: unusually broad changesecond-pass: security-sensitive path
AI analysis · Low 33/100

This commit adds a stable counter, called funding_tx_index, that tracks whether a Lightning channel is on its original funding transaction (index 0) or on a later splice (index 1, 2, etc.). It stores the index in memory, passes it between daemon processes, and saves it in the wallet database. The change is a correctness fix for how Core Lightning handles reconnections and retransmissions after a splice, but the commit itself is a feature/infrastructure patch rather than a direct fix for an active exploit.

Lower-prioritysplice: add tests for funding_tx_index trackingby Níckolas Goline · 38c7c93e · Jun 24, 2026 · 1 fileMessage 78 · AdequateTriage 5Details
Commit message · Níckolas Goline

splice: add tests for funding_tx_index tracking

Add regression tests that each funding transaction carries a
funding_tx_index (0 for the original funding, +1 per splice), that it is
persisted and reloaded across restart, and that a pending splice inflight
carries its index.

Check channel_ready is not retransmitted on reestablish whenever either
message carries my_current_funding_locked or next_funding for a splice:
after the splice locks, when only one side completed the lock, while it
is still being signed, and across an upgrade with a splice pending.

Changelog-None

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

78/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification
Why it was queued
fuzzing or regression evidence
Lower-priorityxpay: deprecate xpay-handle-payby Lagrang3 · 000cbb57 · Jun 24, 2026 · 6 filesMessage 68 · AdequateTriage 0Details
Commit message · Lagrang3

xpay: deprecate xpay-handle-pay

Changelog-Deprecated: Config: option `xpay-handle-pay`, `pay` is deprecated and will be replaced by `xpay` in v27.03, hence `xpay-handle-pay` is not needed anymore. The configuration option will no longer be shown in listconfigs.

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

68/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
Lower-prioritylibplugin: add macro to deprecate dynamic optionsby Lagrang3 · da648653 · Jun 24, 2026 · 2 filesMessage 60 · AdequateTriage 0Details
Commit message · Lagrang3

libplugin: add macro to deprecate dynamic options

Changelog-None

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

60/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
Lower-prioritysecurity: sync both security policy filesby Lagrang3 · a20cc1c2 · Jun 24, 2026 · 2 filesMessage 77 · AdequateInformational 15Details
Commit message · Lagrang3

security: sync both security policy files

Changelog-None

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

77/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body✓ Names security-relevant behavior explicitly
Why it was queued
documentation-only discount
AI analysis · Informational 15/100

This commit only updates two security policy documents so they match each other. It reorders one contact entry, adds four missing team members to the second file, and fixes a small grammar note ('addresses' to 'address'). There are no code changes and no security vulnerability is being fixed.

Lower-priorityci: check that security and docs are syncedby Lagrang3 · c4e8c4f7 · Jun 24, 2026 · 1 fileMessage 77 · AdequateInformational 15Details
Commit message · Lagrang3

ci: check that security and docs are synced

Changelog-None

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

77/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body✓ Names security-relevant behavior explicitly
AI analysis · Informational 15/100

This commit adds a new automated CI check that verifies two security policy documents stay in sync. It does not change any runtime code, fix a bug, or alter security behavior. It is purely a process improvement for documentation consistency.

Lower-prioritypytests: test_self_disable case added that crashes CLNby daywalker90 · 5785ed67 · Jun 23, 2026 · 2 filesMessage 73 · AdequateTriage 0Details
Commit message · daywalker90

pytests: test_self_disable case added that crashes CLN

```
lightningd-1 2026-06-23T15:23:52.744Z **BROKEN** lightningd: FATAL SIGNAL 11 (version v26.06-57-g6889d36-modded)
lightningd-1 2026-06-23T15:23:52.744Z **BROKEN** lightningd: backtrace: common/daemon.c:46 (send_backtrace) 0x55cca29bb0b9
lightningd-1 2026-06-23T15:23:52.744Z **BROKEN** lightningd: backtrace: common/daemon.c:83 (crashdump) 0x55cca29bb0f6
lightningd-1 2026-06-23T15:23:52.744Z **BROKEN** lightningd: backtrace: ./signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0 ((null)) 0x7f642cb26def
lightningd-1 2026-06-23T15:23:52.744Z **BROKEN** lightningd: backtrace: common/configvar.c:112 (configvar_finalize_overrides) 0x55cca29baa1d
lightningd-1 2026-06-23T15:23:52.744Z **BROKEN** lightningd: backtrace: lightningd/plugin.c:1607 (plugin_add_params) 0x55cca295ea4f
lightningd-1 2026-06-23T15:23:52.744Z **BROKEN** lightningd: backtrace: lightningd/plugin.c:1806 (plugin_parse_getmanifest_response) 0x55cca2960435
lightningd-1 2026-06-23T15:23:52.744Z **BROKEN** lightningd: backtrace: lightningd/plugin.c:1822 (plugin_manifest_cb) 0x55cca296155b
lightningd-1 2026-06-23T15:23:52.744Z **BROKEN** lightningd: backtrace: lightningd/plugin.c:693 (plugin_response_handle) 0x55cca295cfd8
lightningd-1 2026-06-23T15:23:52.744Z **BROKEN** lightningd: backtrace: lightningd/plugin.c:782 (plugin_read_json) 0x55cca29620c3
lightningd-1 2026-06-23T15:23:52.744Z **BROKEN** lightningd: backtrace: ccan/ccan/io/io.c:60 (next_plan) 0x55cca29f8201
lightningd-1 2026-06-23T15:23:52.744Z **BROKEN** lightningd: backtrace: ccan/ccan/io/io.c:422 (do_plan) 0x55cca29f868c
lightningd-1 2026-06-23T15:23:52.744Z **BROKEN** lightningd: backtrace: ccan/ccan/io/io.c:439 (io_ready) 0x55cca29f8745
lightningd-1 2026-06-23T15:23:52.744Z **BROKEN** lightningd: backtrace: ccan/ccan/io/poll.c:470 (io_loop) 0x55cca29fa0db
lightningd-1 2026-06-23T15:23:52.744Z **BROKEN** lightningd: backtrace: lightningd/io_loop_with_timers.c:22 (io_loop_with_timers) 0x55cca2930979
lightningd-1 2026-06-23T15:23:52.744Z **BROKEN** lightningd: backtrace: lightningd/lightningd.c:1480 (main) 0x55cca2936209
lightningd-1 2026-06-23T15:23:52.744Z **BROKEN** lightningd: backtrace: ../sysdeps/nptl/libc_start_call_main.h:58 (__libc_start_call_main) 0x7f642cb10ca7
lightningd-1 2026-06-23T15:23:52.744Z **BROKEN** lightningd: backtrace: ../csu/libc-start.c:360 (__libc_start_main_impl) 0x7f642cb10d64
lightningd-1 2026-06-23T15:23:52.744Z **BROKEN** lightningd: backtrace: (null):0 ((null)) 0x55cca2905120
lightningd-1 2026-06-23T15:23:52.744Z **BROKEN** lightningd: backtrace: (null):0 ((null)) 0xffffffffffffffff
```

Seems like a stale option is causing it, in this case `selfdisable` from `test_libplugin`

Changelog-None

73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
AI review queuednix shells: add uv to packagesby niftynei · 5c5d1794 · Jun 23, 2026 · 1 fileMessage 60 · AdequateInformational 15Details
Commit message · niftynei

nix shells: add uv to packages

Changelog-Added: nix: development shells now include `uv` for Python dependency and command execution.

60/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
Why it was queued
second-pass: broader security terminology
AI analysis · Informational 15/100

This commit is a routine build-environment change for Nix development shells. It moves the Python tool `uv` from `buildInputs` to a separate `packages` list in three development shell definitions. There is no indication this change affects Core Lightning's runtime code, network behavior, wallet operations, or any user-facing security property.

AI review queuedrepro: add automake as explicit dependencyby daywalker90 · b7491a06 · Jun 22, 2026 · 3 filesMessage 80 · StrongInformational 15Details
Commit message · daywalker90

repro: add automake as explicit dependency

noble builds were failing because of a missing aclocal
usual recommendation is to install automake which apparently no longer
is in the dependency graph for noble

we add it to all ubuntu images in case it gets removed in jammy/resolute as well

Changelog-None

80/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Explains rationale or failure mode
Why it was queued
second-pass: broader security terminology
AI analysis · Informational 15/100

This commit adds the 'automake' package to three Ubuntu Dockerfiles used for reproducible builds. It is a build-system maintenance fix: newer Ubuntu versions no longer pull in automake automatically, which caused builds to fail because a tool called aclocal was missing. There is no security vulnerability being fixed here.

Lower-prioritylightningd: don't try to re-xmit funding tx for already-confirmed channels.by enaples · d7b0f1fa · Jun 22, 2026 · 2 filesMessage 73 · AdequateLow 25Details
Commit message · enaples

lightningd: don't try to re-xmit funding tx for already-confirmed channels.

`resend_opening_transactions` runs at startup before `begin_topology()`, so `channel->depth` is still 0 (its DB-load default) for every channel.
The `depth != 0` guard was therefore a no-op, and we issued a `sendrawtransaction` for every committed channel on every restart. For long-confirmed channels bitcoind replies with error `-27` ("Transaction outputs already in utxo set"), surfacing as an `UNUSUAL` log on every startup.

Gate on channel state instead: only the three states where the funding or splice tx can still be unconfirmed
(`CHANNELD_AWAITING_LOCKIN`, DUALOPEND_AWAITING_LOCKIN`, `CHANNELD_AWAITING_SPLICE`) qualify for rebroadcast.

Changelog-Fixed: lightningd: don't spuriously try to re-broadcast funding txs of already-confirmed channels on startup.

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

This commit fixes a harmless but noisy bug in Core Lightning. On every restart, the node was trying to re-broadcast the funding transaction for channels that were already confirmed long ago. Bitcoin rejected these with a routine 'already known' error, which just cluttered the logs. The fix changes the startup check so re-broadcast only happens for channels that are actually still waiting for their first confirmation.

Lower-prioritypytest: test to reproduce failed to retransmit funding transactionby enaples · 6aae3d48 · Jun 22, 2026 · 1 fileMessage 83 · StrongInformational 17Details
Commit message · enaples

pytest: test to reproduce failed to retransmit funding transaction

`resend_opening_transactions` gated on `channel->depth != 0`, but depth is reset to 0 when channels are loaded from the DB and only repopulated `after begin_topology()` runs. So at startup every channel matched and `bitcoind` rejected the rebroadcast with error `-27` ("Transaction outputs already in utxo set"), facing as an `UNUSUAL` log.

Changelog-Fixed: lightningd: don't spuriously try to re-broadcast funding txs of already-confirmed channels on startup.

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

This commit only adds a new pytest test case that reproduces a minor startup logging bug. Core Lightning was unnecessarily trying to re-broadcast already-confirmed channel funding transactions every time it restarted. Bitcoin rejected the rebroadcast, causing harmless but noisy 'UNUSUAL' log messages. There is no loss of funds, remote attacker capability, or code change to the daemon itself in this commit.

Lower-priorityconfigure: remove `-c` to link test for macOSby Daeho Ro · 01074ef5 · Jun 19, 2026 · 1 fileMessage 55 · ThinInformational 15Details
Commit message · Daeho Ro

configure: remove `-c` to link test for macOS

Changelog-None

55/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Mentions testing or verification! No meaningful explanatory body
AI analysis · Informational 15/100

This is a one-line build configuration fix for macOS. The script that checks whether the compiler supports a certain optimization flag was mistakenly passing a 'compile-only' flag during a link test. On macOS, this caused the test to behave incorrectly. The change removes that flag so the test properly attempts to link. There is no runtime security issue here.

Lower-priorityflake: Fix test_graceful_htlc to be flexible for notifsby Dusty Daemon · 6994681a · Jun 19, 2026 · 1 fileMessage 83 · StrongInformational 15Details
Commit message · Dusty Daemon

flake: Fix test_graceful_htlc to be flexible for notifs

The test_graceful_htlc test can receive an extra notification if the test is running slowly enough.

This changes how the test looks at notifications by explicitly incrementing the notification index.

Then, we make it notice and ignore the first RCVD_ADD_REVOCATION notification, which is unwanted in the test but can occur if the server is running slow enough.

Changelog-None

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 automated test, not a security issue. The test sometimes received an extra timing-related notification when the machine was slow. The change makes the test tolerate that extra notification by tracking which notification it is currently checking instead of assuming exactly one notification has arrived. There is no change to production code or to how the software protects users.

Security candidateBOLTs: update announcement_signatures and next_funding reconnect quotesby Níckolas Goline · cad409ef · Jun 19, 2026 · 3 filesMessage 50 · ThinLow 35Details
Commit message · Níckolas Goline

BOLTs: update announcement_signatures and next_funding reconnect quotes

Changelog-None

50/100 · ThinMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
Why it was queued
signing boundary
AI analysis · Low 35/100

This commit updates Core Lightning's implementation of Lightning protocol (BOLT) rules for reconnecting after a channel disruption and for sending channel announcement signatures. It adds handling for newer 'splicing' scenarios—where an existing channel's funding transaction is changed—so that nodes correctly retransmit messages, detect mismatched funding states, and send announcement signatures for splice transactions. The changes appear to be protocol-compliance fixes rather than fixes for an active security flaw, but incorrect reconnection behavior could theoretically lead to channel confusion or stale state between peers.