Provider refusals
write_verifier: Provider declined the request because of a cybersecurity restriction. Experiments remain incomplete; static verification can continue.
1 major finding · 3 minor findings · 3 suggestions
Earlier concerns neither republished nor resolved: 1 minor finding. See the Run archive for their assessments.
Findings
[major] · Replace can overwrite another open wallet's live database
On POSIX, confirming Replace can overwrite another loaded wallet's database outside the wallets folder, bypassing SQLite's lock; this data-loss path is established statically, not by a completed reproduction.
Location: qml/walletqmlcontroller.cpp:215 (head).
Details and suggested fix
walletFileDestination() protects the wallets folder and the originating wallet's location, but not other loaded wallets. From wallet A, choosing an externally located wallet B's wallet.dat and confirming Replace makes either save mode write a sibling .partial file and rename it over B's database. Unlike the base's direct SQLite backup, this operation bypasses B's database lock. On POSIX the pathname can then contain A's backup or watch-only copy while B still has the old database open; reloading B opens the replacement, and its keys can be lost if no other backup exists. Windows is expected to reject replacement of the open file instead. The alert warns about private-key loss but does not identify an open wallet database. Add every loaded and retiring wallet's location to protected_paths, and test both save modes against a second wallet outside the wallets folder.
[minor] · Taproot extended keys round-trip as P2WPKH in this app
Importing the exported Taproot xpub through this app creates a P2WPKH wallet instead of watching the source's Taproot addresses; the same importer rejects the exported SLIP-132 SegWit keys.
Location: qml/models/walletqmlmodel.cpp:1372 (head).
Details and suggested fix
Slip132ExtendedKey() leaves Taproot account keys as xpub/tpub, and the detail page enables Extended key for the normal /0/* and /1/* layout. A bare key does not carry the script type: createWatchOnlyWallet() accepts it but always installs wpkh() descriptors. The resulting wallet misses the source's tr() addresses and can hand out receive addresses that the source does not track, requiring a manual private-descriptor import to spend payments sent there. The existing note only says that most wallets need descriptors for Taproot. Leave extendedKey empty for BECH32M to disable this ambiguous option, and make the in-app import agree with the exported formats or explicitly warn that it assumes P2WPKH.
[minor] · Copy-all JSON cannot import a migrated wallet's old HD chains
For migrated legacy HD wallets, Copy all includes public hardened-wildcard descriptors that importdescriptors rejects, leaving pre-migration funds and history out of the watch-only import despite the complete-import guidance.
Location: qml/models/walletqmlmodel.cpp:1442 (head).
Details and suggested fix
Legacy migration creates old-chain descriptors such as combo(xpub/0h/0h/*h). Public normalization retains the hardened wildcard, so importing the JSON into a wallet without private keys fails the initial Expand(0, ...) check with “Cannot expand descriptor.” Other entries can still import, and Core reports the failures individually. The watch-only file exporter handles this case by copying the descriptor cache, which this JSON does not contain. Detect descriptors that cannot self-expand, disable Copy all for that wallet, and direct the user to the watch-only file export instead. Add a round-trip test containing a hardened-wildcard descriptor.
[minor] · Keep both inherits the existing file's backup-type label
When saving beside an existing file of the opposite type, Keep both can name a watch-only copy like a newer full backup, or retain -watchonly on a private-key backup.
Location: qml/walletfiledestination.cpp:143 (head).
Details and suggested fix
KeepBothPath() removes the old date stamp but preserves the destination's remaining stem and suffix, without considering watch_only. Thus a watch-only copy beside savings-2026-11-10.bak becomes savings-2026-11-11-1432.bak, while a full backup beside savings-watchonly-…dat retains the watch-only label. This can mislead later backup pruning or sharing, although any resulting loss requires another user action. The alert displays the proposed name, and the default destinations already differ by type, so this requires explicitly selecting an opposite-type destination. Generate the keep-both name from the type being saved, adding or removing the -watchonly marker and choosing the corresponding suffix.
Optional improvements
[suggestion] · Descriptor actions can block the GUI during watch-only export
After dismissing a pending export sheet, opening Descriptors or using Copy all can block the GUI thread on the export's wallet lock until it finishes; the wait duration was not measured.
Location: qml/models/walletqmlmodel.cpp:1353 (head).
Details and suggested fix
The backend exportWatchOnlyWallet() holds cs_wallet through keypool top-up, transaction copying, and file writing. The sheet still closes through Escape, outside clicks, or its close button, leaving descriptor actions available. Those actions call descriptorExports(), inactiveDescriptorExports(), or descriptorImportJson() synchronously and wait on the same mutex. Disable wallet actions that synchronously acquire this lock while an export runs, or keep the pending sheet non-dismissable. Guarding only the Descriptors row would leave existing synchronous wallet actions exposed to the same wait.
[suggestion] · The backup sheet has no scrolling recovery for tall content
Long paths, multiline errors, or longer translations can push Save beyond the available height in a 665-pixel window; the sheet has no scrolling recovery, although this overflow was not rendered.
Location: qml/components/BackupWalletPopup.qml:27 (head).
Details and suggested fix
BackupWalletPopup constrains its width and top position but places all content in one non-scrollable ColumnLayout. The wrapped destination and error text precede Save, so their growth can make the action unreachable at the application's minimum height. This now affects every backup, not just watch-only exports. Cap the sheet to the overlay's available height and put the growing content in a ScrollView or Flickable, preferably keeping Save visible. Extend the long-path test to check vertical action reachability at minimum height with an error present; its current assertions check horizontal fit only.
[suggestion] · Used inactive descriptors are unreachable without a supported active descriptor
A wallet with used inactive single-key descriptors but no supported active descriptor cannot reach its previous keys or Copy all; no GUI-only path producing this state was found.
Location: qml/models/walletqmlmodel.cpp:1344 (head).
Details and suggested fix
canShowDescriptors() hides the row when descriptorExports() is empty, and openDescriptors() independently returns under the same condition. Neither gate considers inactiveDescriptorExports(), although the list page already displays those entries. RPC imports or deactivation can therefore leave useful previous keys inaccessible through this page. Whole-wallet file export remains available for private-key wallets. Treat nonempty inactive exports as sufficient to show the row and open the list, while retaining the single-detail shortcut only when there are no inactive entries.
Earlier concerns
Earlier reports raised these, with the titles and severities shown there. This review neither republished nor resolved them.
- [minor]: Wallet changes leave a save dialog that silently writes nothing (earlier report)