Claim. A wallet can decrease its quantum exposure today if it treats each extended public key (xpub) as a secret. An xpub holds a public key itself, not a hash of it. An attacker who has a copy of an xpub and a quantum computer gets each non-hardened private key below that xpub. This includes the keys of addresses that never spent coins.
Reasoning. In BIP-32, a non-hardened child key is the parent key plus HMAC-SHA512(chain code, parent public key || index). The xpub is the parent public key and the chain code. CPubKey::Derive (src/pubkey.cpp:341-355) needs only those two values. Thus the attacker breaks one key, the public key in the xpub. Then the attacker computes each child private key from the HMAC offsets, with no second quantum computation. BIP-32 already warns that an xpub and one non-hardened child private key give the parent private key. BIP-360 notes that xpubs and wallet descriptors reveal public-key data that a quantum computer can attack.
Consequence. A common rule says: an address that never spent is safe, because the chain shows only a hash. That rule is correct only while the xpub above the address stays private. Xpubs are copied to watch-only servers, payment processors, PSBT files, descriptor backups and cosigners. They stay there for years. Counts of exposed keys from chain data do not include this exposure.
Wallet practice (no fork).
- Store and send an xpub as you do key material: access control, encryption at rest, never in logs or URLs.
- Export only below a hardened level (the account level of BIP-44, 84 and 86). Give each service its own hardened account. Then one xpub exposes one account.
- If a copy of an xpub is outside your control, move the coins to a new account in good time.
- Do not use an address again.
What it protects. Coins at addresses whose public key is not on-chain.
What it does not protect. Outputs that publish the key (P2PK, P2TR, addresses used again). Keys in the time between broadcast and confirmation. An xpub that an attacker already copied.
What argues against it.
- Watch-only wallets, payment servers and multisig setup need shared xpubs. Full secrecy conflicts with these functions.
- No public data shows how many xpubs third parties hold. The size of this exposure is unknown.
- Hardened derivation and the seed are not affected. A wallet that never exports an xpub has no added risk here.
Disclosure. The filer is the author of pqc-audit, the tool that made the linked report. The report is an example of the output of the tool. It is not a security review, and the Bitcoin Core project does not endorse it.