Post-quantum headlines are everywhere this week. On December 2, the NSA advised owners, operators, and vendors of National Security Systems to immediately accelerate their move to post-quantum cryptography, and its guidance starts with finding where vulnerable cryptography is used. Before anyone starts a migration plan, there is a simpler question to answer first: where does your code use cryptography that a quantum computer could break? For most teams, that question is harder to answer than it sounds. This post covers which quantum risks matter now, why a cryptography inventory is harder than it looks, and how to build one with open rules you can run today.
Start with a cryptography inventory
A cryptography inventory maps every place your software relies on public-key algorithms such as RSA, ECDH, Diffie-Hellman, and ECDSA, the ones a large enough quantum computer could break. Symmetric algorithms and hash functions are not the concern. With that map in hand, you can rank what you find by risk and plan the move to the NIST post-quantum standards.
Recorded in a standard format such as CycloneDX, that inventory is called a cryptographic bill of materials (CBOM).
Two quantum risks, with different urgency
Not every quantum risk runs on the same clock. Splitting them in two makes the order of work much clearer.
| Risk | What it affects | Why it matters | Urgency |
|---|---|---|---|
| Harvest now, decrypt later | Key exchange and key transport: RSA, ECDH, Diffie-Hellman | Traffic recorded today can be decrypted once a capable quantum computer exists. A later fix does not protect data that was already captured. | Already started |
| Forgery | Signatures and tokens: RSA and ECDSA signing, JWTs, certificates | These can be forged only once a quantum computer exists, so nothing leaks retroactively. | Grows with key lifetime |
Key exchange comes first because the exposure is cumulative. Every session protected by a classical key exchange today is a session someone could store and read later. Signatures matter too, but the risk is tied to how long a key or certificate stays trusted, so long-lived signing keys deserve attention before short-lived tokens.
Symmetric cryptography is not the concern. AES-256, SHA-256, HMAC, and bcrypt hold up. A useful inventory says so clearly, so the real risks are not buried in noise.
Why a cryptography inventory is hard
Cryptography rarely lives in one place. In a typical codebase it shows up in at least five:
- Direct API calls in source code. A service generates a key pair or signs a payload itself.
- Packaged libraries in your dependencies. A third-party package does the cryptography on your behalf.
- TLS and protocol configuration. Cipher suites and key exchange settings live in config, not code.
- Certificates and keys committed to the repository. The algorithm is baked into the artifact.
- In-house wrappers. This is the hardest case. One helper hides RSA from every service that calls it, so a search for “RSA” finds one line instead of hundreds.
Standard-library calls belong in the inventory
Every major language ships quantum-vulnerable cryptography in its standard library, so a complete inventory covers the calls your own code makes, not just the packages it imports:
Go ecdsa.GenerateKey(...)
Java KeyPairGenerator.getInstance("RSA")
.NET ECDiffieHellman.Create(...)
Node generateKeyPairSync("rsa") Finding these calls takes static analysis of the source code itself, plus an understanding of which wrappers call them.
Open PQC rules, free for everyone
To make that first step easier, we’re releasing an open-source pack of post-quantum static application security testing (SAST) rules. The rules are built on the NIST post-quantum standards and transition guidance: FIPS 203, FIPS 204, and FIPS 205, SP 800-227, and IR 8547. Anyone can run them for free with Bearer, the open-source SAST engine from Cycode.
The rules cover Java, C#, C++, Python, JavaScript, and Go, and they check two things.
Migration readiness. Finds what needs to move: quantum-vulnerable key establishment and signatures, downgrades to classical-only cryptography, and hard-coded algorithms that block crypto agility.
Implementation conformance. Checks that new post-quantum code is used correctly: parameter sets, hybrid key exchange, key confirmation, randomness, and secret handling.
The second set matters more than it first appears. Teams that adopt post-quantum libraries early can still undermine them with the wrong parameter set or weak randomness, and those mistakes are easier to catch at commit time than after rollout.
From findings to a migration plan in Cycode
The same rules run in the Cycode platform, in early access, on the scans you already have. Every commit and pull request is checked, and findings become part of how your teams already work. The workflow has three steps.
1. Find: directly in source code. The PQC rules flag quantum-vulnerable cryptography directly in your source code, including standard-library calls and in-house wrappers.
2. Rank: by risk class, not algorithm. Key exchange is critical, signatures are high, and already-weak algorithms are medium. Symmetric cryptography is never reported as quantum-broken.
3. Fix: point to the NIST target. Each finding points to ML-KEM (FIPS 203) for key exchange or ML-DSA (FIPS 204) for signatures, with a hybrid option during the transition.
Findings appear as violations per repository, so you can assign, prioritize, and automate them like any other finding. For teams already using Cycode SAST, post-quantum readiness becomes one more policy in the same pipeline rather than a separate project.
Where to start
You don’t need a full migration plan to take the first step. Find out where your quantum-vulnerable cryptography is, then decide what to fix first. Start with key exchange, because that is the risk already in motion, and let the inventory tell you how big the rest of the job is.
Get our PQC policies for free. Run them with Bearer on any repository and see your quantum-vulnerable cryptography in minutes. Get the free PQC policies →
Already a Cycode customer? Go from visibility to action with Maestro: prioritize the findings that matter most and get guided fixes. Read the Post-Quantum Readiness docs →