Bitcoin Quantum Exposure Checker
A quantum computer large enough to run Shor's algorithm could work out a private key from a public key. On Bitcoin, some outputs show the public key from the moment coins arrive, others only once they are spent. Draft BIP-360 sets out which is which. Paste your addresses, output scripts or descriptors and see which keys are already on chain, and what to move first. Background in our write-up on Bitcoin, BIP-361 and this week's NSA advisory.
Runs in your browser with no network requests and no balance lookups. It never asks for keys: anything that looks like a private key or seed phrase is removed before checking. No source says secp256k1 is broken today. Not investment advice.
Paste addresses, scripts or descriptors
One per line: addresses (1…, 3…, bc1q…, bc1p…, testnet), output scripts in hex, descriptors such as wpkh(…), or an xpub. A label before or after the address is fine. Up to 500 items.
Never paste a private key, WIF, xprv or seed phrase. Anything that looks like one is removed before checking and is not analysed.
Loading…
Sample report · illustrative data
Sample result: quantum exposure of test-vector addresses
Ten test items: a P2PK output script, a Taproot address, a legacy address marked "spent from", P2SH, native SegWit P2WPKH and P2WSH (testnet), a wpkh() descriptor, an undefined witness v2 address and one address with a broken checksum. Never send funds to any of them.
Summary
- Items checked
- 9 (one comment line skipped)
- Public key exposed now
- 2 (P2PK, Taproot)
- Exposed because spent from or reused
- 1 (legacy 1… address)
- Hidden until spent
- 4 (P2SH, P2WPKH, P2WSH, wpkh descriptor)
- Invalid or not defined yet
- 1 invalid checksum, 1 undefined witness version
Items (excerpt)
| Item | Type | Network | Verdict |
|---|---|---|---|
| 21 0279be…1798 ac | P2PK output script | any | Public key exposed now |
| bc1p0xlx…5jj0 | P2TR (Taproot) | mainnet | Public key exposed now |
| 1BgGZ9tc…SAMH | P2PKH (legacy) | mainnet | Exposed (spent from or reused) |
| 3CNHUhP3…dGdk | P2SH | mainnet | Hidden until spent |
| BC1QW508…F3T4 | P2WPKH | mainnet | Hidden until spent |
| tb1qrp33…l5k7 | P2WSH | testnet | Hidden until spent |
| bc1zw508…xpcs | Witness v2 (undefined) | mainnet | Not defined yet |
| bc1qw508…f3t5 | Bech32 address | unknown | Invalid: checksum does not match |
What to do first
- Move coins out of P2PK outputs to a fresh hash-type address (P2WPKH, or P2WSH for multisig) from a wallet you control; test with a small amount first.
- Empty addresses you have already spent from or reused, and stop sending to them.
- Decide what Taproot holdings should stay in Taproot: BIP-360 lists Taproot as exposed to long-exposure attacks. A trade-off, not a prediction.
- Keep hash-type addresses single-use: receive once, spend once, change to a new address.
- Do not send funds to undefined witness versions, including the bc1z version draft BIP-360 proposes for P2MR.
Made-up example data. Your own run uses your inputs. Downloads of the full report need Pro.
TL;DRWhat this checker does
5 points
- Tells you, for each Bitcoin address, output script or descriptor, whether its public key is already visible on chain: the condition for a long-exposure quantum attack.
- Addresses are decoded with their real checksums (Base58Check, Bech32, Bech32m), so typos and tampered copies show up as invalid.
- P2PK and Taproot (bc1p) show the key from the start; legacy, P2SH and native SegWit bc1q show only a hash until the first spend. Tick "spent from or reused" to see the difference.
- Ranked actions say what to move first and what to keep single-use. It does not look up balances and is not investment advice.
- Runs in your browser with no network requests. It never asks for keys: private keys, xprvs and seed phrases are removed before checking.
Exposure by output type (draft BIP-360)
| Output type | What is on chain | Long-exposure verdict |
|---|---|---|
| P2PK (pay to public key) | Public key is in the output | Exposed now |
| P2MS (bare multisig) | Public keys are in the output | Exposed now |
| P2TR (Taproot, bc1p) | Tweaked public key is the output; key path can spend | Exposed now |
| P2PKH (legacy, 1…) | Hash of the key until the first spend | Hidden until spent or reused |
| P2WPKH (bc1q, 42 characters) | Hash of the key until the first spend | Hidden until spent or reused |
| P2SH (3…) and P2WSH (bc1q, 62 characters) | Hash of the script; keys revealed on spend | Hidden until spent or reused |
| Extended public keys and descriptors | Anyone holding them can derive every public key | Keep private |
BIP-360 also describes short-exposure attacks on a key revealed in the mempool while a spend waits to confirm; only post-quantum signatures address those, and no such signature scheme is active on Bitcoin.
How to read the result
Exposed now means the key is in the output itself. Hidden until spent means only a hash is on chain; once you spend from that address (or reuse it), tick the box and it moves to exposed. The tool cannot see the chain, so it cannot know your history: the tick is your input.
Witness versions with no rules today (including the bc1z version draft BIP-360 proposes for P2MR) are flagged: do not hold funds there. Invalid checksums usually mean a typo or a tampered copy. For the organisation side of the migration, scan your own code with the Post-Quantum Code Scanner, check your web servers with the Post-Quantum TLS Checker, and practise wallet decisions in the Crypto Wallet Security Lab.
Sources
Frequently asked questions
Is Bitcoin broken by quantum computers?
No source we read says so. No public quantum computer can derive a secp256k1 private key from a public key today, and no government statement we read names secp256k1 as broken. The risk this tool describes is about the future: coins whose public key is already on chain would be the first a large enough quantum computer could target.
Which Bitcoin addresses are exposed to quantum attacks?
Draft BIP-360 lists P2PK, bare multisig (P2MS) and Taproot (P2TR) as vulnerable to long-exposure attacks, because the public key is in the output. P2PKH, P2SH, P2WPKH and P2WSH show only a hash and become vulnerable once their script reveals a public key, which happens on the first spend or when an address is reused.
Does this tool check my balance or contact a block explorer?
No. It makes no network requests. It reads the text you paste, decodes it in your browser and never uploads it. That is also why it cannot know whether you have spent from an address: tick "spent from or reused" yourself.
Why does it remove some lines?
It never needs a private key. Lines that look like a WIF private key, an extended private key (xprv, tprv, yprv, zprv), a 12 or 24 word seed phrase or a raw 32-byte hex key are blanked out before anything is analysed. If you pasted a real one into any website, treat it as compromised.
What is BIP-361?
A draft proposal by Jameson Lopp and co-authors for a post-quantum migration. After a post-quantum output type exists, Phase A would stop sends to quantum-vulnerable addresses and Phase B would restrict legacy ECDSA and Schnorr spends unless a quantum-safe rescue protocol is used. It is a draft: nothing in it is active on Bitcoin.
Should I move my coins out of Taproot?
That is your decision, not a recommendation from us. BIP-360 lists Taproot as exposed to long-exposure attacks; moving to a hash type costs fees and can reduce privacy. The tool lists it as a medium priority trade-off, below P2PK and reused addresses.
More tools like this
Related tools and labs, with new picks every day.