Zcash developers are recommending accelerated retirement of the network's Sapling privacy pool after concerns emerged about the future security of pairing-based cryptography used in its zero-knowledge proofs.
The Zakura team, which maintains a full node implementation for Zcash, outlined the potential connection between claims surrounding advances in mathematical research and possible improvements in integer factorization. While the team emphasized that rumors of progress in this area are not evidence that practical cryptographic attacks have been developed, they flagged that factoring and pairing-based cryptography rely on related algorithmic variants that could be affected by major breakthroughs.
Sapling's Exposure and Risk Assessment
Zcash's primary exposure lies in Sapling, its older shielded pool. According to Zakura, approximately 2% of the total ZEC supply remains in Sapling, representing roughly 400,000 ZEC. A compromised proof system could allow attackers to forge proofs and potentially put those funds at risk.
However, the developers noted that user private keys and note commitments do not depend on pairings, meaning the proof system could be replaced without rebuilding underlying commitments. Freezing the pool before any compromise occurs would allow funds to be recovered through a new proof system.
Transparent transactions and the newer Ironwood shielded pool do not rely on pairing cryptography and are considered safe under the described scenario.
Developer Recommendations
The Zakura team's recommendation is to accelerate Sapling's planned deprecation, which would mean disabling new payments into Sapling through a network upgrade.
The developers have also proposed stronger security targets of 192 or 256 bits and are working on integrating hash-based SPHINCS+ for transparent transactions.
Estimated Cost of a Potential Attack
Zakura estimated that even with a hypothetical billionfold improvement in attack efficiency, breaking the BLS12-381 pairing system used in Zcash's zero-knowledge proofs would remain extremely expensive, potentially costing between $1 trillion and $300 trillion. The developers noted that the smaller BN-254 system would likely become vulnerable before BLS12-381.


