Skip to content
NOUMENResearch
Network
Engineering
, home page

IntelligenceComponentsnpm

jose

JWS, JWE, JWT and JWK for Node.js, browsers and other WebCrypto runtimes, with RSA, ECDSA, Ed25519 and ML-DSA signatures, HMAC, RSA-OAEP, ECDH-ES and AES key management, AES-GCM and AES-CBC-HMAC content encryption and PBES2.

In short

What to know.

Algorithms
RSA signatures, RSA encryption, ECDSA on P-256, ECDSA on P-384 and 9 more8 of 13 would be broken by a large quantum computer.
Advisories
3 in the storeOSV last read 3 December 2026, 16:48 UTC.
What to do
Check your version against the advisories below. Each lists its affected and fixed versions. Plan a move away from RSA signatures, RSA encryption, ECDSA on P-256, ECDSA on P-384, ECDSA on P-521, Ed25519, ECDH (Weierstrass curves), X25519 before large quantum computers exist.

3 in the store

Advisories

Advisories for jose
AdvisoryIdAffected versionsFixed inSource's rating
jose vulnerable to resource exhaustion via specifically crafted JWE with compressed plaintextGHSA-hhhv-q57g-882qfrom 3.0.0 before 4.15.5; before 2.0.7Fixed in 4.15.5, 2.0.7Rated Moderate
JOSE vulnerable to resource exhaustion via specifically crafted JWEGHSA-jv3g-j58f-9mq9from 1.0.0 before 1.28.2; from 2.0.0 before 2.0.6; from 3.0.0 before 3.20.4; from 4.0.0 before 4.9.2Fixed in 1.28.2, 2.0.6, 3.20.4, 4.9.2Rated Moderate
Padding Oracle Attack due to Observable Timing Discrepancy in joseGHSA-58f5-hfqc-jgchfrom 1.0.0 before 1.28.1; from 2.0.0 before 2.0.5; from 3.0.0 before 3.11.4Fixed in 1.28.1, 2.0.5, 3.11.4Rated Moderate

3 listed

Findings

Findings for jose
FindingIdSeverityUpdated
JOSE vulnerable to resource exhaustion via specifically crafted JWENMN-2026-0064Severity Moderate3 December 2026
jose vulnerable to resource exhaustion via specifically crafted JWE with compressed plaintextNMN-2026-0061Severity Moderate3 December 2026
Padding Oracle Attack due to Observable Timing Discrepancy in joseNMN-2026-0058Severity Moderate3 December 2026

Reviewed 3 December 2026

Sources

  1. npm registry metadata for joseregistry.npmjs.orgRetrieved 3 December 2026
  2. jose READMEgithub.comRetrieved 3 December 2026
  3. jose Node.js algorithm support listgithub.comRetrieved 3 December 2026

Full record

Package
jose
Ecosystem
npm
Role
Protocol
Status
Not marked deprecated by its registry or maintainers.
Notes
Primitives are computed by the runtime (WebCrypto or node:crypto), so which algorithms are available depends on the runtime; the Node.js support list includes ML-DSA-44, ML-DSA-65 and ML-DSA-87.
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:48 UTC
Findings
3 listed above.

Algorithms it provides

  • RSA signatures signatureClassical public keyBroken by Shor's algorithm
  • RSA encryption public-key-encryptionClassical public keyBroken by Shor's algorithm
  • ECDSA on P-256 signatureClassical public keyBroken by Shor's algorithm
  • ECDSA on P-384 signatureClassical public keyBroken by Shor's algorithm
  • ECDSA on P-521 signatureClassical public keyBroken by Shor's algorithm
  • Ed25519 signatureClassical public keyBroken by Shor's algorithm
  • ML-DSA signaturePost-quantumDesigned to resist
  • HMAC macSymmetricWeakened by Grover's search
  • ECDH (Weierstrass curves) key-exchangeClassical public keyBroken by Shor's algorithm
  • X25519 key-exchangeClassical public keyBroken by Shor's algorithm
  • AES cipherSymmetricWeakened by Grover's search
  • AES-GCM aeadSymmetricWeakened by Grover's search
  • PBKDF2 kdfSymmetricWeakened 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.RSA signatures, RSA encryption, ECDSA on P-256, ECDSA on P-384, ECDSA on P-521, Ed25519, ECDH (Weierstrass curves), X25519
  • Designed to resistDesigned to resist known quantum attacks. That is a design goal, not a proof.ML-DSA
  • Weakened by Grover's searchGrover's search would roughly halve its effective security. 256-bit keys and outputs stay adequate.HMAC, AES, AES-GCM, PBKDF2

Notes describe algorithm families, not any one project.