EL
← All projectsElectrum

Electrum

Long-running lightweight Bitcoin wallet for desktop and mobile platforms.

BitcoinSoftware walletsNormal
Repository coverage

1153 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.

92security candidates261second-pass queue1007AI analyses
127commits · 30 days
262commits · 60 days
545commits · 180 days
1002commits · 365 days
Backfill bands
Aug 5 → Feb 6470 seen11 candidatesComplete
Feb 6 → Jun 6346 seen10 candidatesComplete
Jun 6 → Jul 653 seen2 candidatesComplete
Jul 6 → Aug 554 seen3 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.

66/100 average clarity
220Strong · 80–100
549Adequate · 60–79
340Thin · 40–59
44Opaque · 0–39
2security candidates with opaque commit messaging
Read the scoring rubric →
Developer activity

Who is changing the project?

Public Git author strings; identities are not independently verified.

DeveloperCommitsCandidatesAnalyzedHigh riskMessage avg.
ThomasV137891162
SomberNight39330362063
f321x40325387070
Sander van Grieken10910101057
ghost4342517069
Felix25410072
user323062
ekzyis222053
accumulator613071
Roman Zeyde515053
Sasha Zykov515075
Aaron Fiore414068
Analysis record

Published AI watches

Last scanned 18 minutes ago

Low 29 AI analysisMessage 58 · Thin
EL ElectrumElectrum BitcoinSoftware wallets

Merge pull request #10992 from f321x/dedup_is_seed_wizard

This commit simplifies the seed-validation logic in Electrum's Qt wallet wizard by replacing a local copy of the rules with a call to an existing shared validation method. The change appears to be a code-cleanup refactor that removes dupli…

Refactor of seed-validation logic in wallet creation wizardRemoval of duplicated seed-type checks in favor of centralized validationAdded assertion constraining seed type to 'electrum'
554daca6by ghost43+2−81 file
No security note in commit
Low 29 AI analysisMessage 73 · Adequate
EL ElectrumElectrum BitcoinSoftware wallets

Merge pull request #10982 from spesmilo/wizard_2fa_seed_redirect

This commit changes Electrum's wallet creation wizard so that if a user tries to restore a normal 'standard' wallet but pastes a seed phrase that actually belongs to a two-factor authentication (2FA) wallet, the wizard automatically redire…

UX-level safety fix preventing wallet-type/seed mismatchState mutation: wizard_data['wallet_type'] changed from 'standard' to '2fa' based on seed typeNo cryptographic, network, or privilege changes
310c9dd0by Felix+102−133 files
No security note in commit
Informational 12 AI analysisMessage 68 · Adequate
EL ElectrumElectrum BitcoinSoftware wallets

qt: wizard: dedup seed validation rules

This commit is a small code cleanup in Electrum's wallet setup wizard. It removes a duplicate copy of the rules used to check whether a recovery seed is valid and instead reuses an existing method. There is no indication this fixes a secur…

89d0de06by f321x+2−81 file
No security note in commit
Informational 15 AI analysisMessage 70 · Adequate
EL ElectrumElectrum BitcoinSoftware wallets

tests: wizard: cover standard -> 2fa redirection

This commit only adds and reorganizes automated test code for Electrum's wallet creation wizard. It does not change any production wallet logic, cryptography, or network handling. The tests verify that when a user tries to restore a 'stand…

70b4d27cby f321x+68−91 file
No security note in commit
Informational 15 AI analysisMessage 78 · Adequate
EL ElectrumElectrum BitcoinSoftware wallets

Merge pull request #10988 from f321x/update_security_review_ci_model

This commit updates Electrum's internal CI (continuous integration) script that runs an automated security review using Anthropic's Claude Code tool. It changes the AI model version used for reviews from 'claude-opus-5' to 'claude-opus-5-5…

CI hardening: detects and reports AI model downgrades during automated security reviewNo changes to application code, cryptography, network protocol, or build artifactsNo privilege escalation, injection, or data-exfiltration vectors introduced by the diff
638fbba8by Felix+75−111 file
No security note in commit
Informational 12 AI analysisMessage 90 · Strong
EL ElectrumElectrum BitcoinSoftware wallets

