Skip to content
NOUMENResearch
Network
Engineering
, home page

IntelligenceComponentsnpm

jws

JSON Web Signature creation and verification with HMAC-SHA-2, RSA PKCS#1 v1.5, RSA-PSS and ECDSA on P-256, P-384 and P-521.

In short

What to know.

Algorithms
HMAC, RSA signatures, ECDSA on P-256, ECDSA on P-384 and 1 more4 of 5 would be broken by a large quantum computer.
Advisories
2 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, ECDSA on P-256, ECDSA on P-384, ECDSA on P-521 before large quantum computers exist.

2 in the store

Advisories

Advisories for jws
AdvisoryIdAffected versionsFixed inSource's rating
auth0/node-jws Improperly Verifies HMAC SignatureGHSA-869p-cjfg-cm3xbefore 3.2.3; from 4.0.0 before 4.0.1; listed versions 4.0.0Fixed in 3.2.3, 4.0.1Rated High
Forgeable Public/Private Tokens in jwsGHSA-gjcw-v447-2w7qbefore 3.0.0Fixed in 3.0.0Rated High

2 listed

Findings

Findings for jws
FindingIdSeverityUpdated
Forgeable Public/Private Tokens in jwsNMN-2026-0055Severity High3 December 2026
auth0/node-jws Improperly Verifies HMAC SignatureNMN-2026-0053Severity High3 December 2026

Reviewed 3 December 2026

Sources

  1. npm registry metadata for jwsregistry.npmjs.orgRetrieved 3 December 2026
  2. node-jws READMEgithub.comRetrieved 3 December 2026

Full record

Package
jws
Ecosystem
npm
Role
Protocol
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:48 UTC
Findings
2 listed above.

Algorithms it provides

  • HMAC macSymmetricWeakened by Grover's search
  • RSA signatures signatureClassical 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

What a large quantum computer would change

  • Weakened by Grover's searchGrover's search would roughly halve its effective security. 256-bit keys and outputs stay adequate.HMAC
  • 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, ECDSA on P-256, ECDSA on P-384, ECDSA on P-521

Notes describe algorithm families, not any one project.