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
| Advisory | Id | Affected versions | Fixed in | Source's rating |
|---|---|---|---|---|
| auth0/node-jws Improperly Verifies HMAC Signature | GHSA-869p-cjfg-cm3x | before 3.2.3; from 4.0.0 before 4.0.1; listed versions 4.0.0 | Fixed in 3.2.3, 4.0.1 | Rated High |
| Forgeable Public/Private Tokens in jws | GHSA-gjcw-v447-2w7q | before 3.0.0 | Fixed in 3.0.0 | Rated High |
2 listed
Findings
| Finding | Id | Severity | Updated |
|---|---|---|---|
| Forgeable Public/Private Tokens in jws | NMN-2026-0055 | Severity High | 3 December 2026 |
| auth0/node-jws Improperly Verifies HMAC Signature | NMN-2026-0053 | Severity High | 3 December 2026 |
Reviewed 3 December 2026
Sources
- npm registry metadata for jwsregistry.npmjs.orgRetrieved 3 December 2026
- node-jws READMEgithub.comRetrieved 3 December 2026
Full record
- Package
- jws
- Ecosystem
- npm
- Role
- Protocol
- Repository
- github.com/brianloveswords/node-jws
- 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.