@scure/starknet
Starknet cryptography: ECDSA over the Stark curve, Pedersen and Poseidon hashes, and Starknet Keccak.
In short
What to know.
- Algorithms
- ECDSA on the STARK curve, Pedersen hash, Poseidon, Keccak-2562 of 4 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 ECDSA on the STARK curve, Pedersen hash 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 @scure/starknetregistry.npmjs.orgRetrieved 3 December 2026
- scure-starknet repositorygithub.comRetrieved 3 December 2026
Full record
- Package
- @scure/starknet
- Ecosystem
- npm
- Role
- Implementation
- Repository
- github.com/paulmillr/scure-starknet
- 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
- ECDSA on the STARK curve signatureClassical public keyBroken by Shor's algorithm
- Pedersen hash hashClassical public keyBroken by Shor's algorithm
- Poseidon hashHashWeakened by Grover's search
- Keccak-256 hashHashWeakened 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.ECDSA on the STARK curve, Pedersen hash
- Weakened by Grover's searchGrover's search would roughly halve its effective security. 256-bit keys and outputs stay adequate.Poseidon, Keccak-256
Notes describe algorithm families, not any one project.