Skip to content
NOUMENResearch
Network
Engineering
, home page

IntelligenceComponentsnpm

sshpk

Parses, converts and uses SSH keys and certificates of type RSA, DSA, ECDSA (nistp256, nistp384, nistp521) and Ed25519, with signing, verification and Diffie-Hellman helpers.

In short

What to know.

Algorithms
RSA signatures, DSA, ECDSA on P-256, ECDSA on P-384 and 4 more8 of 8 would be broken by a large quantum computer.
Advisories
1 in the storeOSV last read 3 December 2026, 16:49 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, DSA, ECDSA on P-256, ECDSA on P-384, ECDSA on P-521, Ed25519, ECDH (Weierstrass curves), X25519 before large quantum computers exist.

1 in the store

Advisories

Advisories for sshpk
AdvisoryIdAffected versionsFixed inSource's rating
Regular Expression Denial of Service in sshpkGHSA-2m39-62fm-q8r3before 1.13.2Fixed in 1.13.2Rated High

1 listed

Findings

Findings for sshpk
FindingIdSeverityUpdated
Regular Expression Denial of Service in sshpkNMN-2026-0072Severity High3 December 2026

Reviewed 3 December 2026

Sources

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

Full record

Package
sshpk
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:49 UTC
Findings
1 listed above.

Algorithms it provides

  • RSA signatures signatureClassical public keyBroken by Shor's algorithm
  • DSA 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
  • Ed25519 signatureClassical public keyBroken by Shor's algorithm
  • ECDH (Weierstrass curves) key-exchangeClassical public keyBroken by Shor's algorithm
  • X25519 key-exchangeClassical public keyBroken by Shor's algorithm

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, DSA, ECDSA on P-256, ECDSA on P-384, ECDSA on P-521, Ed25519, ECDH (Weierstrass curves), X25519

Notes describe algorithm families, not any one project.