Encryption readiness index: open-source packages
One in five popular npm packages that handle signing, tokens or encryption uses RSA or elliptic-curve encryption that quantum computers will break. Much of it hides in algorithm names like RS256 that general-purpose scanners tend to miss. Quantum Scan checks for them.
What we found
- 52 of 259 popular npm packages that handle signing, tokens or encryption use RSA, elliptic-curve or Diffie-Hellman encryption in the code they ship.
- 6 of the 1,000 most-downloaded npm packages do. Few, but five of the six are signing and token libraries that a large share of JavaScript projects depend on.
- 31 of the 500 most-downloaded Python packages do.
- Half name it, not call it. About half of the 52 name their algorithms as text, like
'RS256'or'RSA-OAEP', instead of calling a key-generation function. A search for key generation alone misses them.
NIST deprecates all of these methods after 2030 and disallows them after 2035.
| Packages scanned | Read | Any | RSA | Elliptic curve |
|---|---|---|---|---|
| npm, signing, token and encryption packages | 259 | 52 | 37 | 35 |
| npm, 1,000 most downloaded | 1,000 | 6 | 6 | 5 |
| Python, 500 most downloaded | 496 | 31 | 28 | 21 |
"Any" counts a package once if it uses RSA, elliptic curves (ECDSA, EdDSA, ECDH, X25519) or Diffie-Hellman. Many use both RSA and elliptic curves.
Why this matters for your project
Most applications never call RSA themselves. They sign tokens, verify logins and talk to cloud services through libraries like these. So an application can carry quantum-breakable encryption it never wrote, and a search of its own code won't show it.
Two places to look first:
- Tokens. JWTs signed with RS256, PS256 or ES256, and keys published as JWKs.
- Key exchange and key wrapping. ECDH-ES and RSA-OAEP in encrypted tokens and messages. Data protected this way can be recorded now and decrypted later, so it comes first.
Method and limits
- Packages. npm: the 1,000 most-downloaded packages, and a set of 259 widely used packages that carry an encryption, signing or token keyword or depend on a well-known encryption or token library. Python: the 500 most-downloaded packages on PyPI from the November 2026 public download list.
- What we read. The latest published version of each package on November 22 and 23, 2026, including the built code it ships. Four Python packages could not be read.
- Scanner. Hard Keel Quantum Scan, including its rules for signing and token libraries, run offline. These rules are live on scan.hardkeel.com and come to the command-line tool in its next release.
- What counts. A use of the method in the package's own shipped code. Tests, type declarations and comments don't count. A library that only lists algorithm names to check them still counts, so a few of these are support rather than use.
- What doesn't. Each package is counted for its own shipped code. Encryption it reaches through a dependency is counted in that dependency, not again in each package that uses it.
- Keys and passwords. In published libraries almost all of what looks like a key is an example or a test certificate, so we don't report a number.
- Names. We name no package for a weakness.
We plan to repeat the index with the same method, so changes over time show who is moving to post-quantum. Our earlier study of 100 popular projects looked at their own source code rather than published packages.
Scan your own project
Hard Keel Quantum Scan is free and open source. It lists the encryption in your code, including what quantum computers will break, and works offline.
npx @hardkeel/quantum-scan
See how it works