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
lnworker: add sanity check to trampoline forwarding
These new asserts should not be triggered unless there are bugs in the code. Which there are. (still the asserts are not intended as primary checks, just defense-in-depth)
73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
merge prep commits from "fix anchor channel backup"
extracted from https://github.com/spesmilo/electrum/pull/10852
73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body✓ Links an issue, advisory, or supporting reference
Why it was queued
merge-commit duplicate discount
Lower-priorityMerge pull request #10897 from SomberNight/202608_refactor_lnchan_can_update_ctxby ThomasV · e20ee705 · Aug 26, 2026 · 2 filesMessage 58 · ThinTriage 0Details
Commit message · ThomasV
Merge pull request #10897 from SomberNight/202608_refactor_lnchan_can_update_ctx
lnpeer: split can_update_ctx checks
58/100 · ThinMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Links an issue, advisory, or supporting reference! No meaningful explanatory body
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
AI review queuedMerge pull request #10894 from f321x/fix_qml_use_after_freeby accumulator · a3f8b5cd · Aug 26, 2026 · 7 filesMessage 73 · AdequateLow 33Details
Commit message · accumulator
Merge pull request #10894 from f321x/fix_qml_use_after_free
qt/qml: handle RuntimeError when accessing deleted QObject
73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body✓ Links an issue, advisory, or supporting reference
Why it was queued
signing or wallet pathmerge-commit duplicate discountsecond-pass: security-sensitive path
AI analysis · Low 33/100
This commit fixes a class of crash bugs in Electrum's Qt/QML graphical user interface. When a user closes a dialog or window while a background task is still running, the background task can try to talk to a Qt object that has already been destroyed, causing a RuntimeError and possibly crashing the app. The patch adds a helper that safely ignores these 'already destroyed' errors instead of letting them propagate. It does not appear to be a security vulnerability that an attacker can exploit to steal funds or run malicious code; it is a stability/robustness fix.
Lower-priorityMerge pull request #10898 from SomberNight/202608_comment_swapserver_learns_ipsby ThomasV · a8ff16af · Aug 26, 2026 · 1 fileMessage 73 · AdequateTriage 0Details
Commit message · ThomasV
Merge pull request #10898 from SomberNight/202608_comment_swapserver_learns_ips
swaps: add comment that swapserver colluding with relay can learn IP
73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body✓ Links an issue, advisory, or supporting reference
Why it was queued
merge-commit duplicate discount
Lower-priorityswaps: add comment that swapserver colluding with relay can learn IPby SomberNight · c3acfaaf · Aug 25, 2026 · 1 fileMessage 50 · ThinTriage 0Details
Commit message · SomberNight
swaps: add comment that swapserver colluding with relay can learn IP
50/100 · ThinMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
Lower-prioritylnpeer: on illegal ctx_update, disconnect instead of ignoring msgby SomberNight · 1ac63750 · Aug 25, 2026 · 1 fileMessage 85 · StrongTriage 0Details
Commit message · SomberNight
lnpeer: on illegal ctx_update, disconnect instead of ignoring msg
I was the one who wrote the existing code that simply drops the illegal message, but I cannot remember the reasoning. Thinking about it now whether we should drop the message or disconnect should depend on the message. - "channel_ready" and "channel_reestablish" we can simply drop - but "update_", "commitment_signed", "revoke_and_ack" we cannot just ignore... - it seems saner to disconnect, otherwise the channel could get into a weird state, some kind of consensus failure between the peers
85/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Explains rationale or failure mode
Lower-prioritylnpeer: when sending commitsig/revack, ignore _can_send_ctx_updatesby SomberNight · fc40a8e7 · Aug 25, 2026 · 2 filesMessage 73 · AdequateTriage 0Details
Commit message · SomberNight
lnpeer: when sending commitsig/revack, ignore _can_send_ctx_updates
during/around shutdown, - if the remote sends us a commitsig, we need to be able to respond with revack - if the remote sends us a revack, we need to be able to respond with commitsig
chan._can_send_ctx_updates should only prevent us sending "update_*" messages.
73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
Lower-priorityMerge pull request #10896 from SomberNight/202608_ci_llm_review_externalby ThomasV · baf12864 · Aug 25, 2026 · 1 fileMessage 73 · AdequateTriage 0Details
Commit message · ThomasV
Merge pull request #10896 from SomberNight/202608_ci_llm_review_external
ci: llm review: expand comment and add fixme re race
73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body✓ Links an issue, advisory, or supporting reference
AI review queuedMerge pull request #10893 from f321x/fix_10891by ghost43 · 37a09e79 · Aug 25, 2026 · 3 filesMessage 68 · AdequateLow 25Details
Commit message · ghost43
Merge pull request #10893 from f321x/fix_10891
wallet: fix sweeping with imported address watch only wallet
68/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body✓ Links an issue, advisory, or supporting reference
Why it was queued
signing or wallet pathmerge-commit duplicate discountsecond-pass: security-sensitive path
AI analysis · Low 25/100
This commit fixes a bug in the Electrum Bitcoin wallet that could crash or fail when trying to move funds from a watch-only wallet that only has imported addresses (no private keys). The fix makes the wallet more careful when it doesn't know the exact script type for an address, returning 'unknown' instead of crashing, and only setting a script descriptor when one actually exists. There is no direct evidence this was a security vulnerability exploitable by an attacker; it appears to be a reliability/functional bug fix.
AI review queuedtests: (trivial) wallet_vertical: sweep_p2wpkh: use subTestsby SomberNight · bc4ac541 · Aug 25, 2026 · 1 fileMessage 75 · AdequateInformational 15Details
Commit message · SomberNight
tests: (trivial) wallet_vertical: sweep_p2wpkh: use subTests
make separation of logic somewhat clearer
75/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body✓ Mentions testing or verification
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 15/100
This is a purely cosmetic change to a test file. It wraps two existing test blocks inside Python 'subTest' contexts so that if one part fails, the other still runs and the failure message is clearer. No production code was changed, and no security behavior is affected.
AI review queuedMerge pull request #10877 from f321x/swaps_pop_invoiceby ThomasV · 0a1977a7 · Aug 25, 2026 · 4 filesMessage 73 · AdequateLow 42Details
Commit message · ThomasV
Merge pull request #10877 from f321x/swaps_pop_invoice
swap server: simplify LN invoice payment
73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body✓ Links an issue, advisory, or supporting reference
Why it was queued
signing or wallet pathmerge-commit duplicate discountsecond-pass: security-sensitive path
AI analysis · Low 42/100
This commit refactors how Electrum's submarine-swap server pays Lightning invoices from clients. The main visible change is that the swap server no longer maintains its own retry queue for pending invoices; instead it delegates directly to the wallet's existing invoice-payment logic, which now rejects duplicate in-flight payment attempts. A new regression test confirms that a second payment attempt with the same payment hash is blocked while the first is still running. The commit also fixes a small bug where an HTTP endpoint called a coroutine without awaiting it. Overall the change looks like a hardening/cleanup rather than an obvious vulnerability fix, but it removes a custom retry mechanism and tightens duplicate-payment protection, which can have security relevance in Lightning.
Lower-priorityMerge pull request #10890 from f321x/fix_force_close_warningby ThomasV · 546e1a21 · Aug 25, 2026 · 7 filesMessage 73 · AdequateTriage 0Details
Commit message · ThomasV
Merge pull request #10890 from f321x/fix_force_close_warning
lnwatcher/qt: fix regressed pending force close warning
73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body✓ Links an issue, advisory, or supporting reference
Why it was queued
merge-commit duplicate discount
Security candidateMerge pull request #10885 from SomberNight/202608_crypto_sanity_checksby Felix · 29991f4a · Aug 25, 2026 · 1 fileMessage 58 · ThinLow 27Details
Commit message · Felix
Merge pull request #10885 from SomberNight/202608_crypto_sanity_checks
crypto.py: add some sanity checks
58/100 · ThinMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Links an issue, advisory, or supporting reference! No meaningful explanatory body
This commit adds safety checks to Electrum's encryption helper functions and includes a self-test that runs when the program starts. The new checks make sure AES keys and initialization vectors (IVs) are the correct length before encrypting or decrypting, which helps catch programming mistakes early. The self-tests verify that hash and encryption functions produce known correct outputs, so Electrum will fail immediately if a cryptographic library is broken or misconfigured rather than silently producing bad results.
Lower-priorityMerge pull request #10889 from f321x/ai_pr_templateby ThomasV · 27a09464 · Aug 24, 2026 · 1 fileMessage 58 · ThinTriage 0Details
Commit message · ThomasV
Merge pull request #10889 from f321x/ai_pr_template
github: add anti-slop PR template
58/100 · ThinMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Links an issue, advisory, or supporting reference! No meaningful explanatory body
✓ Specific, descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
Lower-priorityMerge pull request #10882 from SomberNight/202608_logging_git_versionby Felix · 7e366da0 · Aug 24, 2026 · 1 fileMessage 58 · ThinTriage 0Details
Commit message · Felix
Merge pull request #10882 from SomberNight/202608_logging_git_version
logging: get_git_version: add timeout
58/100 · ThinMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Links an issue, advisory, or supporting reference! No meaningful explanatory body
followup #10859, accept "0" None in nostr pow util
58/100 · ThinMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Links an issue, advisory, or supporting reference! No meaningful explanatory body
Lower-priorityMerge pull request #10859 from Amperstrand/nostr-pow-fixby Felix · f25c2838 · Aug 24, 2026 · 2 filesMessage 73 · AdequateTriage 0Details
Commit message · Felix
Merge pull request #10859 from Amperstrand/nostr-pow-fix
util, swaps: fix nostr announcement PoW mining
73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body✓ Links an issue, advisory, or supporting reference
Why it was queued
merge-commit duplicate discount
Lower-priorityMerge pull request #10883 from SomberNight/202608_unittests_config_1by ThomasV · a042ee9f · Aug 23, 2026 · 3 filesMessage 83 · StrongTriage 0Details
Commit message · ThomasV
Merge pull request #10883 from SomberNight/202608_unittests_config_1
tests: onion_message: do not mutate mainnet config file
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
- if one of the critical hash functions is broken, we should panic early (sha256/sha512/hash160), as the consequences could be devastating. - sha512 is used for bip32 - sha256/hash160 are used for deriving addresses
- but we might as well also test the symmetric ciphers - though those checks are a bit slower - but I would prefer erring on the side of paranoia and doing the check
naive benchmarks: (it's not AES that is slow, but the first invocations of the symmetric ciphers) ``` >>> from electrum.crypto import * backends: HAS_CRYPTODOME=True, HAS_CRYPTOGRAPHY=False time taken by 'hash functions1': 0.065 msec time taken by 'aes1': 3.377 msec time taken by 'aes2': 0.047 msec time taken by 'chacha20': 0.182 msec time taken by 'chacha20-poly1305': 0.405 msec total time taken: 4.235 msec ``` ``` >>> from electrum.crypto import * backends: HAS_CRYPTODOME=False, HAS_CRYPTOGRAPHY=True time taken by 'hash functions1': 0.064 msec time taken by 'aes1': 7.131 msec time taken by 'aes2': 0.040 msec time taken by 'chacha20': 0.056 msec time taken by 'chacha20-poly1305': 0.023 msec total time taken: 7.446 msec ```
78/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification
Why it was queued
secret or key materialcryptography-sensitive path
AI analysis · Informational 15/100
This commit adds self-tests to Electrum's cryptography code. When the program starts, it now runs a few known test vectors through hash and encryption functions and crashes immediately if the results are wrong. This is a defensive hardening change, not a fix for an active security flaw.