ci: security review: warn if the model got downgraded

This commit updates Electrum's own CI security-review script. It adds detection and warnings when the automated code reviewer (Claude Code) silently falls back to a different AI model, for example after a content-policy refusal. It does no…

CI-only changeNo modification of wallet, crypto, networking, or build artifactsAdds detection for AI model fallback/downgrade in automated security review
ace2ca7aby f321x+74−101 file
No security note in commit
Low 44 AI analysisMessage 68 · Adequate
EL ElectrumElectrum BitcoinSoftware wallets

Merge pull request #10987 from spesmilo/fix_10986

This commit fixes a bug where Electrum failed to recognize certain already-signed Bitcoin transactions as complete. Specifically, for native SegWit inputs, Bitcoin Core can produce a finalized PSBT with a valid witness but an empty scriptS…

Logic error in transaction completeness detectionNative SegWit witness handling edge casePSBT interoperability issue with Bitcoin Core
bef80421by ghost43+11−02 files
No security note in commit
Low 35 AI analysisMessage 81 · Strong
EL ElectrumElectrum BitcoinSoftware wallets

transaction: treat native segwit input with non-empty witness as complete

This commit fixes a bug where Electrum incorrectly treated finalized Bitcoin transactions as incomplete. Some wallet software (like Bitcoin Core and Sparrow) creates native SegWit transactions that omit an empty placeholder field Electrum …

Logic error in transaction completeness detectionPotential denial of service / user funds stuck due to refusal to broadcast valid finalized transactionInteroperability failure with Bitcoin Core and Sparrow PSBT output
e9bb42e6by ThomasV+11−02 files
No security note in commit
Moderate 68 AI analysisMessage 73 · Adequate
EL ElectrumElectrum BitcoinSoftware wallets

Merge pull request #10981 from spesmilo/do_not_sign_txin_with_witness

This change prevents Electrum from re-signing Bitcoin transaction inputs that already contain a witness (the data proving the input was authorized). The patch fixes a bug where Electrum could incorrectly sign a non-SegWit input as if it we…

Incorrect signature algorithm selection for non-SegWit inputs when witness data is presentPSBT handling edge case where pre-existing witness data influences signing pathPotential invalid signature production during transaction signing
9da4c342by ThomasV+10−21 file
No security note in commit
Informational 15 AI analysisMessage 73 · Adequate
EL ElectrumElectrum BitcoinSoftware wallets

Merge pull request #10974 from SomberNight/202609_nostr_psbt_xpub

This commit only adds a long code comment explaining a design choice in Electrum's PSBT-over-Nostr plugin. It does not change any program behavior. The comment documents that the plugin derives each cosigner's Nostr secret key from their B…

Documentation-only changeExplicit design tradeoff disclosure: cosigners can derive each other's Nostr secret keys from shared xpubsNo functional code change
46408a78by ThomasV+13−01 file
No security note in commit
Low 42 AI analysisMessage 73 · Adequate
EL ElectrumElectrum BitcoinSoftware wallets

Merge pull request #10980 from spesmilo/add_input_from_network_do_not_ignore_exceptions

This is a one-line bugfix in Electrum's transaction handling. Previously, the code accidentally swallowed (hid) almost all exceptions when fetching extra transaction data from the network, only re-raising errors that were both network-rela…

Exception swallowing bug fixedNetwork/transaction input enrichment logic changedSilent failure mode removed
bb9d3280by ghost43+1−11 file
No security note in commit
Moderate 60 AI analysisMessage 58 · Thin
EL ElectrumElectrum BitcoinSoftware wallets

Merge pull request #10970 from f321x/fix_bolt11_bugs_2

This commit fixes several bugs in Electrum's handling of BOLT11 Lightning invoices. The most user-visible fixes are: stricter validation of invoice amounts (rejecting zero, negative, sub-millisatoshi, and leading-zero amounts), correct pad…

Stricter BOLT11 amount validation prevents acceptance of zero, negative, sub-millisatoshi, and leading-zero amountsFixed int_to_data5 padding bug that corrupted small timestamp values during invoice round-tripMalformed 'r' routing tags now raise exceptions instead of being silently skipped
4b92c0f2by ghost43+82−939 files
No security note in commit
Moderate 61 AI analysisMessage 80 · Strong
EL ElectrumElectrum BitcoinSoftware wallets

