@aztec/bb.js
WebAssembly and native build of the Barretenberg prover with UltraHonk proving over BN254, Pedersen, Poseidon2 and BLAKE2s hashing, ECDSA on secp256k1 and P-256, Grumpkin Schnorr signatures and AES.
In short
What to know.
- Algorithms
- Pairings on BN254 (alt_bn128), Pedersen hash, Pedersen commitments, Poseidon and 4 more5 of 8 would be broken by a large quantum computer.
- Advisories
- None in the storeOSV last read 3 December 2026, 16:49 UTC.
- What to do
- Plan a move away from Pairings on BN254 (alt_bn128), Pedersen hash, Pedersen commitments, ECDSA on secp256k1, ECDSA on P-256 before large quantum computers exist.
0 in the store
Advisories
No advisory in the store for this package.
OSV listed none on 3 December 2026, 16:49 UTC. That does not mean the package has no problems.
Reviewed 3 December 2026
Sources
- npm registry metadata for @aztec/bb.jsregistry.npmjs.orgRetrieved 3 December 2026
- Published API type definitions of @aztec/bb.js 5.3.0unpkg.comRetrieved 3 December 2026
- Published backend type definitions of @aztec/bb.js 5.3.0unpkg.comRetrieved 3 December 2026
Full record
- Package
- @aztec/bb.js
- Ecosystem
- npm
- Role
- Binding to a native library
- Repository
- Not listed
- Status
- Not marked deprecated by its registry or maintainers.
- Notes
- UltraHonk is a PLONK-derived proof system with no separate algorithm record. Schnorr signatures here are over the Grumpkin curve, not BIP-340.
- 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
- No finding refers to this package yet.
Algorithms it provides
- Pairings on BN254 (alt_bn128) pairingClassical public keyBroken by Shor's algorithm
- Pedersen hash hashClassical public keyBroken by Shor's algorithm
- Pedersen commitments commitmentClassical public keyBroken by Shor's algorithm
- Poseidon hashHashWeakened by Grover's search
- BLAKE2 (BLAKE2b, BLAKE2s) hashHashWeakened by Grover's search
- ECDSA on secp256k1 signatureClassical public keyBroken by Shor's algorithm
- ECDSA on P-256 signatureClassical public keyBroken by Shor's algorithm
- AES cipherSymmetricWeakened by Grover's search
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.Pairings on BN254 (alt_bn128), Pedersen hash, Pedersen commitments, ECDSA on secp256k1, ECDSA on P-256
- Weakened by Grover's searchGrover's search would roughly halve its effective security. 256-bit keys and outputs stay adequate.Poseidon, BLAKE2 (BLAKE2b, BLAKE2s), AES
Notes describe algorithm families, not any one project.