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

wallet: Add addhdkey RPC

Public commit record

What the developer wrote

Authored by Ava Chow

28/100 · Opaque
wallet: Add addhdkey RPC
✓ Subject identifies a change! No meaningful explanatory body
The short version

What changed, and why it matters

This commit adds a new wallet RPC command called addhdkey that lets users import a BIP32 extended private key (xprv) into a Bitcoin Core wallet, or generate a fresh random one. It is a feature addition, not a bug fix. The code checks that the wallet stores private keys, requires the wallet to be unlocked, rejects plain xpubs, and refuses duplicate keys. There is no indication in the commit that this fixes a security vulnerability.

Recommended action

Review as a normal feature addition. If deploying, ensure RPC access controls and wallet encryption practices are adequate because addhdkey accepts highly sensitive extended private keys. No urgent security patch action is indicated by this commit alone.

Security signals we found

01

New RPC exposes xprv import surface

02

Requires wallet to be unlocked (EnsureWalletIsUnlocked)

03

Blocked on wallets with WALLET_FLAG_DISABLE_PRIVATE_KEYS

04

Validates input and distinguishes xpub from xprv

05

No bug-fix or vulnerability-disclosure language in commit

Risk score

Why this scored 23/100

Our methodology →
Potential impact 2/30
Exploitability 3/25
Stealth signal 2/15
Affected reach 4/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.