add_info_from_network: do not swallow exceptions

Electrum's transaction builder had a bug where it would ignore certain consistency errors when fetching extra transaction data from the network. A malicious or misbehaving server could supply a wrong input amount, and Electrum would silent…

Swallowed exception leading to use of attacker-controlled input valuePSBT input consistency check bypassedPotential malicious Electrum server influence on transaction signing
3f67b21bby ThomasV+1−11 file
Vendor flagged security relevance
Informational 15 AI analysisMessage 60 · Adequate
EL ElectrumElectrum BitcoinSoftware wallets

bolt11: remove tag arg from get_routing_info

This is a small code cleanup change. A function that reads routing hints from Lightning invoices no longer takes a tag argument because only one type of routing hint ('r') is now supported. All callers are updated accordingly. There is no …

e78fba28by f321x+12−127 files
No security note in commit
Moderate 62 AI analysisMessage 73 · Adequate
EL ElectrumElectrum BitcoinSoftware wallets

Merge pull request #10940 from accumulator/fix_10937

This commit tightens how Electrum parses Bitcoin payment requests (BOLT11 lightning invoices and BIP21 URIs). It turns previously uncaught internal errors into proper validation failures, rejects malformed invoice fields that used to be si…

Stricter input validation for externally supplied BOLT11 invoices and BIP21 URIsPreviously uncaught exceptions (ValueError, UnicodeDecodeError, ecc errors) are now wrapped in domain-specific decode exceptionsMalformed fallback addresses are skipped rather than aborting or crashing
a57ef6e7by Felix+707−9610 files
No security note in commit
Low 40 AI analysisMessage 36 · Opaque
EL ElectrumElectrum BitcoinSoftware wallets

bolt11: followup #10940

This commit tightens how Electrum parses BOLT11 Lightning invoices. It now rejects duplicate 'n' (node pubkey) tags instead of silently keeping only the first one, and it rejects invoice timestamps that are negative or too far in the futur…

Stricter validation of invoice timestamp boundsDuplicate 'n' tag now raises an exception instead of being silently droppedFollow-up to prior PR #10940, indicating a recent area of security-sensitive review
3026fbdbby f321x+14−232 files
No security note in commit
Low 32 AI analysisMessage 73 · Adequate
EL ElectrumElectrum BitcoinSoftware wallets

Merge pull request #10737 from sashazykov/hw-close-wallet-thread-leak

This commit fixes a shutdown bug in Electrum's hardware wallet support. Previously, if disconnecting from a hardware wallet failed, the cleanup thread could keep running, which could crash the application when closing. The fix stops the th…

Process abort/crash at shutdown due to leaked QThreadException during cleanup not handled, potentially causing abnormal terminationHardware wallet client close made best-effort with error logging
5b77ca46by Felix+9−22 files
No security note in commit
Informational 23 AI analysisMessage 58 · Thin
EL ElectrumElectrum BitcoinSoftware wallets

Merge pull request #10958 from SomberNight/202609_deps

This commit is a routine dependency update for the Electrum Bitcoin wallet. It bumps versions of Python, OpenSSL, secp256k1, and various Python packages used in builds and runtime. The commit itself does not fix any known security bug in E…

Dependency version bumps for cryptographic libraries (OpenSSL, libsecp256k1, electrum-ecc)Routine maintenance commit with no explicit security claimHash-only changes in deterministic requirements files
8bd8c3fbby ghost43+57−5612 files
No security note in commit
Informational 21 AI analysisMessage 58 · Thin
EL ElectrumElectrum BitcoinSoftware wallets

Merge pull request #10965 from SomberNight/202609_header_checkpoints

This commit only adds new Bitcoin block header checkpoints to Electrum's built-in chain data files. Checkpoints are hardcoded reference points that help the wallet verify it is following the real blockchain and not a fake one. Updating the…

