Proving contract code and protecting wallet keys: Pantera separates three blockchain risks

A developer can prove that a contract releases funds only when the owner signs. That proof does not establish that nobody else can produce the owner’s signature. In a December 5, 2026 analysis, Pantera Capital general partner and portfolio manager Cosmo Jiang used that distinction to separate three security risks: AI finding flaws in software, AI finding shortcuts in the mathematics behind signatures, and quantum computers becoming powerful enough to run an already known algorithm.

Jiang ranked software flaws as the most immediate threat. As of the report date, he said, no published result had demonstrated recovery of a private key from a public key on Bitcoin, Ethereum or another major network. Calls to start replacing vulnerable cryptography were not announcements that someone had broken it.

Software flaws: what a contract proof can establish

Public smart-contract code gives defenders and attackers the same opportunity to inspect software that controls funds. In December 2025, Anthropic had AI agents analyze contracts exploited over the preceding five years. It concluded that agents available in 2025 could have autonomously carried out more than half of that year’s blockchain exploits. That was a retrospective assessment of capability, not a finding that agents had carried out those attacks.

Jiang argued for formal verification: using a computer to check a mathematical proof that code behaves according to a written specification. For a contract holding funds, the specification might require owner authorization for every withdrawal. Unlike a test that exercises selected withdrawals, the proof covers every case within its stated assumptions. The hard part is specifying the right rule. A proof cannot protect a requirement the developer left out.

Cost matters, too. The initial verification of the seL4 operating-system kernel, completed in 2009, took the equivalent of five researchers working full time for four years. In a 2025 study Jiang cited, one researcher spent 14 months analyzing, specifying and verifying five blockchain consensus protocols. The projects differed in scope, but the latter study found that reusing proofs across protocols nearly halved the work of writing them. Pantera has invested in Logical Intelligence, a company focused on formal verification.

Mathematical shortcuts: what would count as a break?

Bitcoin uses ECDSA and Schnorr signatures to authorize transactions; Ethereum uses ECDSA. Both rely on elliptic-curve mathematics. If someone could derive a private key from its public counterpart, that person could sign a transaction that passes the network’s checks without the owner’s consent. Correct contract code would not fix the problem.

The open question is whether AI could discover a shortcut that works on an ordinary computer. Ethereum Foundation researcher Justin Drake described a worst case in which such a discovery could come within months, not a forecast that it would. Cryptographer Justin Thaler offered a limit to that reasoning: AI cannot discover an efficient algorithm if none exists. Researchers have not established that one does.

Jiang cited narrower findings as reasons to investigate. In July 2026, Anthropic reported that a researcher using Claude Mythos Preview for one week had found a structural weakness in HAWK, a proposed post-quantum signature scheme, after two years of expert review had missed it. The finding reduced the scheme’s security margin, but the attack remained too slow to break HAWK at its proposed security levels.

On November 30, Anthropic described a theoretical quantum attack on lattice mathematics underlying two US post-quantum standards. A review group of 21 academic cryptographers characterized its scale as “galactic”: even at the smallest parameter set, it cost far more than the best known classical attack. It did not target the elliptic curves used by Bitcoin and Ethereum.

According to Jiang, the US National Security Agency called on national security systems to accelerate their post-quantum migration on December 2, without changing the US government’s 2035 target. That guidance was not a directive to blockchain networks. On December 3, Cloudflare CEO Matthew Prince said systems using RSA or elliptic-curve cryptography should be assumed affected. Jiang noted that no public technical details established the scope of the risk and that US agencies did not describe an imminent, widespread threat.

Quantum hardware: a known algorithm, an unfinished migration

The quantum risk does not require a mathematical discovery. Shor’s algorithm, published in 1994, could recover an elliptic-curve private key on a quantum computer with enough quantum bits and sufficiently few errors. The missing piece is the machine. Jiang cited estimates pointing to the 2030s at the earliest, while emphasizing that the timing remains unknown.

The network responses he described were at different stages as of December 5:

  • Bitcoin: BIP-360 would create an address type that does not reveal its public key onchain while funds remain unspent. It had not been activated.
  • Ethereum: EIP-8141 would allow an account to switch to a post-quantum signature scheme without moving its funds. It, too, remained a proposal.
  • Solana: Anza and Firedancer had been running post-quantum signatures on test clusters since October. Developers set March 31, 2027 as their target for post-quantum asset protection on mainnet; the tests were not a mainnet deployment.

Even an activated upgrade would leave a coordination problem: wallets and custodians must support it, and owners of dormant accounts may never migrate. One proposal would freeze vulnerable coins but let an owner recover them by proving knowledge of the wallet’s recovery phrase without revealing it. Coins whose owners had lost the phrase would remain frozen. Jiang described this as a proposal, not an adopted recovery rule.

For builders, the distinction is what evidence to look for. A contract proof can establish a particular rule about spending. A cryptographic break would require a demonstrated way to recover real keys at practical cost. And a migration proposal protects no account merely by being published: the network must activate it, and wallets and custodians must be able to use it.

Further reading