Methodology
Version 1.0.0. Sources last verified 5 December 2026.
Every result on this site comes from the rules on this page applied to public chain data. There is no score, no weighting and no machine-learning model. Given the same list of addresses, the same chain data and the same search depth, the result is always the same, and you can reproduce it by hand.
What is being measured
Bitcoin signatures use the secp256k1 elliptic curve (SEC 2). Shor’s algorithm (Shor, 1995) can recover a private key from its public key on a sufficiently large fault-tolerant quantum computer. It cannot do that from a hash of the key. So the first question for any coin is whether its public key has been published.
Researchers split the threat in two. BIP-360 calls them long-exposure and short-exposure attacks; Google’s 2026 paper calls them at-rest and on-spend attacks. An at-rest attack targets keys that stay visible for a long time. An on-spend attack targets the key while a transaction waits to confirm. This assessment measures at-rest exposure. On-spend exposure applies to every transaction type Bitcoin has today, because the key is public by the time a spend is broadcast, so careful address handling cannot remove it.
The seven rules
R1. Public key is the locking script
Result: Key exposed by script type
Condition. A public key was supplied and a pay-to-public-key (P2PK) output paying it exists on-chain.
Why. A P2PK output stores the full public key in the locking script, so the key has been public since the output was created.
Sources: BIP-360: Pay-to-Merkle-Root (P2MR), draft; Securing Elliptic Curve Cryptocurrencies against Quantum Vulnerabilities: Resource Estimates and Mitigations; Bitcoin Developer Guide: Transactions (standard transaction types)
R2. Taproot output key is in the locking script
Result: Key exposed by script type
Condition. The address is witness version 1 with a 32-byte program (P2TR), and the program is the x-coordinate of a point on the curve.
Why. A Taproot address encodes the tweaked output key directly. Anyone who can solve for that key's discrete logarithm can use the key-path spend.
Sources: BIP-341: Taproot: SegWit version 1 spending rules; BIP-360: Pay-to-Merkle-Root (P2MR), draft; Securing Elliptic Curve Cryptocurrencies against Quantum Vulnerabilities: Resource Estimates and Mitigations
R3. A confirmed spend revealed the key
Result: Key exposed by a past spend
Condition. The address is P2PKH, P2SH, P2WPKH or P2WSH and the indexer reports at least one confirmed spent output.
Why. Spending from a hashed address publishes the public key or the full script in the transaction. The hash no longer hides it, and anything still held at, or later sent to, the same address sits behind a public key.
Sources: BIP-360: Pay-to-Merkle-Root (P2MR), draft; Securing Elliptic Curve Cryptocurrencies against Quantum Vulnerabilities: Resource Estimates and Mitigations; BIP-141: Segregated Witness (Consensus layer)
R4. An unconfirmed spend has broadcast the key
Result: Key exposed by a pending spend
Condition. The address is a hashed type with no confirmed spend, and the indexer's mempool shows at least one output being spent.
Why. The spending transaction is public as soon as it is broadcast. If it confirms, the address moves to rule R3.
Sources: BIP-360: Pay-to-Merkle-Root (P2MR), draft; Securing Elliptic Curve Cryptocurrencies against Quantum Vulnerabilities: Resource Estimates and Mitigations
R5. Key is still behind a hash
Result: Key not exposed on-chain
Condition. The address is P2PKH, P2SH, P2WPKH or P2WSH and the indexer reports no spent outputs, confirmed or unconfirmed.
Why. No spend from this address has published its key or script; only a hash of it is on-chain here. It becomes public the first time the owner spends. This rule sees one address at a time: the same key can still be visible under another address type or off-chain.
Sources: BIP-360: Pay-to-Merkle-Root (P2MR), draft; Securing Elliptic Curve Cryptocurrencies against Quantum Vulnerabilities: Resource Estimates and Mitigations
R6. No rule decides this script
Result: Not classified
Condition. One of: a valid SegWit address whose witness version or program length has no defined meaning on mainnet; a Taproot program that is not a point on the curve; a spend that revealed a script containing no public key; or a public key with no pay-to-public-key output on-chain.
Why. Future witness versions are reserved for soft forks, a script without a key gives a quantum attacker no key to target, and a key that is not on-chain is not exposed by the chain. In each case the engine reports that it has no rule, and does not guess.
Sources: BIP-141: Segregated Witness (Consensus layer); BIP-350: Bech32m format for v1+ witness addresses; BIP-360: Pay-to-Merkle-Root (P2MR), draft
R7. Same key is revealed elsewhere in this assessment
Result: Key exposed through a linked script
Condition. The address has no spend of its own, but a public key revealed by another assessed script hashes to this address.
Why. An address of these types is a hash of a public key, so one key maps to several addresses. Once the public key is known from any of them, every address derived from it is exposed.
Sources: Bitcoin Developer Guide: Transactions (standard transaction types); BIP-141: Segregated Witness (Consensus layer); BIP-360: Pay-to-Merkle-Root (P2MR), draft
How an address becomes a finding
- Decode locally. Base58Check, Bech32 (BIP-173) and Bech32m (BIP-350) are decoded in your browser, with checksums and witness program lengths enforced. Testnet addresses and extended public keys are refused, and anything recognised as a private key, an extended private key or a seed phrase stops the check before a single request is made.
- Read the counts. Your browser asks mempool.space for the address’s funded and spent output totals, confirmed and unconfirmed. Responses are validated; totals are handled as exact integers.
- Apply one rule. The script type, together with the funded and spent output counts, selects exactly one of the seven rules.
- Find the proof. For an address exposed by a spend, the page searches the address’s most recent transactions (25 to 75 at first, up to 300 on request) for a spend and reads the public key or script it revealed. If none is found in that range, the finding says so.
- Verify the proof. The revealed key or script is hashed in your browser (HASH160 or SHA-256) and must equal the hash inside your address. Evidence that does not match is thrown away, never shown. Every key a report lists is tied to the address in this way: it hashes to the address, it is written inside a script that hashes to the address, or that script holds the key’s hash in the standard pay-to-key-hash form. That link does not depend on trusting the explorer. A key that a script checked a signature against but that cannot be tied to the address like this is not listed; when no key can be listed at all, the finding says that a key was published without naming one. The transaction ID, the block height, the balances and the statement that an address has never spent do come from the explorer.
- Cross-check. Optionally, the same counts are read from blockstream.info, a separately operated explorer, and compared. The two services run related software, so agreement shows they hold the same data, not that two unrelated implementations reached the same answer. When only one of them reports a spend, the more cautious reading is shown.
- Link shared keys. Each revealed key is converted to every single-key script form it can control. If one of those is another address in your list, that address is marked exposed under rule R7.
The second axis: can it be attacked today
An exposed public key is a precondition for a quantum attack, not the attack itself. Recovering a private key from a public key requires running Shor's algorithm on a fault-tolerant, cryptanalytically relevant quantum computer. NIST's October 2026 transition report states that no such computer currently exists.
A widely cited public estimate, from Google Quantum AI in March 2026, is that breaking a 256-bit elliptic-curve key would take fewer than 500,000 physical qubits running for minutes on a superconducting architecture with 0.1% physical error rates. Other published estimates assume different hardware and arrive at different figures. All of them describe what would be needed, not a machine that has been built.
Exposure matters because it is permanent. A key that is public today stays public, so funds left behind it would be within reach of such a machine if one is built, without the owner doing anything further.
For context on timelines: NIST IR 8547 schedules quantum-vulnerable signature algorithms, ECDSA included, to be deprecated after 2030 and disallowed in US federal standards after 2035. Bitcoin is not bound by that schedule, but it shows when a cautious standards body expects the transition to be finished. NIST has standardised post-quantum signatures in FIPS 204 and FIPS 205. Bitcoin has not yet adopted any; BIP-360 and BIP-361 are drafts.
The remediation estimate
When a balance sits behind an exposed key, the report estimates the block space and fee needed to sweep it to a fresh pay-to-witness-public-key-hash address. Input and output sizes use the virtual-size accounting of BIP-141 and the component sizes listed by the Bitcoin Optech calculator: 148 vbytes for a P2PKH input, 68 for P2WPKH, 57.5 for a Taproot key-path input, 31 for the output. A P2PKH input whose revealed key is uncompressed is counted at 180. Multisig inputs are sized from the script found in the evidence. Fee rates are read live.
- Moving coins to a fresh hashed address removes long-exposure (at-rest) risk only. Bitcoin has no activated post-quantum signature scheme; BIP-360 is a draft.
- The sweep itself publishes the key while the transaction waits in the mempool. That short-exposure window cannot be avoided with current consensus rules.
- Send to an address that has never been used and never spend from it partially. Do not move funds to a Taproot (bc1p) address if the goal is to hide the key.
- Combining many outputs in one transaction links the addresses publicly. Weigh that against the fee saving.
- Estimates assume one sweep per address into a single P2WPKH output and 72-byte signatures. Key sizes are taken from the revealing transaction where one was found, and assumed compressed otherwise.
Known limits
- Only on-chain Bitcoin mainnet data is assessed. A public key can also become known off-chain: through a signed message, a spend of the same key on a fork such as Bitcoin Cash, or an extended public key (xpub) shared with a wallet service, exchange or accountant.
- "Not exposed" means no spend from that address has published its key. Linked exposure (rule R7) is detected only between scripts in the same assessment, so a never-spent address can still share a key with a P2PK output or another address that was not included.
- Classification relies on the transaction counts reported by the block explorer API. Where evidence is shown, the revealed key or script has been re-hashed locally and matched to the address; where it is not, the finding rests on the indexer's spent-output count.
- A multisig or other script address counts as exposed once its script is revealed and contains a public key, even though an attacker would need to break as many keys as the script's threshold requires. A revealed script with no public key is reported as not classified.
- Balances and exposure reflect the chain at the time of the assessment and change as transactions confirm.
- This is a technical exposure assessment. It is not an audit opinion, a guarantee of security, or financial advice.
How the rules are tested
Address decoding is tested against the published vectors in BIP-173, BIP-350 and BIP-341, and against Bitcoin Core’s own key_io test data, including the cases that must be rejected. Evidence extraction is tested against recorded mainnet spends of each script type, with tampered copies that must fail verification. Live tests confirm that mempool.space and blockstream.info agree on reference addresses.
Sources
- BIP-141: Segregated Witness (Consensus layer). Bitcoin Improvement Proposals, 2015.
- BIP-173: Base32 address format for native v0-16 witness outputs. Bitcoin Improvement Proposals, 2017.
- BIP-350: Bech32m format for v1+ witness addresses. Bitcoin Improvement Proposals, 2020.
- BIP-341: Taproot: SegWit version 1 spending rules. Bitcoin Improvement Proposals, 2020.
- BIP-13: Address Format for pay-to-script-hash. Bitcoin Improvement Proposals, 2011.
- BIP-360: Pay-to-Merkle-Root (P2MR), draft. Bitcoin Improvement Proposals, 2024, revised 2026.
- BIP-361: Post Quantum Migration and Legacy Signature Sunset, draft. Bitcoin Improvement Proposals, 2026.
- Bitcoin Developer Guide: Transactions (standard transaction types). developer.bitcoin.org, ongoing.
- SEC 2: Recommended Elliptic Curve Domain Parameters, version 2.0 (secp256k1). Standards for Efficient Cryptography Group, 2010.
- Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer. Peter W. Shor, arXiv:quant-ph/9508027, 1995.
- Securing Elliptic Curve Cryptocurrencies against Quantum Vulnerabilities: Resource Estimates and Mitigations. Babbush et al., Google Quantum AI; IACR ePrint 2026/625, March 2026.
- Safeguarding cryptocurrency by disclosing quantum vulnerabilities responsibly. Google Research, 31 March 2026.
- NIST IR 8547: Transition to Post-Quantum Cryptography Standards. National Institute of Standards and Technology, 27 October 2026.
- FIPS 204: Module-Lattice-Based Digital Signature Standard (ML-DSA). National Institute of Standards and Technology, August 2024.
- FIPS 205: Stateless Hash-Based Digital Signature Standard (SLH-DSA). National Institute of Standards and Technology, August 2024.
- Measuring Bitcoin's Quantum-Exposed Supply. Glassnode Research, 20 May 2026.
- Bitcoin Optech transaction size calculator. Bitcoin Optech, ongoing.
- mempool.space REST API documentation. mempool.space, ongoing.
- Esplora HTTP API. Blockstream, ongoing.