Hardcoded blockchain checkpoints extended for all supported networksNo executable code or cryptographic logic changedNo bug fix, privilege change, or input validation change present
9e0b7e64by ghost43+276−04 files
No security note in commit
Informational 15 AI analysisMessage 58 · Thin
EL ElectrumElectrum BitcoinSoftware wallets

update block header checkpoints

This commit simply refreshes Electrum's built-in list of Bitcoin blockchain checkpoints. Checkpoints are known-good block hashes that help the wallet verify it is following the real chain. The update adds newer checkpoints for mainnet, sig…

e11c579bby SomberNight+276−04 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-prioritylnonion: explicitly forbid nesting trampoline-in-trampolineby SomberNight · ecd1b7ad · Nov 19, 2025 · 1 fileMessage 85 · StrongLow 41Details
Commit message · SomberNight

lnonion: explicitly forbid nesting trampoline-in-trampoline

This assert is needed because I don't want to reason about
what could happen without it.

We currently use fixed 400 bytes trampoline onion sizes, which would
implicitly prevent this. However the current bolts PR actually specifies
variable size trampoline onions.

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

This commit adds a safety check in Electrum's Lightning code to block a 'trampoline inside trampoline' payment routing scenario. The developer states they don't want to reason about what could go wrong without this guard. The current code already uses fixed-size onions that would likely prevent the nested case, but a future protocol change may allow variable-size trampoline onions, so this assert is added defensively.

Lower-prioritykeystore: fix memory leak for LRU cacheby SomberNight · c919d494 · Nov 18, 2025 · 2 filesMessage 68 · AdequateLow 25Details
Commit message · SomberNight

keystore: fix memory leak for LRU cache

Using `@functools.lru_cache` on an instance method behaves in interesting ways.
The cache kept a ref around for `self`, so in effect we were never GC-ing keystore objects. Effectively there was a single global cache for derive_pubkey, with keys `(keystore, for_change, n)`.

This PR now changes the caching to be per-keystore:
each ks has a cache, keyed `(for_change, n)`.
GC-ing individual keystores should now be possible, which should result in cleaning up just their own cache.

This also enables the corresponding previously silence flake8-bugbear check for `@functools.lru_cache`. (note that the check can selectively be disabled by adding a comment on the relevant line: `# noqa: B019`)

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

This commit fixes a memory leak in Electrum's keystore code. Previously, a caching decorator on key-derivation methods kept a permanent reference to each keystore object, preventing them from being cleaned up by normal garbage collection. The change moves the cache to live inside each keystore object, so when a keystore is no longer needed, its cache is discarded too. This is a reliability/performance bug fix rather than an active security vulnerability, though unbounded memory growth can degrade or destabilize long-running processes.

Lower-priorityci: update flake8by SomberNight · bdb7a356 · Nov 18, 2025 · 1 fileMessage 40 · ThinInformational 15Details
Commit message · SomberNight

ci: update flake8

40/100 · ThinMessage clarity
✓ Subject identifies a change✓ Uses a recognizable type or scope! No meaningful explanatory body
AI analysis · Informational 15/100

This commit simply updates the versions of two code-linting tools used in Electrum's automated testing pipeline and adjusts which style/error checks are enabled or ignored. It does not change any wallet, networking, or cryptographic code that end users rely on. There is no indication this introduces or fixes a security vulnerability.

Lower-prioritylnmsg/lnonion: follow-up prev: "hide" MappingProxyType usageby SomberNight · 1b600b49 · Nov 18, 2025 · 7 filesMessage 50 · ThinInformational 15Details
Commit message · SomberNight

lnmsg/lnonion: follow-up prev: "hide" MappingProxyType usage

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

This commit is a small code cleanup in Electrum's Lightning Network message handling. It replaces explicit uses of Python's read-only dictionary wrapper (MappingProxyType) with the more general Mapping type hint in function signatures and dataclass fields, while still using MappingProxyType internally as the default factory. The change does not alter runtime behavior or fix any security issue.

AI review queuedtest_wallet_vertical: add case spending mixed segwit/non-segwit UTXOsby SomberNight · e52ed507 · Nov 17, 2025 · 1 fileMessage 83 · StrongInformational 15Details
Commit message · SomberNight

test_wallet_vertical: add case spending mixed segwit/non-segwit UTXOs

