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.
Message quality measures whether a commit identifies its scope, purpose, rationale, testing, and supporting references. It does not change the security-severity score.
This is a small bug-fix patch for Electrum's QML (mobile-style) graphical interface. The crash reporter was not correctly handling exceptions that come from Python's threading system, which could cause the crash reporter itself to misbehav…
Fixes incorrect exception argument handling in crash reporterPrevents potential secondary failure in error-reporting pathNo security boundary crossed; no input from untrusted source is processed
This commit fixes a bug in Electrum's mobile-style QML crash reporter. When an uncaught exception occurred inside a background thread, the crash reporter itself would break because it expected three pieces of information but received one b…
Crash reporter failure could hide or obscure real runtime errors in background threadsNo input validation, privilege boundary, or cryptographic issue presentFix improves diagnostic fidelity but does not close an attack vector
This commit changes how Electrum creates unsigned Bitcoin transactions when an existing 'base transaction' is provided. Previously, the wallet wrongly demanded spendable coins even when the caller supplied a base transaction that already c…
Relaxation of input-source preconditionAddition of consensus-level invariant assertion (at least one input)Addition of empty-input guard before PartialTransaction construction
This commit fixes a crash in Electrum's transaction builder. If a user had only one on-chain coin (UTXO) that was just enough to meet a reserve requirement, clicking 'Max' in the send tab would hit an internal assertion and fail instead of…
Denial-of-service-like crash path triggered by user action in normal wallet stateAssertion failure reachable through GUI send flowFix converts assertion crash into handled NotEnoughFunds exception
This is a routine maintenance commit that updates many of Electrum's software building blocks (dependencies) and raises the minimum required Python version from 3.10 to 3.11. It also refreshes the Linux distribution snapshots used to build…
Dependency version bumps for security-sensitive libraries (cryptography, cffi, libffi, sqlite)Removal of an embedded PGP public key and switch to hash verification for Windows Python installer downloadsBase image refresh from EOL/near-EOL Debian bullseye to bookworm for AppImage builds
This commit is a straightforward internal cleanup: it moves repeated checks like 'are we running on Windows?', 'are we on Android?', and 'are we inside an AppImage?' into a single new helper module called platform.py. The actual behavior o…
This commit is a straightforward internal cleanup: it moves repeated operating-system checks (Windows, macOS, Linux, Android, AppImage) into a single new helper module called platform.py and updates the rest of the code to use those helper…
This commit only changes the software version number from 4.8.3 to 4.8.4 in a single file. It contains no security-related changes, no bug fixes, and no functional code modifications.
This commit relaxes a wallet check when creating a new Bitcoin transaction. Previously, Electrum refused to create a transaction if the user had no spendable coins and no explicit inputs. The change allows creation to continue if a 'base t…
Relaxation of input/coin availability guardAddition of post-construction input count assertionPotential workflow: Replace-By-Fee (RBF) or transaction bumping using base_tx inputs
This commit is a code cleanup in Electrum's mobile-style QML wallet wizard. It replaces an older thread-based background scan for BIP39 seed accounts with a newer asyncio-based task approach, and makes the recovery dialog destroy itself wh…
Refactor of async task lifecycle and cancellation handlingDialog lifecycle cleanup with onClosed: destroy()Use of ignore_if_destroyed to avoid callbacks on destroyed QML objects
This commit is a code cleanup in Electrum's mobile-style QML wallet wizard. It replaces an extra background thread with a simpler asyncio-based callback for scanning BIP39 seed accounts. There is no indication this fixes a security bug; it…
This commit fixes a bug in Electrum's Qt 'Send' tab where selecting a contact from the autocomplete dropdown could briefly leave the wrong recipient active. Previously, the payment field was set to a display name like 'Alice <alice@example…
UI state desynchronization between displayed recipient and active PaymentIdentifierStale PaymentIdentifier usable for ~1 second after recipient text changesPay/Save/Max buttons enabled while recipient is being edited
This commit fixes a UI bug in Electrum's QML (mobile-style) interface where transaction and address labels could become stale or fail to update after editing. It replaces a fragile manual callback system with a proper event listener so the…
No security-relevant signals in diff: no privilege escalation, injection, cryptographic, or authentication changes.Fixes a UI consistency bug (stale labels) that could mislead users but does not enable direct exploitation.Adds event-listener lifecycle management (register/unregister on destroy) to prevent dangling callbacks and potential use-after-free patterns.
This commit fixes a bug in Electrum's mobile-style QML password dialog. If a user tapped the OK/confirm button while the dialog was already closing, the app could emit an extra 'password entered' signal. That extra signal triggered a crash…
Crash in authentication-related code path (AuthMixin)Duplicate signal emission during UI state transitionUser-interaction race condition (tap while dialog closing)
This commit is a performance fix for a wallet function that traces where a transaction's funds came from. It replaces a slow, repeatedly-recursive approach with a more efficient loop and removes an old cache. The change also fixes how the …
Performance fix for wallet history traversalAddress-reuse uncle detection logic changedCache removed in favor of iterative computation
This commit fixes a bug where Electrum wallets created with unusual, hand-crafted 'old-style' seed phrases could not be opened or used. These seeds decode to an odd number of hex characters, which the program previously rejected. The chang…
Input validation relaxed for legacy data (odd-length hex strings)New user-facing error path prevents seed display when mnemonic encoding is impossibleGUI exception handling narrowed: UserFacingException shown as str, other Exception as repr
This commit is a small follow-up cleanup. It translates several user-facing error messages into different languages and makes the Qt GUI handle one specific file-read/write error (StorageReadWriteError) more gracefully, showing a warning d…
Exception-handling path changed in GUIUser-facing error messages internationalizedNo changes to encryption, wallet parsing semantics, or permissions
This commit improves Electrum's error handling when a user tries to open a file that is not a valid Electrum wallet. Previously, if the file contained bytes that were not valid UTF-8 text, the program would crash with a confusing technical…
Error-handling hardeningUser-facing exception message improvedNo cryptographic or parsing logic changed
This is a small user-interface fix in Electrum's Qt desktop app. Previously, if the wallet file was on a read-only folder or an unplugged drive, the app treated the resulting StorageReadWriteError as an unexpected crash and sent a crash re…
No memory safety, cryptographic, or authorization changesException handling change only; no new attack surface introducedCrash-reporting no longer triggered for expected I/O failure scenarios
This commit is a small follow-up cleanup in Electrum's keystore code. It renames an internal helper function, makes the code accept certain unusual 'old' seed phrases that some users created by hand, improves an error message shown to user…
Refactoring of seed validation helperUser-facing error handling improvement in seed displayGrandfathering of non-standard old seed phrases
`LNPeerManager._get_next_peers_to_try` would skip all recent peers if no proxy is enabled due to incorrect operator precedence. Fixes regression introduced by 79ef429b3.
80/100 · StrongMessage clarity
✓ Descriptive subject✓ Provides detailed explanatory context✓ Explains rationale or failure mode✓ Mentions testing or verification
AI analysis · Low 25/100
This commit fixes a programming bug where the order of logical checks was wrong, causing Electrum to ignore all recently-used Lightning peers when no Tor proxy was configured. The fix makes the code correctly check whether the active proxy is a Tor proxy before deciding whether to skip onion-address peers. This is a connectivity bug rather than a direct theft or remote-code vulnerability, but it could make users' Lightning connections behave unexpectedly or prefer less optimal peers.
✓ Descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
Why it was queued
documentation-only discount
AI analysis · Informational 15/100
This commit only updates a documentation file (Readme.md) for Android build instructions. It adds advice about clearing build caches when developers don't see their changes take effect or encounter confusing build failures. There is no code change and no security relevance.
Lower-prioritylnonion: factor out next_blinding_from_shared_secretby Sander van Grieken · 37b6fe3d · May 6, 2026 · 2 filesMessage 55 · ThinInformational 15Details
Commit message · Sander van Grieken
lnonion: factor out next_blinding_from_shared_secret
Factor out the derivation of the next path key/blinding in a shared function.
Co-Authored-By: f321x <f@f321x.com>
55/100 · ThinMessage clarity
✓ Specific, descriptive subject✓ Provides an explanatory body
AI analysis · Informational 15/100
This commit is a simple code cleanup: it extracts a small, repeated calculation into a shared helper function. The math used to derive the next blinding key is unchanged, and there is no indication of a security fix or behavior change.
AI review queuedqewallet: replace some threads with coroutinesby f321x · 0505ef59 · May 6, 2026 · 1 fileMessage 60 · AdequateInformational 12Details
Commit message · f321x
qewallet: replace some threads with coroutines
Allows to simplify a bit and has less overhead.
60/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 12/100
This commit is a routine code cleanup in Electrum's mobile/QML user interface. It replaces two background threads with lightweight coroutines (async functions) for broadcasting Bitcoin transactions and paying Lightning invoices. There is no indication this change fixes or introduces a security vulnerability.
When paying a lightning invoice there was a race between the `on_event_payment_succeeded` and `on_event_invoice_status` callbacks. Depending on which was called last the string at the top of the invoice view would either say "Paid!" (correct) or "This invoice was already paid" (technically correct but confusing). By keeping state if the invoice payment attempt was initiated in this session the subsequent calls to `update_userinfo` can correctly determine which string to show.
68/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
AI analysis · Informational 15/100
This commit fixes a minor user-interface timing bug in Electrum's mobile/QML invoice view. When paying a Lightning invoice, two internal notifications could arrive in different orders, causing the screen to briefly or incorrectly show 'This invoice was already paid' instead of 'Paid!'. The fix tracks whether the payment was started in the current session so the right message is always shown. There is no security issue here—only a confusing label.
Lower-prioritylnpeer: send channel update also for private channels, if we are forwardingby ThomasV · ef2f9e33 · May 6, 2026 · 1 fileMessage 50 · ThinLow 35Details
Commit message · ThomasV
lnpeer: send channel update also for private channels, if we are forwarding
50/100 · ThinMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
AI analysis · Low 35/100
This change adjusts how Electrum's Lightning peer shares routing information. Previously, the wallet only sent a 'channel update' (the data peers need to route payments through a channel) for public channels. Now it also sends that update for private channels when the user has enabled payment forwarding. This is a bug fix for routing functionality, not a security vulnerability, but it touches sensitive Lightning gossip logic.
Lower-prioritycreate_channel_backup: handle case where peer_addresses list is emptyby ThomasV · c3e900ef · May 6, 2026 · 1 fileMessage 50 · ThinLow 30Details
Commit message · ThomasV
create_channel_backup: handle case where peer_addresses list is empty
50/100 · ThinMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
AI analysis · Low 30/100
This commit fixes a crash in Electrum's Lightning channel backup feature. Previously, if a channel had no known peer addresses, the code would try to access the first item of an empty list and fail. The fix safely handles that case by using empty host and port values instead. It is a defensive bug fix that prevents an unhandled exception, but the commit itself does not describe any security relevance.
Lower-prioritybuild: fix regression: support local dev builds also using UID!=1000by SomberNight · b3be2a01 · May 6, 2026 · 4 filesMessage 95 · StrongInformational 15Details
Commit message · SomberNight
build: fix regression: support local dev builds also using UID!=1000
- both "ELECBUILD_COMMIT fresh_clone builds" and "local dev builds" should work even when the unix user has a different UID than 1000 on the host machine - though I guess running as root does not work but that's prob ok
issue was: ``` $ echo $UID 1111 $ ./contrib/build-linux/appimage/build.sh 🗯 ERROR: Building outside a git clone is not supported. ```
95/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Mentions testing or verification
AI analysis · Informational 15/100
This commit fixes a build-script bug that prevented developers whose Linux user ID is not 1000 from running Electrum's Docker-based build scripts. It does not change any wallet, network, or cryptographic code, and it does not create a security vulnerability.
contrib: build-{linux,wine}: continue fixing build user env
A continuation of 99b0df0f9fdf1d1feb50338091e233d53f9fabc3, as requested in https://github.com/spesmilo/electrum/pull/10486.
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 16/100
This commit adjusts the build environment setup in three Dockerfiles used to compile Electrum packages. It removes a configurable user ID argument and hardcodes the build user as UID 1000, matching another build container. The change is a build-hardening/maintenance fix; it does not appear to fix an active software vulnerability in Electrum itself.
✓ Specific, descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
AI analysis · Informational 15/100
This commit only updates comments in a build script for Android. It adds guidance about how to build test versions of the Electrum Android app and warns about a known build issue. No code behavior changes, no security fix or vulnerability introduced.
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Links an issue, advisory, or supporting reference
AI analysis · Informational 15/100
This is a routine build fix for Electrum's Linux AppImage packaging. The Alpine Linux package repository no longer offered an older version of the xz compression library, so the build script was updated to request the newer available version. There is no indication this change fixes or introduces a security vulnerability; it simply makes the automated build work again.
Lower-priorityswaps: server_update_pairs: add named constant for MAX_SWAP_AMTby SomberNight · 8c47499b · May 5, 2026 · 1 fileMessage 50 · ThinInformational 15Details
Commit message · SomberNight
swaps: server_update_pairs: add named constant for MAX_SWAP_AMT
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 minor code cleanup: it replaces a hard-coded number (10,000,000 satoshis) with a named constant called MAX_SWAP_AMT. The value is exactly the same as before, and the developer's own comment says it is only there to reduce accidental damage and is not enforced by the client. There is no security fix here.
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Mentions testing or verification! No meaningful explanatory body
AI analysis · Informational 15/100
This commit only changes internal test code for Electrum's 'toyserver' test harness. It improves how the fake server sorts transaction history and handles unconfirmed transactions in tests. There are no changes to production wallet or server code, and no security fix or vulnerability is present.
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Mentions testing or verification! No meaningful explanatory body
AI analysis · Informational 15/100
This commit only changes test code. It adds unit tests and expands a fake 'toy' Electrum server used in automated testing so it can simulate Bitcoin mempool transaction replacement. Nothing in production code is modified, so real Electrum users are not affected.
AI review queuedwallet: make_unsigned_transaction: nicer error msg for bad outputsby SomberNight · b9cb44db · May 5, 2026 · 1 fileMessage 65 · AdequateInformational 15Details
Commit message · SomberNight
wallet: make_unsigned_transaction: nicer error msg for bad outputs
traceback was hard to understand if outputs was a list of TxOutputs (as opposed to PartialTxOutput)
65/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 15/100
This commit adds a clearer error message inside Electrum's wallet code when a developer passes the wrong kind of transaction output object to a function that builds unsigned transactions. It is a defensive programming/debugging improvement, not a security fix. There is no indication it addresses a vulnerability or changes user-facing behavior beyond producing a more informative error.
Lower-prioritytests: toyserver: move to subdirectoryby SomberNight · 755672d0 · May 5, 2026 · 3 filesMessage 55 · ThinInformational 15Details
Commit message · SomberNight
tests: toyserver: move to subdirectory
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 commit is a pure test-code reorganization: it moves the existing 'toyserver' helper from a single file into a new subdirectory package and updates the import path in one test file. No production code is changed, no behavior is altered, and there is no security fix or vulnerability introduced.
Lower-prioritytests: toyserver: extend remove_tx to subgraph of transitive childrenby SomberNight · be9b4cbb · May 5, 2026 · 1 fileMessage 60 · AdequateInformational 15Details
Commit message · SomberNight
tests: toyserver: extend remove_tx to subgraph of transitive children
60/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Mentions testing or verification! No meaningful explanatory body
AI analysis · Informational 15/100
This commit only changes a test helper file (tests/toyserver.py). It extends a fake Bitcoin server used in Electrum's test suite so that when a transaction is removed from the simulated mempool, all dependent child transactions are also removed. There is no change to production code, no real wallet or network behavior is affected, and no security vulnerability is present in the diff.
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Mentions testing or verification! No meaningful explanatory body
AI analysis · Informational 15/100
This commit only adds test infrastructure. It introduces an ordered set helper class and expands a fake Bitcoin server used in unit tests so it can remove transactions from the mempool and simulate blockchain reorganizations. There is no change to production wallet code, networking, or cryptography, and nothing in the commit suggests a security fix or vulnerability.
✓ Descriptive subject✓ Provides an explanatory body✓ Mentions testing or verification
AI analysis · Informational 15/100
This commit only adds a test-only 'faucet' feature to Electrum's internal toy server used by unit tests. It replaces a hard-coded test transaction with a dynamically generated one so tests can create their own fake Bitcoin for testing. There is no change to production wallet code, network handling, or user-facing behavior, and no security issue is present.
Lower-prioritytests/toyserver: track UTXOs, and forbid conflictsby SomberNight · 86ca70d9 · May 5, 2026 · 2 filesMessage 60 · AdequateInformational 15Details
Commit message · SomberNight
tests/toyserver: track UTXOs, and forbid conflicts
60/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Mentions testing or verification! No meaningful explanatory body
AI analysis · Informational 15/100
This commit only changes internal test code. It improves a small fake Bitcoin server used during automated tests so that it properly tracks unspent coins and rejects double-spending attempts. No production wallet or network code is affected, and there is no security risk to real users.
✓ Descriptive subject✓ Names a concrete action or component✓ Mentions testing or verification! No meaningful explanatory body
AI analysis · Informational 15/100
This commit only moves the code that starts and stops a small test server into the test server class itself. It is a cleanup of the test code and does not change any user-facing behavior or fix a security issue.
Lower-prioritytests: split out toy_server from test_interface.pyby SomberNight · 4043d84f · May 5, 2026 · 2 filesMessage 60 · AdequateInformational 15Details
Commit message · SomberNight
tests: split out toy_server from test_interface.py
60/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Mentions testing or verification! No meaningful explanatory body
AI analysis · Informational 15/100
This commit is a simple housekeeping change in the project's test code. It moves a helper mock server (used only for automated testing) out of one test file and into a new dedicated file. There is no change to the actual Electrum wallet software that users run, and no security issue is present.
Lower-prioritytests: interface: split ToyServer from ToyServerSessionby SomberNight · d8159dfc · May 5, 2026 · 1 fileMessage 60 · AdequateInformational 15Details
Commit message · SomberNight
tests: interface: split ToyServer from ToyServerSession
60/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Mentions testing or verification! No meaningful explanatory body
AI analysis · Informational 15/100
This commit only refactors the test code in Electrum. It splits a mock server class used for unit tests into two parts: a shared 'ToyServer' that holds fake blockchain state, and a 'ToyServerSession' that represents one client connection. No production wallet or network code is changed, and there is no security fix or vulnerability introduced.
Lower-priorityinterface: explain how to make aiorpcx log json trafficby SomberNight · c99879a7 · May 5, 2026 · 1 fileMessage 50 · ThinInformational 15Details
Commit message · SomberNight
interface: explain how to make aiorpcx log json traffic
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 a comment explaining how to enable debug logging of JSON network traffic. No code behavior changes, no security fix or vulnerability introduced.
Lower-prioritylnutil.ChannelType: rm "discard unknown" part from discard_unknown_and_checkby SomberNight · 621eac23 · May 4, 2026 · 4 filesMessage 81 · StrongModerate 57Details
Commit message · SomberNight
lnutil.ChannelType: rm "discard unknown" part from discard_unknown_and_check
This looks more dangerous than useful. Added in [0], unclear what the original motivation was. Perhaps it was trying to discard the "variation flags" (46/50), which were already being discussed in a BOLTS PR [1] though not yet fully spec-ced out.
from https://github.com/lightning/bolts/blob/a3772650d8ebc06acf457fcadf97968ebfc4dfff/02-peer-protocol.md?plain=1#L811 :
> The sending node: > - MUST set `channel_type`: > - SHOULD NOT set it to a type containing a feature which was not negotiated.
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Links an issue, advisory, or supporting reference
AI analysis · Moderate 57/100
This commit removes a helper that silently stripped unknown bits from Lightning channel-type flags during channel setup. Previously, if a peer sent a channel type containing an unrecognized flag, Electrum would drop that flag and continue. Now it keeps the full value and enforces that the peer's channel type exactly matches what Electrum expects and supports. This is a hardening change: it closes a path where a malicious or buggy peer could trick Electrum into accepting a channel type it did not actually agree to.