This research paper is based on an analysis of leaked Mt. Gox data and a quantum-based methodological framework. From 2011 to 2013, Mt. Gox was the largest Bitcoin exchange. The leaked transaction history allowed the researchers to discover systematic anomalies: 12.5% of accounts traded at extreme prices, forming dense clusters and repeating patterns (self-loops, bidirectional links, triangles). Singular value decomposition (SVD) of daily graph snapshots revealed underlying networks correlated with the Bitcoin price with Pearson coefficients up to 0.87. In this paper, we ask a testable question: can these same graph methods be reused to identify transaction structures that increase Bitcoin’s quantum vulnerability? We relate three lines of evidence: (1) static graph analysis of Mt. Gox, (2) temporal SVD analysis and manipulation patterns, (3) a quantum threat model for Bitcoin ECDSA signatures based on Shor’s algorithm. We formulate three testable hypotheses and show that graph metrics (clustering, edge recurrence, flow concentration) are natural indicators of public key exposure—the key condition for a quantum attack.
Keywords: Bitcoin, Mt. Gox, graph analysis, SVD, market manipulation, quantum computing, Shor’s algorithm, ECDSA, post-quantum cryptography, public key exposure.
Content
- Problem statement: from manipulation to quantum threat
- Mt. Gox Account Data and Classification
- Static graph analysis: clusters, degrees, power law
- Temporal SVD Analysis and Basic Networks
- Manipulation patterns as indicators of structure
- Quantum Threat to Bitcoin: Model and Resources
- The Connecting Link: Graph Metrics as a Proxy for Quantum Vulnerability
- Testable hypotheses and experimental design
- Open questions and the next step
- Conclusion
- Sources
1. Statement of the problem: from manipulation to quantum threat
The cryptocurrency market has long been without effective oversight. A study of leaked Mt. Gox data (Chen et al., 2019) showed that the extreme price fluctuations of Bitcoin in 2013 were not random, but were driven by coordinated activity from a limited number of accounts. The authors used graph analysis and SVD to show that transactions between anomalous accounts are highly correlated with price, and that the transactions themselves form repeating patterns—self-loops, bidirectional links, triangles, and “stars.”
Today, the cryptocurrency market faces a new threat. Bitcoin uses ECDSA over the secp256k1 curve for digital signatures. Shor’s algorithm theoretically allows a private key to be recovered from a public key in polynomial time on a sufficiently large quantum computer. The key question is: when and for which transactions is the public key revealed to an attacker? In Bitcoin, the public key is revealed when the output is spent (in scriptSig). The address is the hash of the public key, so until the first spend, a quantum attacker only sees the hash.
A natural connection emerges: the transaction patterns identified in Mt. Gox (channel reuse, high flow concentration, multiple interactions between the same accounts) may be indicators that public keys have been exposed multiple times. This makes graph methods not only a tool for manipulation detection but also a potential tool for assessing quantum risk.
The central question under investigation is: Can graph metrics developed for detecting manipulation on Mt. Gox (clustering coefficient, edge frequency, flow concentration) serve as proxy indicators of quantum vulnerability in Bitcoin transactions, as measured by the frequency and duration of public key exposure?
2. Mt. Gox Account Data and Classification
The leaked dataset spans April 2011–November 2013 and contains approximately 18 million rows, which after cleansing (removing duplicates, incomplete transactions, and repeated complete transactions) are reduced to 6.7 million completed transactions. Each completed transaction is represented by two rows with the same Trade_Id: seller ( Type=sell) and buyer ( Type=buy).
The authors compare the actual price of each transaction ( Money/Bitcoins) with the Mt. Gox benchmark price downloaded from quandl.com. A transaction is considered anomalous if its price falls outside the range , where and are the minimum and maximum benchmark prices of the day .(0.5·Lt, 1.5·Ht)LtHtt
| Category | Number of accounts | Number of transactions | Anomalous transactions |
|---|---|---|---|
| EHA (extremely high price) | 10 702 | 1,406,850 | 179,701 |
| ELA (extremely low price) | 5,835 | 2,486,807 | 85,784 |
| ABA (all abnormal) | 14,916 | 3,025,992 | 194,790 |
| NMA (normal) | 104,427 | 8,126,500 | 0 |
| Total | 119,343 | 6,775,117 | 194,790 |
Four observations from the table:
- Anomalous accounts make up 12.5% of all accounts, which is too high to be random.
- The proportion of anomalous transactions among ABA is 2.8%, which confirms its systematic rather than random nature.
- Over 41% of all transactions are “normal” trades within anomalous accounts, indicating liquidity provision or the creation of fictitious volume.
- The amount of transactions within ABA and NMA is significantly less than the total number, meaning that many transactions are taking place between abnormal and normal accounts—a sign of artificial market stimulation.
Observation 1. Anomalous transactions are not random (2.8% vs. the expected rate of <<1%). Anomalous accounts behave normally in most trades, but systematically engage in extreme trades. The most likely purposes are liquidity provision, wash volume, and price manipulation.
3. Static graph analysis: clusters, degrees, power law
Each transaction is interpreted as a directed edge between the seller and the buyer. Three graphs are constructed: EHG (EHA only), ELG (ELA only), NMG (NMA only), and aggregated ABG and CG.
| Graph | Nodes | Ribs | Clustering coefficient | Average degree | Average weighted degree |
|---|---|---|---|---|---|
| EHG | 10 702 | 212,900 | 0.30 | 19.89 | 505.43 |
| ELG | 5,835 | 413 881 | 0.42 | 70.93 | 3 107.68 |
| ABG | 14,916 | 612 885 | 0.31 | 41.09 | 1,439.04 |
| NMG | 86,457 | 655 882 | 0.03 | 7.59 | 76.21 |
| CG | 119,343 | 2,682,719 | 0.28 | 22.48 | 426.54 |
Three key observations:
- Clustering. EHG and ELG have coefficients of 0.30 and 0.42, respectively, versus 0.03 for NMG. If two anomalous accounts trade with a third, they are highly likely to trade with each other. This is a sign of coordinated control, not random trades.
- Degrees. The average EHG and ELG degrees are 3-9 times higher than NMG. Anomalous accounts are used more frequently.
- Power law. The degree distributions of all graphs are close to , with α for anomalous graphs being smaller (2.88 for EHG, 2.59 for ELG) than for NMG (2.18), indicating lower variability—a possible sign of centralized control.
y ~ x-α
Observation 2. Anomalous accounts form dense clusters with high average degrees and abnormally high clustering. This is a statistically significant deviation from a normal market and a strong indicator of coordinated manipulation.
4. Temporal SVD Analysis and Basic Networks
The authors construct daily graph snapshots after December 1, 2012 (the period of sharp price increases and the peak of anomalous activity). Each snapshot is represented by a vector of edge weights of length . A matrix of size is formed from these vectors and normalized (the sum of each row is equal to 1, then the column means are subtracted).gtLXT × L
X = U Σ V T
Interpretation:
- Right singular vectors – base networks: the weight of each edge in the -th base network.
vii - Left singular vectors – time dynamics: contribution of the i-th underlying network on day .
uiit - Singular values are the importance of the underlying network.
σi
The correlation of the first left singular vector with the log-transformed price is shown in the table:B(t) = log1000 P(t)
| Graph | ρ P (1st network) | ρ S (1st network) | ρ K (1st network) | ρ P (10 networks) | ρ S (10 networks) | ρ K (10 networks) |
|---|---|---|---|---|---|---|
| EHG | 0.56 | 0.60 | 0.44 | 0.81 | 0.807 | 0.62 |
| ELG | 0.58 | 0.82 | 0.64 | 0.87 | 0.834 | 0.652 |
| NMG | 0.05 | 0.15 | 0.12 | 0.239 | 0.398 | 0.289 |
A combination of the first 10 base networks (the choice was justified by the “rocky” singular value graph) yields a Pearson correlation of 0.81 for EHG and 0.87 for ELG, while for NMG it is only 0.24. This means that the dynamics of transactions between anomalous accounts explains a significant portion of Bitcoin’s price fluctuations.
Observation 3. Base networks built from transactions by anomalous accounts are highly correlated with the Bitcoin price (ρ up to 0.87). Base networks of normal accounts do not show such a correlation. This is direct evidence of price manipulation.
5. Manipulation patterns as indicators of structure
From the first 10 base networks, the authors extract the top 10 edges by absolute weight. In EHG, 44 distinct edges and 28 accounts were found; in ELG, 57 edges and 46 accounts. These accounts are called “core anomalies.” Their daily subgraphs reveal six typical patterns:
| Pattern | Description | Example |
|---|---|---|
| Self-loop | The account trades with itself | Account 231 made 749 trades with itself on February 7, 2013. |
| Unidirectional | Multiple sales from A to B | Account 527332 → 231: 322 sales 08/15/2013 |
| Bidirection | Two accounts trade with each other repeatedly | 144834 ↔ 231: more than 150 transactions 04/14/2013 |
| Triangle | A cycle of three accounts | 282004 → 71885 → 490089 → 282004, October 25, 2013 |
| Polygon | A more complex cycle with multiple edges | Quadrupole 282004 → 488195 → 231 → 527332, 09.19.2013 |
| Star | The central account trades with many | 282004 sells 488195, 490089, 527332, 231 |
Each edge in these patterns represents not just one, but dozens or hundreds of transactions in a single day. Such concentration is statistically impossible in a random market. The patterns indicate a group of connected accounts acting in concert.
Observation 4. Self-loop, bidirection, triangle, polygon, and star patterns with hundreds of transactions per day are structural “fingerprints” of manipulation. They indicate the repeated use of the same channels between a limited number of accounts.
It’s this last property—the repeated use of the same channels—that creates the bridge to a quantum threat. If the same account spends outputs multiple times, its public key is exposed repeatedly over a long period of time. For a quantum attacker, this expands the window of opportunity.
6. Quantum Threat to Bitcoin: Model and Resources
Bitcoin uses ECDSA over the secp256k1 curve. The signature is verified using the public key Q = d·G, where d is the private key. Shor’s algorithm solves the discrete logarithm problem on a set of elliptic curve points in polynomial time. Resource estimates from the literature (Roetteler et al., 2017; Häner et al., 2020) give on the order of logical qubits and Toffoli gates for factoring 2048-bit RSA; for 256-bit ECDSA, the estimates are lower but still require millions of physical qubits with error correction.2·109~1011
6.1 When the public key is available to an attacker
In Bitcoin, the public key isn’t stored in plaintext on the blockchain until it’s spent. The address is RIPEMD160(SHA256(Q)). An attacker with a quantum computer, seeing only the address, can’t apply Shor’s algorithm directly: they need Q. The public key Q appears scriptSig when the output is spent. From that moment until the transaction is confirmed (an average of 10 minutes per block, with 6 confirmations recommended, or ≈ 1 hour), there’s a window during which a quantum attacker could theoretically recover d and intercept the funds.
The key condition for a quantum attack on Bitcoin. An attack is possible only if three conditions are met simultaneously: (1) the public key Q is revealed in the mempool or block; (2) the quantum computer is large enough to recover d within the recovery window; (3) the attacker manages to conduct a competing transaction with a higher fee.
6.2 What does this mean for graph analysis?
Condition (1) is directly related to the transaction structure. Accounts that repeatedly spend outputs (high degree, repeated edges, bidirection and star patterns) expose their public keys more frequently and over longer intervals. Accounts that reuse addresses do so systematically. Thus, the graph metrics identified in Mt. Gox can serve as a proxy for the frequency and duration of public key exposure.
7. The Bridge: Graph Metrics as a Proxy for Quantum Vulnerability
Let’s compare Mt. Gox metrics with the conditions of a quantum attack:
| Mt. Gox metric | What does it measure? | Connection to quantum vulnerability |
|---|---|---|
| Clustering coefficient (0.30–0.42 for EHG/ELG) | Triangle density among accounts | High clustering → multiple interactions → key re-exposure |
| Average (19.9–70.9) | Number of counterparties | High degree → more spending → more revealed Q |
| Edge recurrence (edges << transactions) | Channels are used multiple times | Address reuse → long-term exposure |
| Bidirection pattern | A↔B multiple times | Both keys are revealed multiple times in one channel |
| Star pattern | The center trades with many | The central key is the one most often exposed |
| Self-loop pattern | A trades with itself | Technically impossible for normal accounts, but means multiple use of one key |
The link hypothesis: transaction structures identified as anomalous by graph analysis of Mt. Gox statistically coincide with structures that maximize public key exposure. If this is true, the methods from Chen et al. (2019) could be reused for screening for quantum risk in blockchain data.
8. Testable hypotheses and experimental design
Hypothesis H1 (structural)
Accounts classified as EHA/ELA by the Mt. Gox method exhibit statistically significantly higher address reuse rates and longer public key exposure intervals than NMA.
Rebuttal criterion: The difference in address reuse frequency between ABA and NMA is not significant after p < 0,05 controlling for transaction volume.
Hypothesis H2 (SVD relationship)
Edges that are in the top 10 of the SVD baseline networks (i.e., most highly correlated with price) are characterized by higher recurrence and higher flow concentration than randomly selected edges of the same graph.
Refutation criterion: the distribution of frequency and concentration for the top 10 edges is statistically indistinguishable from a random sample.
Hypothesis H3 (patterns)
The bidirection, star, and triangle patterns found in daily subgraphs are statistically associated with a higher proportion of spends with the public key exposed compared to the background level.
Refutation criterion: the share of expenditures with disclosure Q in patterns does not exceed the background share in the control sample.
Experimental design
- Data: leaked Mt. Gox dataset (2011–2013) + public Bitcoin blockchain data for the same period.
- Matching: Link
User_IdMt. Gox to Bitcoin addresses through heuristics (common inputs, temporal correlations). - Metrics: address reuse rate, average spend interval, share of outputs
Qexposed in the mempool. - Statistics: comparison of ABA vs NMA distributions (Mann–Whitney U), logistic regression with control for volume and time.
- SVD analysis: construct daytime images, extract top 10 base networks, compare edge frequency with the validation set.
- Pattern analysis: For each pattern, calculate the proportion of spending with disclosure
Qand compare with the background level.
Important: Hypotheses H1–H3 do not assert that Mt. Gox’s manipulations directly created a quantum vulnerability. They assert that graph-based methods developed for manipulation detection can be reused as a quantum risk screening tool . This is a methodological, not a causal, connection.
9. Open questions and the next step
- Scaling SVD. The matrix
Xfor the full Bitcoin blockchain has millions of columns. Which approximate methods (randomized SVD, incremental factorization) preserve the interpretability of the underlying networks? - Anonymization.
User_IdAddress linking heuristics are imperfect. How do linking errors affect H1-H3 statistics? - Time dynamics. Key exposure is a temporal process. How can SVD analysis be combined with survival models to estimate the attack window duration?
- Post-quantum alternatives. How will inferences change if Bitcoin switches to post-quantum-resistant signatures (e.g., lattice- or hash-based)?
- Ethical Restrictions. Reusing leaked Mt. Gox data for quantum risk analysis requires privacy and legal protections.
The next experiment, which will best distinguish between the competing explanations, is to compare the public key exposure rate for edges in the top 10 baseline SVD networks with a control sample of edges in the same graph, stratified by volume and time. If hypothesis H2 is confirmed, this will provide direct evidence that SVD analysis, designed for manipulation detection, is also a tool for assessing quantum risk.
10. Conclusion
We linked three lines of evidence: (1) a static graph analysis of Mt. Gox, which revealed dense clusters of anomalous accounts; (2) a temporal SVD analysis, which showed a correlation of the underlying networks with the Bitcoin price of up to 0.87; and (3) a quantum threat model for Bitcoin’s ECDSA, where the key condition for attack is public key exposure. We formulated three testable hypotheses that graph metrics developed for manipulation detection can serve as proxies for quantum vulnerability.
The central conclusion: cryptocurrency network analysis methods developed to combat manipulation have a second application: assessing the resilience of blockchain systems to quantum attacks. This opens a new direction at the intersection of graph analysis, cryptanalysis, and post-quantum cryptography.
For readers interested in quantum technologies: Bitcoin is not only a cryptographic system but also a socioeconomic network. The quantum threat to it is determined not only by the size of the quantum computer but also by the structure of transaction patterns. Understanding this connection is essential for a meaningful migration to post-quantum standards (FIPS 203, 204, 205) and for protecting the market from manipulation during the transition period.
Sources
- Chen W., Wu J., Zheng Z., Chen C., Zhou Y. Market Manipulation of Bitcoin: Evidence from Mining the Mt. Gox Transaction Network // arXiv:1902.01941v1. 2019.
- Nakamoto S. Bitcoin: A Peer-to-Peer Electronic Cash System. 2008.
- Gandal N., Hamrick J., Moore T., Oberman T. Price Manipulation in the Bitcoin Ecosystem // Journal of Monetary Economics. 2018. Vol. 95. P. 86–96.
- Feder A., Gandal N., Hamrick J., Moore T. The Impact of DDoS and Other Security Shocks on Bitcoin Currency Exchanges: Evidence from Mt. Gox // Journal of Cybersecurity. 2018. Vol. 3, No. 2. P. 137–144.
- Kondor D., Csabai I., Szüle J., Pósfai M., Vattay G. Inferring the Interplay between Network Structure and Market Effects in Bitcoin // New Journal of Physics. 2014. Vol. 16, No. 12. P. 125003.
- Roetteler M., Naehrig M., Svore KM, Lauter K. Quantum Resource Estimates for Computing Elliptic Curve Discrete Logarithms // ASIACRYPT 2017.
- Häner T., Roetteler M., Svore KM Factoring Using 2n+2 Qubits with Toffoli Based Modular Multiplication // Quantum Information & Computation. 2017.
- NIST. FIPS 203, 204, 205: Post-Quantum Cryptography Standards. August 13, 2024.
- NIST NCCoE. Migration to Post-Quantum Cryptography. 2024.
- National Quantum Initiative. Quantum Science Directions: Computing, Networking, Sensing. 2024.
- Ribes S. Chasing Fake Volume: A Crypto-Plague. Medium. March 2018.
- Zheng Z., Xie S., Dai H., Chen X., Wang H. Blockchain Challenges and Opportunities: A Survey // International Journal of Web and Grid Services. 2018. Vol. 14. P. 352–375.