I needed such a tx to test something in electrumx and wanted to copy-paste one from the electrum unit tests. Weird that we were lacking such a test case, I was fairly certain there was one already...

83/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 15/100

This commit only adds a new automated test to Electrum's test suite. It creates a sample Bitcoin transaction that mixes older-style (non-SegWit) and newer-style (SegWit) inputs, then verifies that the wallet can sign it correctly offline. There is no change to the actual wallet or server code, and nothing is being fixed or patched.

Lower-priorityqml: fee histogram colours: extend colour palette to cover sub-1 s/bby SomberNight · e6071bbf · Nov 15, 2025 · 1 fileMessage 81 · StrongInformational 15Details
Commit message · SomberNight

qml: fee histogram colours: extend colour palette to cover sub-1 s/b

Currently on master the qml fee histogram colours are calculated for feerates clamped to [1, 600] sat/vbyte. I want to extend it to now cover [0, 600] sat/vbyte.
I would like to extend it in a way that does not change the existing colour meanings/mapping, so not just e.g. doing an offset.

follow-up https://github.com/spesmilo/electrum/commit/bd6dfc53a234b01376d0de4221756125f256ef1a

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 analysis · Informational 15/100

This commit is a purely cosmetic change to the mobile/QML version of Electrum. It adjusts the color-coding of a mempool fee histogram so that very low fee rates (below 1 satoshi per virtual byte) are shown as darker shades rather than all looking the same. There is no security relevance.

Lower-priorityqeinvoice: query self.status once in update_userinfo() and determine_can_pay()by Sander van Grieken · 81c83f83 · Nov 13, 2025 · 1 fileMessage 50 · ThinInformational 17Details
Commit message · Sander van Grieken

qeinvoice: query self.status once in update_userinfo() and determine_can_pay()

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

This is a small code cleanup in Electrum's mobile/QML invoice screen. It stores the invoice status in a local variable so the code doesn't repeatedly ask for the same value. There is no visible security fix; it appears to be a minor maintainability or race-condition-hardening change.

Lower-priorityscripts: add READMEby SomberNight · 5a14a585 · Nov 11, 2025 · 1 fileMessage 51 · ThinInformational 15Details
Commit message · SomberNight

scripts: add README

closes https://github.com/spesmilo/electrum/issues/10291

51/100 · ThinMessage clarity
✓ Subject identifies a change✓ Provides an explanatory body✓ Links an issue, advisory, or supporting reference
Why it was queued
documentation-only discount
AI analysis · Informational 15/100

This commit simply adds a README file explaining what the scripts folder contains. It is documentation only and does not change any code, security behavior, or functionality.

Lower-prioritylnrouter: LiquidityHint: fix logic bug in calculationby SomberNight · 6332a3a6 · Nov 11, 2025 · 1 fileMessage 65 · AdequateLow 48Details
Commit message · SomberNight

lnrouter: LiquidityHint: fix logic bug in calculation

Reported privately by Zuzana Kotásková <36777@mail.vsfs.cz>

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

This is a one-line bug fix in Electrum's Lightning Network routing code. A method that tracks how many pending payments (HTLCs) are flowing in the backward direction was accidentally using the forward-direction counter. This could cause the backward counter to become inaccurate, potentially leading to poor routing decisions, stuck payments, or denial-of-service-like effects for Lightning payments. It is a logic bug rather than a cryptographic flaw, and no direct theft of funds is evident from the diff alone.

Lower-prioritylnonion: immutable OnionPacket and OnionHopsDataSingleby f321x · 936e7fd1 · Nov 11, 2025 · 8 filesMessage 73 · AdequateInformational 12Details
Commit message · f321x

lnonion: immutable OnionPacket and OnionHopsDataSingle

Make OnionHopsDataSingle and OnionPacket immutable for safer caching and
handling.

# Conflicts:
# electrum/onion_message.py

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

This commit is a defensive code-hardening change, not a fix for an active security flaw. It makes two internal data structures used in Lightning Network onion routing immutable (unchangeable after creation) so they can be safely cached and shared without accidental or malicious modification. There is no direct evidence in the commit that this change fixes a known exploitable vulnerability.

