snarkjs
zkSNARK toolkit for Groth16, PLONK and FFLONK proving and verification over BN254 or BLS12-381, including powers of tau trusted setup ceremonies.
In short
What to know.
- Algorithms
- Groth16, PLONK, Pairings on BN254 (alt_bn128), Pairings on BLS12-3814 of 4 would be broken by a large quantum computer.
- Advisories
- 1 in the storeOSV last read 3 December 2026, 16:49 UTC.
- What to do
- Check your version against the advisories below. Each lists its affected and fixed versions. Plan a move away from Groth16, PLONK, Pairings on BN254 (alt_bn128), Pairings on BLS12-381 before large quantum computers exist.
1 in the store
Advisories
| Advisory | Id | Affected versions | Fixed in | Source's rating |
|---|---|---|---|---|
| Double spend in snarkjs | GHSA-xp5g-jhg3-3rg2 | up to and including 0.6.11 | Rated High |
1 listed
Findings
| Finding | Id | Severity | Updated |
|---|---|---|---|
| Double spend in snarkjs | NMN-2026-0079 | Severity High | 3 December 2026 |
Reviewed 3 December 2026
Sources
- npm registry metadata for snarkjsregistry.npmjs.orgRetrieved 3 December 2026
- snarkjs repositorygithub.comRetrieved 3 December 2026
Full record
- Package
- snarkjs
- Ecosystem
- npm
- Role
- Toolkit
- Repository
- github.com/iden3/snarkjs
- Status
- Not marked deprecated by its registry or maintainers.
- Notes
- FFLONK has no separate algorithm record.
- Reviewed
- Entry reviewed 3 December 2026. Catalogue entry, curated by hand and incomplete by design.
- Advisories read
- Last read from OSV 3 December 2026, 16:49 UTC
- Findings
- 1 listed above.
Algorithms it provides
- Groth16 proof-systemClassical public keyBroken by Shor's algorithm
- PLONK proof-systemClassical public keyBroken by Shor's algorithm
- Pairings on BN254 (alt_bn128) pairingClassical public keyBroken by Shor's algorithm
- Pairings on BLS12-381 pairingClassical public keyBroken by Shor's algorithm
What a large quantum computer would change
- Broken by Shor's algorithmRests on factoring or discrete logarithms. A large fault-tolerant quantum computer running Shor's algorithm would break it.Groth16, PLONK, Pairings on BN254 (alt_bn128), Pairings on BLS12-381
Notes describe algorithm families, not any one project.