Quantum Readiness

Find the crypto quantum will break.

An inventory of the quantum-vulnerable and weak cryptography in your code, your repos and your running apps, each with a fix and, where NIST has set one, a deadline.

Quantum-vulnerable cryptography is the public-key cryptography that Shor's algorithm breaks: RSA, DSA, Diffie-Hellman and elliptic-curve keys, signatures and key exchange. NIST's draft transition guidance (IR 8547) deprecates it after 2030 and disallows it after 2035. Replacing it starts with an inventory of where your applications use it. NightVision builds that inventory from source code and from the running application, and joins the two on the endpoint that uses each choice, so the findings that expose sensitive data come first.

Why Now

Traffic recorded today can be decrypted later.

An attacker who records encrypted traffic now can decrypt it once a large enough quantum computer exists, so key exchange and encryption are the urgent part. Certificates, tokens and signing keys need a plan too. A scanner outside the app sees only the TLS handshake, not the RSA key committed to the repo or the JWT signing algorithm set in code. A code scanner sees the code, not the load balancer or CDN that actually sets the handshake. NightVision reads both.

Harvest now, decrypt later Two lanes of the same encrypted traffic between a browser and an API. In both, an attacker copies the traffic into storage today. Years later a large quantum computer exists. Traffic protected by RSA or ECDH key exchange is decrypted and the patient records are readable. Traffic protected by hybrid ML-KEM key exchange stays locked. TODAY: THE TRAFFIC IS RECORDED LATER: A QUANTUM COMPUTER RSA OR ECDH KEY EXCHANGE Browseruser session APIpatient-portal ATTACKERRecorded traffic ENCRYPTEDUnreadable for nowDECRYPTEDPatient records readable HYBRID ML-KEM KEY EXCHANGE Browseruser session APIpatient-portal ATTACKERRecorded traffic ENCRYPTEDUnreadable for nowSTILL LOCKEDML-KEM holds
Figure 1. Harvest now, decrypt later. The same traffic is recorded in both lanes today. Once a large quantum computer exists, traffic protected by RSA or ECDH key exchange can be decrypted. Traffic protected by hybrid ML-KEM stays locked.
Today

Build the inventory. Recorded traffic is already at risk.

2030

NIST deprecates quantum-vulnerable algorithms at 112-bit security.

2035

NIST disallows all quantum-vulnerable public-key cryptography.

Three Signals, One Finding

The findings that matter, first.

An inventory of every RSA key is long. What a security team needs is the short list: quantum-vulnerable crypto on a live endpoint that returns sensitive, long-lived data. That is the traffic an attacker records today to decrypt later. NightVision finds it by joining what the code says, what the running app does and what the response holds, on the same endpoint.

Three signals join into one endpoint-level finding Three boxes on the left feed one finding. Source code: a JWT signed with RS256 at auth/tokens.py line 42. Runtime probe: the live API host accepts only classical TLS key exchange. Sensitive data: the endpoint GET /api/patients returns PHI. Together they make one High harvest-now, decrypt-later finding for that endpoint, with file, line and evidence, which goes to a fix and a rescan. SOURCE CODEJWT signed with RS256auth/tokens.py:42 RUNTIME PROBEClassical-only TLSapi.patient-portal.example SENSITIVE DATAResponse returns PHIGET /api/patients/{id} MATCHING SIGNALSHIGHHarvest-now,decrypt-later exposureOne finding for this endpoint,with file, line and evidence1 of 3 signals2 of 3 signals3 of 3 signals, one endpoint REMEDIATIONFix, then rescanThe file, line andreplacement go to yourteam or coding agent✓ Rescan: resolved
Figure 2. Three signals on one endpoint. The code shows the line that signs the token, the runtime probe shows the live host accepts only classical key exchange, and the response shows the endpoint returns patient data. Together they make one High finding. Any one of them alone ranks lower.
High

All three on one endpoint: quantum-vulnerable crypto, live and reachable, returning sensitive long-lived data.

Medium

Quantum-vulnerable token signing or key wrapping, with no sensitive-data link yet.

Low and Info

Internal or low-sensitivity paths, and hosts that are already PQC-ready. Kept in the inventory, out of the way.

In The Code

Where your cryptography is chosen

Python code

In code and settings

Algorithms, modes, key sizes, padding and verification settings handed to cryptography and JWT libraries such as hashlib, pyca/cryptography, PyCryptodome and PyJWT, and framework settings such as Django password hashers and JWT algorithms.

Any language

In committed files

Private and public keys, certificates and SSH keys in the repo, and the TLS protocol and cipher settings in nginx, Apache and OpenSSL configuration.

Any language

In dependencies

The cryptography libraries your manifests pull in, and standard algorithms implemented by hand in the tree instead of taken from a validated library.

On The Wire

What only the running app can show

Encryption in transit is usually set by a load balancer, CDN, API gateway or nginx in front of the app, so the repo never mentions it. The OpenSSL in the production container, the variable that picks the signing algorithm and the key loaded from a cloud vault live outside the source too. During the normal authenticated DAST scan, NightVision checks what each in-scope host actually does.