Lower-priorityonion_message: fix handling of ONION_MESSAGE_LARGE_SIZE payload sizes for onion messages, process dummy hops regardless of EXPERIMENTAL_LN_FORWARD_PAYMENTS config option.by Sander van Grieken · 1ad66074 · Nov 10, 2025 · 3 filesMessage 73 · AdequateLow 46Details
Commit message · Sander van Grieken

onion_message: fix handling of ONION_MESSAGE_LARGE_SIZE payload sizes for onion messages,
process dummy hops regardless of EXPERIMENTAL_LN_FORWARD_PAYMENTS config option.

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

This commit fixes two bugs in Electrum's experimental Lightning 'onion message' forwarding feature. First, it correctly handles larger onion message packet sizes, which previously could have caused processing errors. Second, it ensures 'dummy hops' (decoy routing steps used for privacy) are processed even when the separate 'forward payments' experimental option is turned off. Before the fix, turning off payment forwarding could accidentally break onion message routing through dummy hops.

Lower-priorityonion_message: ensure blinded path is listby Sander van Grieken · 3cb639f9 · Nov 10, 2025 · 1 fileMessage 45 · ThinLow 47Details
Commit message · Sander van Grieken

onion_message: ensure blinded path is list

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

This commit fixes a small but real bug in Electrum's handling of private Lightning-style 'onion' messages. When a message uses a hidden route with only one intermediate hop, the software could receive that hop as a single object instead of a list, causing later code to crash or behave unexpectedly. The patch forces it to always be treated as a list. The most likely effect without the patch is a local error or failed message delivery, but in the worst case it could be abused to make the wallet mishandle a message.

AI review queuedfollowup prevby Sander van Grieken · 9481f4f6 · Nov 10, 2025 · 1 fileMessage 18 · OpaqueInformational 12Details
Commit message · Sander van Grieken

followup prev

18/100 · OpaqueMessage clarity
✓ Subject identifies a change! Too few words to establish purpose! No meaningful explanatory body
Why it was queued
second-pass: opaque commit message
AI analysis · Informational 12/100

This is a one-line change in a test file, renaming a dictionary key from 'blinding' to 'path_key' to match what the production code now expects. It does not change any production code and has no direct security impact on users.

Lower-priorityupdate field naming for BOLT04 structuresby Sander van Grieken · 130af597 · Nov 10, 2025 · 5 filesMessage 68 · AdequateInformational 15Details
Commit message · Sander van Grieken

update field naming for BOLT04 structures

see also: https://github.com/lightning/bolts/commit/3fffab3b889c9a6818130b56fb6dcfdf6906f90e

68/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body✓ Links an issue, advisory, or supporting reference
AI analysis · Informational 15/100

This commit is a straightforward renaming of internal variable and wire-format field names to match a recent update in the Lightning BOLT04 specification. Terms like 'blinding' are replaced with 'path_key', and 'next_blinding_override' becomes 'next_path_key_override'. No logic, cryptography, or behavior changes are visible in the diff.

Lower-prioritylnworker: follow-up prev: split pay_to_nodeby SomberNight · e53666ac · Nov 7, 2025 · 3 filesMessage 45 · ThinInformational 13Details
Commit message · SomberNight

lnworker: follow-up prev: split pay_to_node

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

This commit is a straightforward internal code cleanup in Electrum's Lightning payment logic. It splits a large method into a smaller helper method and changes how a successful payment exits the loop, without altering what the program actually does. There is no indication this fixes a security bug or introduces a vulnerability.

Lower-priorityStoredDict: use pointers instead of pathby ThomasV · 077bcf51 · Nov 7, 2025 · 6 filesMessage 86 · StrongLow 42Details
Commit message · ThomasV

StoredDict: use pointers instead of path

Instead of storing its own path, each StoredDict element stores
its own key and a pointer to its parent. If a dict is removed
from the db, its parent pointer is set to None. This makes
self.path return None for all branches that have been pruned.

This passes tests/tests_json_db.py and fixes issue #10000

86/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification✓ Links an issue, advisory, or supporting reference
AI analysis · Low 42/100

