near-api-js
NEAR Protocol JavaScript library whose key pairs and signers support Ed25519, secp256k1 and ML-DSA-65.
In short
What to know.
- Algorithms
- Ed25519, ECDSA on secp256k1, ML-DSA2 of 3 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 Ed25519, ECDSA on secp256k1 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 near-api-jsregistry.npmjs.orgRetrieved 3 December 2026
- Published public key type definitions of near-api-js 7.5.3unpkg.comRetrieved 3 December 2026
Full record
- Package
- near-api-js
- Ecosystem
- npm
- Role
- Toolkit
- Repository
- github.com/near/near-api-js
- Status
- Not marked deprecated by its registry or maintainers.
- 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
- Ed25519 signatureClassical public keyBroken by Shor's algorithm
- ECDSA on secp256k1 signatureClassical public keyBroken by Shor's algorithm
- ML-DSA signaturePost-quantumDesigned to resist
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.Ed25519, ECDSA on secp256k1
- Designed to resistDesigned to resist known quantum attacks. That is a design goal, not a proof.ML-DSA
Notes describe algorithm families, not any one project.