EL
← All projectsElectrum

Electrum

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

BitcoinSoftware walletsNormal
Repository coverage

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

67security candidates208second-pass queue929AI analyses
61commits · 30 days
115commits · 60 days
465commits · 180 days
931commits · 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.

65/100 average clarity
194Strong · 80–100
415Adequate · 60–79
287Thin · 40–59
39Opaque · 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.
ThomasV73272156
SomberNight35226350063
f321x37121371070
Sander van Grieken991098057
user323062
Roman Zeyde515053
Sasha Zykov414076
Aaron Fiore414068
ghost43312068
Róbert Nagy111098
Ferdinando Ametrano111096
Felix302074
Analysis record

Published AI watches

Last scanned 4 minutes ago

Informational 15 AI analysisMessage 63 · Adequate
EL ElectrumElectrum BitcoinSoftware wallets

Merge pull request #10816 from accumulator/qml_auth_log_improvement

This commit is a minor logging cleanup in the mobile/QML authentication helper. It changes the wording and placement of debug/error log messages so they reveal the function name only after safely retrieving it, and avoids logging a raw tup…

8dddae68by ghost43+4−41 file
No security note in commit
Moderate 51 AI analysisMessage 73 · Adequate
EL ElectrumElectrum BitcoinSoftware wallets

Merge pull request #10798 from SomberNight/202608_base43

This commit fixes a performance weakness in Electrum's handling of large Bitcoin transactions encoded in 'base43'. The base43 encoding and decoding functions run in quadratic time, meaning the work grows much faster than the input size. An…

Quadratic-time base43 encode/decode can be triggered on attacker-controlled inputDenial-of-service via CPU exhaustion / UI freeze on large transaction stringsInput-length cap added as a defensive guard, not a full algorithmic fix
0e9f1a0dby Felix+25−92 files
No security note in commit
Low 41 AI analysisMessage 73 · Adequate
EL ElectrumElectrum BitcoinSoftware wallets

Merge pull request #10799 from SomberNight/202608_android_secure_window

This update tightens a privacy feature on Electrum's Android app that prevents the screen from being captured while sensitive Bitcoin private keys or seed phrases are visible. Before, the protection could be accidentally turned off when mu…

Adds visibility-gated secureWindow bindings to protect WIF keys and seed phrasesPrevents secureWindow from being cleared when multiple sensitive dialogs are stackedTargets Android screenshot/recents-thumbnail protection surface
4622390cby accumulator+17−05 files
Vendor flagged security relevance
Informational 15 AI analysisMessage 98 · Strong
EL ElectrumElectrum BitcoinSoftware wallets

