Provider refusals
write_verifier: Provider declined the request because of a cybersecurity restriction. Experiments remain incomplete; static verification can continue.
2 major findings · 5 minor findings · 2 suggestions
Earlier concerns neither republished nor resolved: 4 minor findings · 10 suggestions. See the Run archive for their assessments.
Findings
[major] · Staged backup installation can replace a loaded wallet's database
On POSIX, approving a backup over another loaded wallet's unchanged wallet.dat can replace its database, bypassing the SQLite lock that previously prevented the overwrite and potentially losing its unique keys.
Location: qml/models/backuppolicyio.cpp:149 (head).
Details and suggested fix
Load wallets A and B, back up A to B's wallet.dat, and approve “Replace backup?” while B's file remains unchanged. The chooser permits .dat, and backup::Inspect preserves that suffix. WalletQmlModel::backupWallet now asks Core to write a staging file, then backup::Write installs it with RenameOver after a digest comparison. On POSIX, that rename replaces B's directory entry despite its open SQLite database. Reloading B then opens A's backup; without another backup of B's keys, its funds can become inaccessible. Previously, Core opened the final destination through SQLiteDatabase::Backup, where B's lifetime exclusive lock prevented the write. Refuse destinations that identify a loaded wallet database, including resolved paths, and add a two-wallet regression checking that B remains unchanged and reloadable. Windows was not assessed.
[major] · Predictable /tmp intent directory lets another user block startup
On a shared POSIX host, another account can pre-create /tmp/qml-intent-<uid> and prevent the victim's GUI from starting until the foreign entry is removed.
Location: qml/desktopintenttransport.cpp:364 (head).
Details and suggested fix
initialize() hard-codes /tmp/qml-intent-<getuid()>, ignores the result of mkdir, and rejects an entry that is foreign-owned, not a directory, or group/other-accessible. Normal startup always starts this transport; Rejected becomes Disposition::Failed and ultimately EXIT_FAILURE. Another account can therefore create the predictable directory or a symlink before the victim's first launch. With a sticky /tmp, the victim cannot remove that account's entry, and changing TMPDIR does not help. Put the endpoint beneath a protected per-user location, such as a validated QStandardPaths::RuntimeLocation or the datadir, rather than introducing a mandatory startup dependency in the shared temporary-directory namespace.
[minor] · Signer verification leaves output commitments unchecked
The new verifier retains a pre-existing gap: a misbehaving signer can return finalized SIGHASH_NONE or SIGHASH_SINGLE wallet inputs that leave reviewed outputs mutable after broadcast and before confirmation.
Location: qml/walletsend.cpp:698 (head).
Details and suggested fix
MatchesUnsignedTransaction and the fee proof verify the current candidate, while VerifiedSignatures and psbtsignatures::VerifyContributions establish signature validity without requiring commitments to every output. Pinned Core's SignPSBTInput checks default sighashes only after its early return for an already-finalized, verified input, so a signer can return finalized wallet inputs that pass these checks with SIGHASH_NONE or SIGHASH_SINGLE. The existing signatureCommitmentsDoNotReplaceImmutableReview test demonstrates signatures surviving changes to uncommitted outputs. As part of the new app-side verification boundary, require wallet-input signatures to commit to all outputs in approval, PSBT send, and fee replacement, and reject incompatible PSBT_IN_SIGHASH_TYPE metadata. SIGHASH_ALL and 64-byte Schnorr SIGHASH_DEFAULT signatures satisfy that policy; rejecting ALL|ANYONECANPAY is optional because it still commits to every output. This is hardening against a misbehaving signer, not full protection against a malicious same-user HWI process.
[minor] · Readiness ignores the fee caps submission enforces
Review can report that the node accepts an imported, fully signed transaction even though submission will refuse it with MAX_FEE_EXCEEDED or MAX_FEE_RATE_EXCEEDED.
Location: qml/psbtpolicy.cpp:34 (head).
Details and suggested fix
ReadAdmission passes maxfeerate=0 to testmempoolaccept, disabling its fee ceiling, and Evaluate then says “The node currently accepts this exact transaction.” However, NodeBroadcast supplies an absolute cap of DEFAULT_MAX_RAW_TX_FEE_RATE.GetFeePerK() and a rate cap of DEFAULT_MAX_RAW_TX_FEE_RATE, both enforced by Core. An imported PSBT with an authenticated fee above either limit can therefore receive affirmative readiness followed by a refused broadcast. The wallet-commit path has the same mismatch with its wallet-specific caps: Core adds the transaction to the wallet before capped relay fails and only logs that failure. Check the authenticated fee and transaction size against the chosen submission path's caps before reporting readiness or committing.
[minor] · Refused request deletion gives no feedback in the modal
If deletion-editor admission is refused, the saved-request modal shows no error; no reliable production sequence reaching the editor cap was found.
Location: qml/models/requestdeletecontroller.cpp:50 (head).
Details and suggested fix
When deleteRequest() returns null, RequestDeleteController::request() returns false without recording the refusal. Both failed() and error() require m_deletion, and ReceiveRequestEditorCard ignores the return value. makeEditor() refuses at 16 live editors and records an explanatory error on WalletReceiveModel, but ReceiveRequestModal does not display that general error; its alert follows only request-opening failures. Closed editors are JavaScript-owned, so garbage collection affects whether this cap is encountered. Copy the admission refusal into controller-owned failure state that failed() and error() expose and dismiss() clears.
[minor] · Closing an address note during its initial read discards typed text
The address note remains writable while its editor is Loading, but Close in that state skips the unsaved-change question and drops the pending text.
Location: qml/pages/wallet/AddressDetails.qml:106 (head).
Details and suggested fix
AddressDetails makes the field read-only only when editor.available is false, and available() includes Loading. Text typed before the initial label read completes reaches State::edit, which stores pending_input without making the editor dirty. The header calls requestClose(), whose reducer immediately enters Closed during Loading; AddressList then closes the popup. The pending note never reaches the normal Save/Discard question. This window can grow under wallet-lock contention and was established by source inspection, not an interactive reproduction. Keep the field read-only until initialization completes and add a regression that holds the initial read while attempting to edit and close.
[minor] · Additive cluster check can block a replacement the node accepts
An imported replacement at the cluster limit can be blocked by the additive check despite testmempoolaccept allowing it; no production occurrence was observed.
Location: qml/psbtpolicy.cpp:157 (head).
Details and suggested fix
ReadNode calls checkChainLimits, which maps to CTxMemPool::CheckPolicyLimits and stages only the new transaction. For a replacement spending from an unconfirmed parent cluster already at its configured limit, this counts the original transaction as well as its replacement. Exact admission instead stages the conflicting transactions' removal before checking the limit. Nevertheless, Evaluate returns Blocked for the additive failure before considering Admission::Allowed, and the broadcast action repeats that refusal. Use the additive cluster check only when exact-transaction admission is unknown, so an allowed replacement is not blocked by a check that omits its evictions.
Optional improvements
[suggestion] · Fee-authentication commit does not identify its later integration points
The helpers in 08817c18 are not wired into review and broadcast until b24713b0 and 73d185ba, making the complete safety path harder to locate from the fix message.
Location: qml/models/psbtfee.h:28 at 08817c181da7 (commit) (commit).
Details and suggested fix
08817c181da761c59bef22b806f84c26b04e78a7 adds the fee-authentication primitives and tests, while production integration arrives in walletsend.cpp::AuthenticatedInputs in b24713b00abd1d44f260c9ca5746e6d44bf54f12 and psbtwork.cpp::Inspect in 73d185ba8d20b77f66a7854f5353546889350ceb. The signer checker in 187548e84904cb3cc7c987e22cc419e12e429dad follows the same preparatory pattern. Describe those early commits as adding verification primitives and name the later integration points in their messages, or move the issue-closing references to the integration commits. This preserves the existing area boundaries and final behavior while letting reviewers locate the complete safety checks without searching two large area patches.
[suggestion] · QR-wait fix commit actually deletes the RequestPayment suite
cf6d9fcd deletes tst_requestpayment.qml, although its message describes a QR-wait fix; the suite was already unregistered in 669734be.
Location: test/qml/tst_requestpayment.qml:1 at ae21c4a48fe3 (parent of cf6d9fcdca20) (commit).
Details and suggested fix
cf6d9fcdca20f5ae563d0863e82693761472b4c3 deletes the entire 1,733-line suite. Its direct parent, ae21c4a48fe3bb9a1e51e378b0c20b14893726b3, still contains tests using ReceivePage and PaymentRequestCard, but the deletion commit says to wait for the image and copy once. The suite had already stopped running when 669734be4f2873b56f7927da66f61be796611ec4 removed its bitcoin_qmltests.qrc entry. Move the obsolete-file deletion into that Receive migration commit and drop the later commit, or reword the later commit to describe the deletion accurately. Document which replacement tests take over important cases such as delayed deletion and reopening. This changes no final-tree behavior; equivalent coverage for every old case has not been checked.
Earlier concerns
Earlier reports raised these, with the titles and severities shown there. This review neither republished nor resolved them.
- [suggestion]: The settings editor's admission policy is replaced later in the series (earlier report)
- [suggestion]: The decimal-parse commit also carries the paste lifecycle API (earlier report)
- [minor]: The new Sign-only action rejects already-signed foreign inputs (earlier report)
- [suggestion]: macOS artifact instructions omit preparation of the new helper (earlier report)
- [suggestion]: Retained secret
QStringstorage is released without cleansing (earlier report) - [suggestion]: The startup rewrite removes error routing that a later commit restores (earlier report)
- [suggestion]: The settings extraction presents a superseded admission contract (earlier report)
- [minor]: A known fee-bump refusal permanently locks the bump model (earlier report)
- [minor]: Receive keeps supported types hidden after descriptor imports (earlier report)
- [suggestion]: Private descriptor imports remain outside console redaction (earlier report)
- [minor]: New-password normalization disagrees with unlock input (earlier report)
- [suggestion]: The review guide omits 19 post-rename commits (earlier report)
- [suggestion]: Late repairs leave already-fixed regressions in the area commits (earlier report)
- [suggestion]: Payment and PSBT import errors bypass translation (earlier report)