AI-generated analysisPublished automatically and not human-verified. Validated context appears in community notes below.
← Watch feed
Low 34 Bitcoin

walletrpc: reject listdes with priv key on w-only wallets

Public commit record

What the developer wrote

Authored by Novo

50/100 · Thin
walletrpc: reject listdes with priv key on w-only wallets
✓ Specific, descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
The short version

What changed, and why it matters

This commit tightens a Bitcoin Core wallet RPC command so that watch-only wallets (which intentionally never store private keys) can no longer be asked to export private-key versions of their descriptors. Previously, the command would attempt to produce a private descriptor string and fail with a generic error; now it rejects the request up front with a clear message. It also replaces an error-handling path with an internal consistency check. The change is defensive and reduces the chance of misleading behavior or future bugs, but it does not appear to expose funds on its own.

Recommended action

No immediate action required beyond normal review and backport consideration. The change is a hardening fix; operators should ensure they are running a version that includes it if they rely on watch-only descriptor wallets.

Security signals we found

01

Adds explicit access-control guard for private descriptor export on watch-only wallets

02

Replaces recoverable RPC error with non-fatal assertion (CHECK_NONFATAL) after guard makes failure unreachable

03

Includes functional test update asserting the new rejection behavior

Risk score

Why this scored 34/100

Our methodology →
Potential impact 8/30
Exploitability 5/25
Stealth signal 3/15
Affected reach 6/15
Confidence 8/10
Evidence quality 4/5
Human-validated context

Community notes

Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.

No validated notes yet.

The AI analysis stands alone for now. Submit a note if you can add evidence or important context.