Provider refusals
write_verifier: Provider declined the request because of a cybersecurity restriction. Experiments remain incomplete; static verification can continue.
1 major finding · 6 minor findings · 3 suggestions
Earlier concerns neither republished nor resolved: 3 minor findings · 9 suggestions. See the Run archive for their assessments.
Findings
[major] · Backup can rename over a loaded wallet's wallet.dat
On POSIX, choosing another loaded wallet's wallet.dat and approving “Replace backup?” can replace that database despite its SQLite lock, leaving the wrong wallet on disk after reload.
Location: qml/models/backuppolicyio.cpp:149 (head).
Details and suggested fix
The dialog permits .dat destinations, and backup::Inspect accepts an existing regular file without checking whether it is a loaded wallet database. backupWallet now asks Core to write to a staging path, then backup::Write installs it with RenameOver. If wallet A's backup targets an idle loaded wallet B, B's bytes can remain unchanged between inspection and installation, so the hash check passes. POSIX rename replaces the directory entry while B retains its open inode. After unload or restart, B's path contains A's database, potentially losing access to B's keys without another backup. Base backed up directly through SQLite, whose destination write could not acquire B's exclusive lock. Preserve that destination-lock protection for existing .dat targets, and add a regression checking B's identity after reload. No runtime reproduction was completed; Windows may refuse replacement of an open file.
[minor] · Squatting /tmp/qml-intent-<uid> prevents GUI startup
On a shared POSIX host, another account can pre-create /tmp/qml-intent-<uid> and block subsequent GUI launches until the foreign-owned entry is removed; changing TMPDIR does not help.
Location: qml/desktopintenttransport.cpp:364 (head).
Details and suggested fix
initialize() hard-codes this directory under /tmp, then rejects entries that are symlinks, have another owner, or have group/other permissions. Those checks prevent endpoint hijacking, but both startup paths treat the rejection as fatal. On a sticky world-writable /tmp, another account can create the predictable entry before the victim's first launch, and the victim cannot delete it. This fatal transport dependency is new. Put the endpoint beneath a protected per-user runtime directory, such as a validated QStandardPaths::RuntimeLocation, rather than directly in the shared temporary-directory namespace.
[minor] · Signer checks accept SIGHASH_NONE/SIGHASH_SINGLE as verified
The new checks still accept a signer's SIGHASH_NONE/SIGHASH_SINGLE signatures as Valid, allowing uncommitted outputs to remain mutable; this is a pre-existing hardening gap, not a regression.
Location: qml/psbtsignatures.cpp:115 (head).
Details and suggested fix
ExecuteApproval compares the returned unsigned transaction with the review, then verifies signatures under their supplied hash types. The bump path similarly reaches commitBumpTransaction after VerifiedSignatures, which uses PSBTInputSignedAndVerified without restricting sighash modes. Pinned Core replaces the PSBT with the signer's response and accepts already-finalized valid inputs; finalization also uses the returned input's sighash_type. Thus unchanged reviewed outputs do not prove that the returned signatures commit to them. If no other required signature commits to those outputs, an observer can redirect them after broadcast. The existing commitment test explicitly expects signatures to survive such output changes. Reject signer-added NONE/SINGLE contributions and changed PSBT_IN_SIGHASH_TYPE before reporting Valid, retaining partial work, or committing. Check actual final signatures as well as PSBT metadata. Imported third-party PSBT behavior can remain separate.
[minor] · Uncertain traps Speed Up after a definite commit rejection
An unobserved race at Core's final fee-bump precondition check can leave nothing committed but place the wallet's bump model in Uncertain, blocking later Speed Up attempts until the model is recreated.
Location: qml/walletbump.cpp:210 (head).
Details and suggested fix
The original can confirm, gain a descendant, or be bumped elsewhere after CheckApprovedScope and admission but before commitBumpTransaction. In pinned Core, a false return means the final preconditions failed before wallet.CommitTransaction; once committed, the function returns success. Execute nevertheless maps false to Error::Commit, and publishCommit maps that to Uncertain. That state rejects preparation for every transaction, survives reset(), and remains unchanged by outcome rechecks. Base used setError, entering retryable Failed. Map a definite false return to Failed or NeedsRevalidation, reserving Uncertain for genuinely unknown outcomes such as exceptions. Add a test where commit returns false and another preparation is accepted.
[minor] · Additive cluster checks block acceptable replacements
At a cluster limit, the additive precheck can mark an imported replacement Blocked even when exact testmempoolaccept succeeds; no production occurrence has been confirmed.
Location: qml/psbtpolicy.cpp:157 (head).
Details and suggested fix
ReadNode obtains chain_limits from checkChainLimits, whose pinned implementation stages only the new transaction. Exact replacement admission instead stages removal of conflicts before checking the resulting cluster. Consequently, a replacement in a cluster at its count or size limit can fail the preliminary check while passing actual admission. Evaluate returns Blocked before consulting Admission::Allowed, so Qualify disables broadcasting and the broadcast action refuses the same transaction. Base submitted imported PSBTs directly. Let successful exact-transaction admission override this additive cluster-limit result rather than treating it as an independent veto.
[minor] · Readiness omits the fee caps enforced by submission
The new readiness check disables fee caps that submission enforces, so an over-cap import can appear accepted before broadcast fails or wallet commit records it without broadcasting; the caps themselves are pre-existing.
Location: qml/psbtpolicy.cpp:34 (head).
Details and suggested fix
ReadAdmission passes maxfeerate=0 to testmempoolaccept, disabling its client fee-rate check, then reports that the node accepts the exact transaction. NodeBroadcast later supplies both an absolute fee cap and a fee-rate cap. For an import spending only wallet inputs, the wallet-commit path also passes the advisory gate, but Core records the transaction before attempting broadcast with its wallet caps and only logs that failure. A fully signed import exceeding the chosen path's cap can therefore receive affirmative readiness despite a predictable submission failure. Check the authenticated fee and transaction size against that path's absolute and rate limits before reporting readiness or committing.
[minor] · Closing a loading address editor silently drops typed notes
If the initial label read is delayed, Address details accepts typing but Close discards that pending text without a Save/Discard question; practical occurrence has not been reproduced interactively.
Location: qml/pages/wallet/AddressDetails.qml:106 (head).
Details and suggested fix
AddressDetails.qml makes the note read-only only when editor.available is false, but availability includes Loading. During that phase, State::edit stores the text in pending_input without making the persistent editor dirty. Pressing Close calls requestClose, which immediately enters Closed for a loading editor, and AddressList dismisses the popup on that signal. Keep the field read-only until initialization finishes, or include pending input in the close decision. A regression should hold the initial read while typing and requesting close.
Optional improvements
[suggestion] · Helper commits claim fixes before their production wiring
a9adda77 and 3c8c0f74 describe behavior changes, but only introduce helpers; their production consumers arrive in later area commits, making the issue trailers misleading when reviewing or backporting the series.
Location: qml/models/psbtfee.h:28 at a9adda77fc66 (commit) (commit).
Details and suggested fix
a9adda77fc668268668e7fffd09e3e21157e77cd adds the fee-authentication helpers, but its commit snapshot still derives review and broadcast capabilities from node::AnalyzePSBT. Production consumers arrive in 324ca859a899fe32a1dd6d20598d04586398ffd6 through walletsend::AuthenticatedInputs and in 752ecca2e46a945bf706d6d124ef5fdad6ecf726 through psbtwork. Likewise, 3c8c0f745b3a0829364d57e8e7d9deff9eb507c2 introduces MatchesUnsignedTransaction rather than enforcing it at callers. Keep these useful helper-first boundaries, but retitle them as helper additions with Refs #1063/Refs #1122, and move Fixes #1063 and the behavioral claims to the wiring commits. This preserves code order and dependencies while making the safety fix easier to locate and validate.
[suggestion] · macOS artifact instructions omit the profile-inspector helper
The artifact now includes bitcoin-core-profile-inspector, which the app launches from its own directory, but the README prepares only bitcoin-core-app; the resulting macOS failure was not exercised.
Location: .github/workflows/artifacts.yml:80 (head).
Details and suggested fix
The documented unsigned-artifact workflow runs chmod +x and codesign -s - only on bitcoin-core-app. The new helper is uploaded separately and resolved as applicationDirPath()/bitcoin-core-profile-inspector. When extraction loses executable permissions, following the instructions leaves that helper unable to start, so wallet-directory inspection fails. Document keeping both binaries together and applying the executable-permission and signing steps to both. The exact user-visible failure was not traced.
[suggestion] · Captured passphrase QString is released without cleansing
The passphrase handoff wipes its temporary UTF-8 bytes but releases the retained UTF-16 QString without cleansing; this is defense-in-depth rather than an established disclosure.
Location: qml/secretinput.h:32 (head).
Details and suggested fix
Capture() retains the editor text in Input::m_text, a const QString, for the operation's lifetime. Input has no destructor, and materialize() cleanses only its temporary QByteArray. Once the editor clears its copy, the retained value can be the last owner of the UTF-16 allocation, which is then freed unchanged. Make m_text non-const and cleanse its character storage during destruction when isDetached() confirms unique ownership. Keep that cleanup on the existing Native retirement path, and document that independently retained QML-side copies remain outside this guarantee.
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]: The startup rewrite removes error routing that a later commit restores (earlier report)
- [suggestion]: The commit inventory omits the trailing partial #1088 workaround (earlier report)
- [suggestion]: The settings extraction presents a superseded admission contract (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)
Background
Ralph's summary of historical context for the behaviour affected by this change. The historical record reviewed here is incomplete.
Documented decisions
GUI-created PSBT version selection has an interoperability tradeoff distinct from internal or external-signer transport. Historical reports identified failures when GUI-created v2 documents reached pre-v32 Core nodes or other v0-only workflows. The upstream response selected v0 GUI exports without adding translated controls during a backport, while a later author update retained v2 for external signers.
This explains the requested separation between newly created export documents, imported documents, and signer handoff. Compatibility is part of the user's offline or multisig workflow, not simply a serialization preference. The final application export branch was not inspected, so this entry establishes the rationale rather than verifies its implementation.
Source 1 · Source 2 · Source 3 · Source 4
Onboarding previews and settings writes were historically separated because resolving configuration can change the active data directory and network. Earlier work used a scratch argument manager for previews, delayed writes and resets until the final profile was resolved, rejected changed targets, preserved backups, and specified that cancellation must not change settings.
This explains why the settings/startup extraction includes explicit profile ownership and prepared handoff rather than treating onboarding as ordinary live settings editing. The protected resource is the resolved profile, which may differ from the directory initially selected by the user. Detailed head implementation was not traced in this research.