Skip to content
NOUMENResearch
Network
Engineering
, home page

IntelligenceComponentsnpm

tiny-secp256k1

The bitcoin-core libsecp256k1 C library compiled to WebAssembly through a Rust crate, exposing secp256k1 ECDSA, BIP340 Schnorr signatures and point and scalar arithmetic.

In short

What to know.

Algorithms
ECDSA on secp256k1, Schnorr signatures (BIP 340)2 of 2 would be broken by a large quantum computer.
Advisories
3 in the storeOSV last read 3 December 2026, 16:47 UTC.
What to do
Check your version against the advisories below. Each lists its affected and fixed versions. Plan a move away from ECDSA on secp256k1, Schnorr signatures (BIP 340) before large quantum computers exist.

3 in the store

Advisories

Advisories for tiny-secp256k1
AdvisoryIdAffected versionsFixed inSource's rating
tiny-secp256k1: Stale buffer after ignored wasm failure accepts invalid infinity tweakGHSA-hj9c-qx2w-g7mhfrom 2.1.0 before 2.2.5Fixed in 2.2.5Rated Moderate
tiny-secp256k1 allows for verify() bypass when running in bundled environmentGHSA-5vhg-9xg4-cv9mbefore 1.1.7Fixed in 1.1.7Rated High
tiny-secp256k1 vulnerable to private key extraction when signing a malicious JSON-stringifyable message in bundled environmentGHSA-7mc2-6phr-23xcbefore 1.1.7Fixed in 1.1.7Rated High

3 listed

Findings

Reviewed 3 December 2026

Sources

  1. npm registry metadata for tiny-secp256k1registry.npmjs.orgRetrieved 3 December 2026
  2. tiny-secp256k1 READMEgithub.comRetrieved 3 December 2026

Full record

Package
tiny-secp256k1
Ecosystem
npm
Role
Binding to a native library
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:47 UTC
Findings
3 listed above.

Algorithms it provides

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 secp256k1, Schnorr signatures (BIP 340)

Notes describe algorithm families, not any one project.