Skip to content
Veiledkey

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

  1. 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.
  2. 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.
  3. Apply one rule. The script type, together with the funded and spent output counts, selects exactly one of the seven rules.
  4. 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.
  5. 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.
  6. 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.
  7. 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.

Known limits

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

Check your addresses