docs: add Coldcard Mk3 seed-entropy security notice to plugin README (#10805)

This commit only adds a documentation warning to Electrum's Coldcard plugin README. It does not change any executable code, cryptographic logic, or wallet behavior. The warning tells users that Coldcard/Coinkite disclosed a firmware bug in…

Documentation-only changeReferences an external hardware-wallet firmware advisoryNo code, cryptography, or plugin behavior modified
2c2a40b6by Róbert Nagy+4−01 file
Vendor flagged security relevance
Low 48 AI analysisMessage 81 · Strong
EL ElectrumElectrum BitcoinSoftware wallets

qml/android: protect WIF keys from screenshots in more places

This commit tightens screen-shot protection for private Bitcoin wallet keys (WIF keys and seed phrases) in Electrum's Android/QML user interface. It also fixes a bug where one screen (AddressDetails) was leaving the 'secure window' flag pe…

Adds FLAG_SECURE-style screenshot protection to additional private-key dialogsFixes a bug where secureWindow was never unset in AddressDetailsUses QML Binding 'when' with restoreMode semantics to handle stacked secure dialogs safely
739cba5dby SomberNight+17−05 files
Vendor flagged security relevance
Moderate 60 AI analysisMessage 92 · Strong
EL ElectrumElectrum BitcoinSoftware wallets

lnpeer: chan_reest: ctn overflow: force-close instead of disconnect

This commit fixes a bug in Electrum's Lightning Network code. Previously, if a malicious or malfunctioning peer sent a channel re-establishment message with extremely large commitment numbers (over 2^48), the local program would hit an int…

Addition of explicit overflow check on untrusted peer-supplied commitment countersReplacement of assertion-failure/disconnect behavior with force-close on misbehaviorNew test cases for ctn overflow in both next_local_ctn and oldest_unrevoked_remote_ctn
b3e441f8by SomberNight+22−32 files
No security note in commit
Informational 18 AI analysisMessage 73 · Adequate
EL ElectrumElectrum BitcoinSoftware wallets

Merge pull request #10791 from SomberNight/202608_wallet_sign_message2

This change moves the trimming of leading/trailing spaces in message-signing fields from the user-interface code into the shared wallet code. For the graphical interfaces (Qt and QML), spaces are still stripped automatically for convenienc…

Behavior change in message signing/verification input handlingCLI now preserves whitespace, which could affect signature validity for messages that intentionally contain leading or trailing whitespaceNo memory-safety, cryptographic, or authentication flaw visible in the diff
b1aa52d7by ghost43+27−185 files
No security note in commit
Informational 19 AI analysisMessage 96 · Strong
EL ElectrumElectrum BitcoinSoftware wallets

wallet: sign_message: strip whitespaces in GUIs, do not strip in CLI

This commit tidies up how Electrum handles extra spaces around Bitcoin addresses, messages, and signatures when signing or verifying messages. Previously, different parts of the program (desktop GUI, mobile-style GUI, command line) behaved…

Behavior normalization across GUI and CLI interfacesNo cryptographic primitive changedNo privilege boundary crossed
4c3064f5by SomberNight+27−185 files
No security note in commit
Informational 22 AI analysisMessage 50 · Thin
EL ElectrumElectrum BitcoinSoftware wallets

wallet: decrypt_message: nicer error msg if pubkey is unrelated

This commit improves the error handling in Electrum's message decryption feature. Previously, if a user tried to decrypt a message using a public key that did not belong to their wallet, the code could proceed and likely fail with a confus…

Input validation added for public key before cryptographic operationUser-facing exception replaces potential internal failureDefensive check prevents use of unrelated key material
92e938f4by SomberNight+5−01 file
No security note in commit
Informational 16 AI analysisMessage 83 · Strong
EL ElectrumElectrum BitcoinSoftware wallets

qt: main_window: use TaskThread for each of sign/verify/encrypt/decrypt

This commit moves four message-crypto operations (sign, verify, encrypt, decrypt) in Electrum's Qt wallet window onto a background worker thread so they all behave the same way. It also lets the background thread surface user-facing errors…

Moved blocking wallet crypto calls off the GUI thread, reducing UI freeze / DoS surfaceRemoved local exception swallowing for encrypt_message; errors now propagate through the window's on_error handlerAdded defensive RuntimeError guard for deleted Qt widget in async callback
4a9a199fby SomberNight+28−151 file
No security note in commit
Low 29 AI analysisMessage 35 · Opaque
EL ElectrumElectrum BitcoinSoftware wallets

wallet: sign_message: force kwargs

This commit changes how Electrum's message-signing function is called so that callers must explicitly name each argument (address, message, password) rather than passing them by position. The main practical effect is to prevent accidental …

API hardening: keyword-only arguments prevent positional argument swapNo explicit security bug fix or vulnerability disclosure in commit message or diffNo changes to cryptographic logic, password handling, or message parsing
e1eb2a34by SomberNight+9−44 files
No security note in commit
Low 39 AI analysisMessage 45 · Thin
EL ElectrumElectrum BitcoinSoftware wallets

wallet: sign_message: consolidate checks from UIs

This commit moves input-validation checks for signing, verifying, encrypting, and decrypting messages out of the user-interface code and into the shared wallet logic. It also adds type checks so that non-text inputs are rejected earlier. T…

Input validation moved from UI controllers into core wallet logicType checks added at the CLI command entry points for message-crypto operationsUserFacingException used consistently for address, wallet, script-type, and key-format errors
48893760by SomberNight+89−396 files
No security note in commit
Low 27 AI analysisMessage 50 · Thin
EL ElectrumElectrum BitcoinSoftware wallets

wallet: decrypt_message: consolidate checks from UIs

This commit moves input-validation and wallet-type checks for message decryption out of the user-interface and command-line layers and into the core wallet code. It also removes a faster, separate decryption path for imported wallets so al…

Input validation consolidated into a single core methodWatching-only wallet check moved from UI to wallet layerMultisig wallet unsupported-operation check moved from UI to wallet layer
9a0cc0d6by SomberNight+25−173 files
No security note in commit
Informational 15 AI analysisMessage 50 · Thin
EL ElectrumElectrum BitcoinSoftware wallets

wallet: refactor: add encrypt_message method, consolidated from UIs

This commit is a simple code cleanup: it moves the message-encryption logic from two separate places (the command-line tool and the Qt graphical interface) into a single shared method on the wallet class. The actual encryption behavior is …

No change to cryptographic primitives or parametersNo change to trust boundaries or input sourcesPure refactor consolidating duplicate code
5e9c8df0by SomberNight+26−183 files
No security note in commit
Informational 13 AI analysisMessage 50 · Thin
EL ElectrumElectrum BitcoinSoftware wallets

wallet: refactor: add verify_message method, consolidated from UIs

This commit is a routine code cleanup: it moves message-signature verification out of three user-interface files into a single shared helper method in the wallet module. There is no security-relevant behavior change visible in the diff. Th…

No security-relevant functional changeRefactoring only: code deduplicationException handling broadened safely (ValueError covers binascii.Error and unicode errors)
ff5bbb04by SomberNight+26−304 files
No security note in commit
Informational 15 AI analysisMessage 60 · Adequate
EL ElectrumElectrum BitcoinSoftware wallets

qt: main_window: add type hints to sign/verify, encrypt/decrypt

This commit only adds Python type hints and renames some function parameters for clarity in the Electrum desktop wallet's sign/verify and encrypt/decrypt message dialogs. It does not change what the code actually does, how it processes use…

0906fc20by SomberNight+45−181 file
No security note in commit
Informational 18 AI analysisMessage 50 · Thin
EL ElectrumElectrum BitcoinSoftware wallets

coldcard: fix get_soft_device_id() discarding its return value

This is a tiny one-line bug fix in Electrum's Coldcard hardware wallet plugin. A helper method that is supposed to fetch a software-based device identifier was calling the parent implementation but accidentally throwing away the result ins…

Missing return value causes method to always return NoneAffects hardware wallet device identification onlyNo change to signing, encryption, or authentication code
d7500508by Felipe Micaroni Lalli+1−11 file
No security note in commit
Informational 19 AI analysisMessage 96 · Strong
EL ElectrumElectrum BitcoinSoftware wallets

qml: strip whitespace from message before signing, as in qt gui

This commit fixes a minor consistency bug in Electrum's newer QML (mobile-style) user interface. When signing a message, the app now removes accidental spaces at the start or end of the message and address, just like the older desktop Qt i…

Behavioral inconsistency between GUI implementations could cause user confusion or failed verificationNo cryptographic weakness introduced; change is input normalizationNo memory-unsafe code, no privilege changes, no network changes
72507328by Ferdinando Ametrano+3−01 file
No security note in commit
Low 48 AI analysisMessage 85 · Strong
EL ElectrumElectrum BitcoinSoftware wallets

config: don't save "hidden wallet" paths in CURRENT_WALLET cv

This commit fixes a privacy leak in the Electrum wallet app. Previously, if a user opened a 'hidden wallet' (one whose filename starts with a dot, like a secret file), Electrum would remember it as the last-used wallet and could reopen it …

Privacy leak: hidden wallet filename persisted in config and could be auto-reopenedInformation disclosure: hidden wallet path exposed in recently-opened listBehavioral fix: setter silently drops sensitive value rather than persisting it
c43cf8e4by SomberNight+14−23 files
No security note in commit
Low 28 AI analysisMessage 73 · Adequate
EL ElectrumElectrum BitcoinSoftware wallets

lnrouter: liquidity hints: add extra penalty if amt near cannot_send

This commit tweaks how Electrum's Lightning Network payment routing avoids channels where a previous payment attempt already failed. Previously, the router would treat a channel almost at its known failure limit almost the same as a channe…

Routing/liquidity-hint logic changed to penalize amounts close to a known cannot_send thresholdAdds defensive assertions on num_inflight_htlcs type and rangeSelf-described by author as a 'completely naive bandaid' / heuristic improvement
ee75ea31by SomberNight+12−21 file
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-priorityonion_message: num_hops in blinded path is byte, not int.by Sander van Grieken · d92b0c74 · Nov 21, 2025 · 1 fileMessage 50 · ThinInformational 22Details
Commit message · Sander van Grieken

onion_message: num_hops in blinded path is byte, not int.

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

This commit fixes a data-format bug in Electrum's Lightning onion-message handling. The number of hops in a 'blinded path' was being stored as a plain integer, but the protocol expects a single byte. The patch changes it to a bytes object. A second change only improves an error message when no reply path can be created. The fix is small and appears to prevent interoperability or parsing problems rather than a direct theft-of-funds vulnerability.

Lower-prioritytrampoline: when sending payment, log "is_legacy" (e2e vs pay2legacy)by SomberNight · c288656d · Nov 21, 2025 · 2 filesMessage 50 · ThinInformational 15Details
Commit message · SomberNight

trampoline: when sending payment, log "is_legacy" (e2e vs pay2legacy)

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

This commit only adds extra information to log messages when Electrum sends a Lightning payment. It does not change any payment logic, permissions, or security behavior. One log line now includes the payment hash, and another debug log records whether the payment uses a legacy trampoline relay. There is no security issue visible in the diff.

Lower-prioritycli: payto: fix feerate parsingby f321x · 114c48e4 · Nov 19, 2025 · 2 filesMessage 76 · AdequateLow 45Details
Commit message · f321x

cli: payto: fix feerate parsing

Feerate is passed to `Commands._get_fee_policy()` as str which then
tried to multiply the string by 1000. Now it first casts the string to
`Decimal` and multiplies the decimal.

Fixes https://github.com/spesmilo/electrum/issues/10315

76/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Links an issue, advisory, or supporting reference
AI analysis · Low 45/100

This commit fixes a bug in Electrum's command-line 'payto' command where a transaction fee rate typed in as text (a string) was being incorrectly handled. The old code tried to multiply the text string by 1000, which in Python repeats the string instead of doing math, producing a wildly wrong fee policy. The fix converts the string to a number (Decimal) first, then multiplies. This could cause users who set a custom fee rate via the CLI to get an absurdly large or malformed fee value, potentially overpaying fees or having transaction creation fail.

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