The TLS handshake probe NightVision's handshake probe offers each in-scope host the hybrid ML-KEM key exchange alongside classical X25519. The first host picks X25519 and is marked classical only. The second host picks X25519MLKEM768 and is marked PQC-ready. NIGHTVISION DASTHandshake probeevery in-scope host IN-SCOPE HOSTapi.patient-portal.exampleCLASSICAL ONLYX25519 IN-SCOPE HOSTwww.patient-portal.examplePQC-READYX25519MLKEM768 → offers ML-KEM hybrid + X25519 ← picks X25519 → offers ML-KEM hybrid + X25519 ← picks X25519MLKEM768
Figure 3. The handshake probe offers each in-scope host the hybrid quantum-safe key exchange beside classical X25519, then records what the host picks. One host falls back to classical X25519. The other negotiates X25519MLKEM768.

The TLS handshake

Offers the hybrid quantum-safe key exchange (X25519MLKEM768) beside classical groups, and records whether the host accepts it, plus its TLS version and cipher.

The tokens it issues

Decodes the JWTs in responses, cookies and login flows and records how each is signed, so a token links back to the code that signs it.

The login system's keys

Reads the OIDC discovery and JWKS documents for key types, sizes and signing algorithms, including tokens signed by a third party such as Okta or Auth0.

Only hosts you own

Probes run against the hosts in your scan scope, never against third-party servers your app happens to call.

Each Finding

A finding your team can act on

Where it is

The file, line and function, and where the choice is used.

Why it is weak

Broken, deprecated, misused or quantum-vulnerable, with the NIST or IETF reference.

What to use instead

ML-KEM or ML-DSA for a quantum-vulnerable use, AES-GCM for ECB, TLS 1.2 or later.

Tracked across runs

A fingerprint that survives edits elsewhere in the file, so a finding is matched from one run to the next.

Weak Today

Not only quantum: what is already broken

The same pass reports choices that are weak today: MD5 and SHA-1 where they protect a secret, DES and RC4, ECB mode, an IV written into the source, short RSA keys, TLS 1.0 and 1.1, JWT signed with "none", and certificate or token verification turned off. AES with 128-bit keys or more, ChaCha20 and SHA-256 and above are not flagged, so the report stays on what needs a change.

Its Own Module

Start with quantum readiness alone.

You don't have to replace the scanner you run today to get a cryptography inventory. Quantum readiness is a module: run it on the apps that need it, alone or with the rest of NightVision.

From source

On any repo

Run it with the NightVision CLI on a laptop or in your pipeline. Nothing to deploy, no scan to schedule, and the report can stay on your machine.

At runtime

On the hosts that matter

Add the runtime checks to the targets that carry patient, card or customer data, and see which findings those hosts expose.

Export

An export your auditors use

The inventory as a CycloneDX 1.7 cryptography bill of materials (CBOM) or CSV, for your auditors, your GRC tool and your migration plan.

Where It Runs

Source intelligence in the CLI, runtime checks in DAST

Add --weak-crypto to nightvision openapi extract and the report is written beside the generated API spec. Run it on a laptop or in your pipeline, and add --no-upload to keep the report on your machine. The runtime checks run in NightVision DAST scans, and the Quantum Readiness view in the platform shows source and runtime findings side by side.

When a run cannot cover part of the tree, the report says so and lists the gaps, so a short report is never mistaken for a clean one. A finding never holds key material, only an algorithm, a size or a curve.

FAQ

Quantum readiness questions, answered.

What is quantum-vulnerable cryptography?

Public-key cryptography that a large quantum computer running Shor's algorithm is expected to break: RSA, DSA, Diffie-Hellman, ECDH, ECDSA and EdDSA, including JWT signing algorithms such as RS256 and ES256. Symmetric ciphers such as AES with 128-bit keys or more, and hashes such as SHA-256, are not in that group.

When does quantum-vulnerable cryptography need to be replaced?

NIST's draft transition guidance, NIST IR 8547, deprecates quantum-vulnerable algorithms after 2030 and disallows them after 2035. Because the guidance is still a draft, each NightVision report records the version of the classification that assessed it.

What should we replace it with?

NIST has standardized ML-KEM (FIPS 203) for key establishment and ML-DSA (FIPS 204) for signatures. Each NightVision finding names the replacement for the choice it found.

Which languages does NightVision cover?

Code analysis covers Python today. Committed keys, certificates, SSH keys, the TLS settings in nginx, Apache and OpenSSL configuration, and the cryptography libraries your dependency manifests pull in are read whatever language the application is written in.

Does NightVision check the running application?

Yes. During NightVision DAST scans, runtime checks offer each in-scope host the hybrid ML-KEM key exchange and record whether it is accepted, read the signing algorithm of the JWTs the app issues, and read the key types in its OIDC and JWKS documents. That covers the TLS a load balancer or CDN sets and the tokens a third-party identity provider signs, which source code never shows.

Do we have to replace our current scanner?

No. Quantum readiness is its own module. Start with the NightVision CLI on your repos and keep the scanner you run today.

Does the report contain our keys?

No. A finding records an algorithm, a key size or a curve, never key material.

Is this in the NightVision platform?

Source checks run in the NightVision CLI today, as a report written beside the API spec that source intelligence generates. Runtime checks run in NightVision DAST scans, and the Quantum Readiness view in the platform shows source and runtime findings together, with CycloneDX CBOM and CSV export.

Start your cryptography inventory.

Find the quantum-vulnerable and weak cryptography in your code and your running apps, with a fix for each, and test the rest of the app with NightVision DAST.