6 December 2026 ยท Figures from the opencbom registry on that date
SSH has moved to post-quantum cryptography. JWT mostly has not.
On 2 December the NSA told owners and vendors of national security systems to speed up their move to post-quantum cryptography, starting with an inventory of their quantum-vulnerable cryptographic dependencies. A month earlier, NSA, CISA and Australia's ASD published questions buyers should ask vendors about post-quantum readiness. The first asks whether the vendor keeps a current inventory of its cryptography.
In most software, a large part of that inventory sits in open-source dependencies. So I counted it: the cryptography in 1,468 popular npm, PyPI and Maven packages, published as open data at opencbom.com.
Two protocols, two speeds
SSH has largely moved. OpenSSH made a hybrid of ML-KEM and X25519 its default key exchange in 2025, and the libraries followed.
| SSH library | Registry | Downloads a month | Post-quantum |
|---|---|---|---|
| paramiko | PyPI | 110M | ML-KEM |
| asyncssh | PyPI | 17M | ML-KEM |
| JSch | Maven | not published | ML-KEM |
| Apache MINA SSHD | Maven | not published | ML-KEM |
| ssh2 | npm | 93M | none |
JWT mostly has not. JSON Web Tokens sign logins and API calls almost everywhere, with RSA or elliptic-curve signatures.
| JWT library | Registry | Downloads a month | Post-quantum |
|---|---|---|---|
| jose | npm | 1,010M | ML-DSA |
| jwcrypto | PyPI | 19M | ML-DSA |
| PyJWT | PyPI | 747M | none |
| jsonwebtoken | npm | 352M | none |
| Authlib | PyPI | 162M | none |
| joserfc | PyPI | 157M | none |
| python-jose | PyPI | 29M | none |
| Nimbus JOSE + JWT | Maven | not published | none |
| JJWT | Maven | not published | none |
This is not about effort. SSH had an agreed hybrid to adopt, and key exchange is exposed to "harvest now, decrypt later", so it went first. Post-quantum algorithms for JOSE are still drafts at the IETF; jose and jwcrypto register ML-DSA ahead of them. But every system that verifies tokens will need a post-quantum algorithm before a large quantum computer exists, and the libraries are where that starts.
The wider count
Of the 1,468 packages, 436 (30%) contain code that uses an algorithm a large quantum computer would break: RSA in 327, elliptic curves in 233, Ed25519 or X25519 in 137, DSA in 43 and Diffie-Hellman in 18.
By reach, packages with quantum-vulnerable cryptography account for 11 billion downloads a month on npm and PyPI, and 8 billion of those are in packages with no post-quantum option. Downloads overlap, since one install pulls many packages, so read this as reach, not as a count of projects. Maven Central publishes no download counts.
44 packages already handle a post-quantum algorithm (ML-KEM, ML-DSA or SLH-DSA) in the code they ship. Among them are cryptography, Bouncy Castle, Google Tink, paramiko, pycryptodome and certbot. That is about one for every ten packages on RSA or elliptic curves. The full list is on the readiness index.
676 records (46%) are empty: the scanners recognised no cryptography. Many of those are right. Some are not, and an empty record means unknown, not clean.
How the packages were chosen: on npm, packages found by cryptography keywords with at least 100,000 downloads a month; on PyPI, the most downloaded projects that depend on a cryptographic library; on Maven Central, a hand-picked list. So the shares describe packages that handle cryptography, not open source as a whole. A finding says the code is in the package, not that your application calls it. And a package with ML-KEM usually still has RSA too; the count shows how far the new algorithms have reached, not how far the old ones have left.
Why the scanners missed the crypto libraries
In the first scan, 43 of 66 PyPI records were empty. The empty list included pycryptodome, pynacl, pyopenssl, tlslite-ng, and the packages called rsa and ecdsa.
It took me a while to see why. The open scanners recognise calls to cryptographic APIs they know, such as javax.crypto or Python's cryptography package. A library that implements RSA itself never calls an RSA API. It is the RSA API. So the tools meant to find cryptography skip the libraries where it lives.
That matters to anyone who receives a CBOM. If a supplier made it with these tools alone, the gaps are not random. They fall on the code that holds the algorithms, and an empty section looks exactly like a clean one. I added a second detector that recognises implementations. Of the same 66 packages, 12 are still empty.
Checking my own results
I picked 20 records and had every finding checked against the source code. Only 69% of the findings were right. The mistakes were mundane. python-gnupg had 54 findings, all in its test file. A Python call whose key type the scanner could not work out came out as RSA, DSA, EC and DH at once. Some keys got a random UUID as their name.
After fixing those, a second check of the same 20 packages found 95.5% of findings correct: 99.4% on npm, 94.6% on Maven and 91.7% on PyPI. That measures how often a finding is right, not what is missed. Known gaps remain: AES, key derivation (PBKDF2, HKDF, scrypt, Argon2) and TLS settings. The check report is in the repository.
What I think should change
Right now every company that answers these questions scans the same dependencies again, with the same tools, and gets the same gaps. A public record per package release can be checked once, corrected by the maintainers who know the code, and cited by everyone. That is what opencbom is for: a CycloneDX CBOM per release, with file and line for every finding, free under CC BY 4.0.
To check your own project, run npx opencbom in its folder, add the opencbom GitHub Action, or connect your coding assistant to the MCP server at opencbom.com/mcp. Every record is also plain JSON at a fixed address (API), so your own tools can read it directly. Nothing is installed or run, and only the names of packages the registry already holds are fetched.
Details
Java and Python are scanned with the open-source sonar-cryptography plugin on the last LGPL versions of the Sonar analysers, plus the second detector. JavaScript and TypeScript use a rule-based scanner I wrote, because I could not find an open one. Go is not covered yet. No language model is involved in the scanning. A daily job adds new releases and new packages, and download counts come from api.npmjs.org and pypistats.org.
Code, data and method are at github.com/opencbom/opencbom. Every package page has a link to report a wrong record, and I would like to hear about them.