This commit rewrites how Electrum's JSON database tracks nested data. Instead of each object remembering its full 'address' (path) inside the database, it now remembers only its own key and a pointer to its parent. When a branch of data is removed, the parent pointer is cleared so the object knows it is no longer part of the database. The change is described as fixing issue #10000 and passing the json_db tests. It is a defensive refactor that reduces the risk of stale objects writing updates for paths that no longer exist.

Lower-prioritytests/test_jsondb.py: add tests that replace a StoredDict element after its parent has been removed.by ThomasV · 53c18179 · Nov 7, 2025 · 1 fileMessage 83 · StrongInformational 12Details
Commit message · ThomasV

tests/test_jsondb.py: add tests that replace a StoredDict element
after its parent has been removed.

Related: #10000

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
AI analysis · Informational 12/100

This commit only adds new automated tests to Electrum's test suite. It does not change any production code, so it cannot by itself introduce a security vulnerability or fix one. The tests appear to verify that a specific data-handling edge case behaves correctly: when a parent object is removed from the wallet database, modifying a child object that was previously under it should not generate extra database change records. The commit message links this to issue #10000, but no details of that issue are provided.

AI review queuedjson_db: move json to python conversion logic from StoredDict to json_db.by ThomasV · 7aeef920 · Nov 7, 2025 · 2 filesMessage 73 · AdequateLow 25Details
Commit message · ThomasV

json_db: move json to python conversion logic from
StoredDict to json_db.

convert_key, convert_value are used to convert json objects
to python classes, do not call them in StoredDict.__setitem__

This makes StoredDict agnostic about the type of database we use.

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: security-sensitive path
AI analysis · Low 25/100

This commit is a code cleanup that moves data-conversion logic out of a low-level dictionary class and into a dedicated database module. It also changes one place where metadata is stored so it is first converted to plain JSON. The changes appear to be architectural refactoring rather than a fix for an active security bug, but the patch is partial and the commit message does not explain the full motivation.

Lower-priorityinterface: get_history: enforce order of mempool txsby SomberNight · 2cac527c · Nov 5, 2025 · 1 fileMessage 65 · AdequateLow 47Details
Commit message · SomberNight

interface: get_history: enforce order of mempool txs

Intentionally surface servers that don't correctly implement this.

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

This commit adds validation to Electrum's server communication layer. It now rejects invalid block heights (below -1) and, for newer server protocol versions, requires that unconfirmed ('mempool') transactions be returned in a specific predictable order. The goal is to expose servers that don't follow the protocol correctly, which helps Electrum detect misbehaving or malicious servers rather than silently accepting inconsistent data.

Lower-prioritycommands: print warnings to stderr so output is still valid jsonby Sander van Grieken · 7bfe2dd5 · Nov 5, 2025 · 1 fileMessage 50 · ThinInformational 18Details
Commit message · Sander van Grieken

commands: print warnings to stderr so output is still valid json

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

This commit changes three internal warning messages so they are printed to the error stream instead of the normal output stream. The goal is to keep Electrum's command-line JSON output clean and valid when these warnings appear. It is a minor reliability/usability fix, not a security patch.

Lower-prioritydaemon: pass cmdname to register_methodby ThomasV · 9c4c7f01 · Nov 4, 2025 · 2 filesMessage 60 · AdequateInformational 15Details
Commit message · ThomasV

daemon: pass cmdname to register_method

This allows plugins to use already existing names without Electrum complaining about collisions

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

This is a small internal code cleanup. A function that registers command names is changed so callers explicitly provide the name, rather than the function deriving it from the function's own name. The commit message says this lets plugins reuse existing command names without triggering a false 'name collision' error. There is no security fix here—just a refactor to avoid an overly strict uniqueness check.

Lower-priorityqt: send tab: show "pay to many" labelby f321x · 8fabad4b · Nov 4, 2025 · 1 fileMessage 68 · AdequateInformational 15Details
Commit message · f321x

qt: send tab: show "pay to many" label

This changes the "Pay to" label to "Pay to many" if the user enables the
"Pay to many" option and aligns it at the top of the payto_e instead of
moving ot to the center when the payto_e expands.

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

This commit is a minor user-interface tweak for the Electrum desktop wallet's 'Send' tab. It changes the label text from 'Pay to' to 'Pay to many' when the user enables the bulk-payment option, and adjusts the label's vertical alignment. There is no security relevance.

Lower-priorityqt: add text to toolbar buttonby f321x · c2068a4e · Nov 4, 2025 · 1 fileMessage 68 · AdequateInformational 15Details
Commit message · f321x

qt: add text to toolbar button

The toolbar button is very small and some users probably don't even
notice it. As we have lots of space in the toolbar anyways i think it
makes sense to add some text to it to make it more visible and easier to
click. Maybe this is also useful for screen readers.

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

This commit is a minor user-interface improvement: it adds the visible text label 'Tools' next to a small toolbar button in Electrum's Qt desktop wallet. There is no security change, no bug fix, and no behavior change beyond making the button easier to see and click.

Lower-priorityinterface: implement support for protocol 1.6by SomberNight · e57087da · Nov 3, 2025 · 3 filesMessage 68 · AdequateInformational 19Details
Commit message · SomberNight

interface: implement support for protocol 1.6

ref https://github.com/spesmilo/electrum-protocol/pull/6

68/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body✓ Links an issue, advisory, or supporting reference
AI analysis · Informational 19/100

This commit adds support for a newer Electrum server protocol version (1.6) in the Electrum wallet. It lets the wallet understand two new server response formats for block headers and relay fees, and adds a new way to broadcast groups of transactions. There is no direct evidence in the commit that this fixes an active security vulnerability; it appears to be a feature/compatability update. However, adding protocol support always carries a small risk of parsing mistakes that could be exploited by a malicious server.

Lower-priorityplugin: watchtower: call start_watching() threadsafeby f321x · f402cb3c · Nov 3, 2025 · 1 fileMessage 85 · StrongInformational 24Details
Commit message · f321x

plugin: watchtower: call start_watching() threadsafe

Launch `WatchtowerPlugin.watchtower.start_watching()` through
asyncio.run_coroutine_threadsafe instead of ensure_future to prevent the
following exception from happening when running python with
`PYTHONASYNCIODEBUG=1`.

```

20251103T165007.087746Z | ERROR | plugin.Plugins | cannot initialize plugin watchtower: Error loading watchtower plugin: RuntimeError('Non-thread-safe operation invoked on an event loop other than the current one')
Traceback (most recent call last):
File "/home/user/code/electrum-fork/electrum/plugin.py", line 629, in load_plugin_by_name
plugin = module.Plugin(self, self.config, name)
File "/home/user/code/electrum-fork/electrum/plugins/watchtower/watchtower.py", line 59, in __init__
asyncio.ensure_future(self.watchtower.start_watching())
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.14/asyncio/tasks.py", line 732, in ensure_future
return loop.create_task(coro_or_future)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.14/asyncio/base_events.py", line 468, in create_task
return self._task_factory(self, coro, **kwargs)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/code/electrum-fork/electrum/util.py", line 1773, in factory
task = asyncio.Task(coro, loop=loop_, **kwargs)
File "/usr/lib64/python3.14/asyncio/base_events.py", line 829, in call_soon
self._check_thread()
~~~~~~~~~~~~~~~~~~^^
File "/usr/lib64/python3.14/asyncio/base_events.py", line 866, in _check_thread
raise RuntimeError(
"Non-thread-safe operation invoked on an event loop other "
"than the current one")
RuntimeError: Non-thread-safe operation invoked on an event loop other than the current one

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/home/user/code/electrum-fork/electrum/plugin.py", line 184, in load_plugins
self.load_plugin_by_name(name)
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "/home/user/code/electrum-fork/electrum/plugin.py", line 631, in load_plugin_by_name
raise Exception(f"Error loading {name} plugin: {repr(e)}") from e
Exception: Error loading watchtower plugin: RuntimeError('Non-thread-safe operation invoked on an event loop other than the current one')

```

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 24/100

This is a small bug-fix patch for Electrum's watchtower plugin. It changes how a background monitoring task is started so it is scheduled on the correct event loop thread, preventing a crash when running Python with extra asyncio debugging enabled. The crash is a reliability issue, not a security vulnerability that can be exploited by an attacker.