I built an offline scanner that finds quantum-vulnerable cryptography in your code, and its CBOM says what it did not read
A large quantum computer running Shor's algorithm breaks RSA, ECDSA, ECDH, Ed25519 and classic Diffie-Hellman. That is not a prediction about a date; it is why NIST published the first post-quantum standards in August 20
A large quantum computer running Shor's algorithm breaks RSA, ECDSA, ECDH, Ed25519 and classic Diffie-Hellman. That is not a prediction about a date; it is why NIST published the first post-quantum standards in August 2024: ML-KEM (FIPS 203), ML-DSA (FIPS 204) and SLH-DSA (FIPS 205). Before anyone can migrate, someone has to answer a plain question: which code paths in this repository use which public-key cryptography?
The G7 Cybersecurity Working Group put it the same way in September 2026: organisations should "inventory their cryptographic assets; map their dependencies; and develop a transition plan" (Preparing for the Post-Quantum Era: A Call to Action, published by ANSSI).
So I built qrp-mcp: a local tool that finds quantum-vulnerable cryptography in your code and writes a cryptographic inventory, a CBOM (Cryptography Bill of Materials) in CycloneDX 1.6. In one sentence: a local cryptographic inventory for developers and AI agents that carries verifiable coverage and its own limits inside the CBOM. It runs as a command-line tool and as an MCP server, so an AI agent can call it too. Apache-2.0.
Try it on a real repository
You need uv. There is no install step; uvx fetches and runs it.
git clone https://github.com/certbot/certbot && cd certbot
git checkout 56ee049
uvx qrp-mcp scan . --out result.json
It prints the SHA-256 of the file it wrote and a second fingerprint of the findings alone, which stays the same on every run that finds the same thing. Then read the result:
jq -r '.verdict' result.json
jq -c '.summary | {total_findings, quantum_vulnerable_count, pqc_ready_count, weak_count, pqc_readiness}' result.json
jq -c '[.coverage.not_examined[] | {reason, count}]' result.json
This is what I got on 23 November 2026, with qrp-mcp 0.52.1, on certbot at commit 56ee049:
This scan read 850 of 1250 files (68.0%); the remaining 400 (3 of 20, by extension β
files with no extension, .rst and .txt β being 76.14% of them) are listed with a reason each.
{"total_findings":40,"quantum_vulnerable_count":10,"pqc_ready_count":2,"weak_count":28,
"pqc_readiness":"hybrid_partial"}
[{"reason":"type_not_claimed","count":352},{"reason":"unreadable","count":0},
{"reason":"symlink_not_followed","count":48}]
The scan took about five seconds. The signature families it found in certbot were DSA, EC, ECDSA, Ed25519, Ed448, ML-DSA and RSA, and on the key-establishment side DH, ECDH, ML-KEM, X25519 and X448. The scan found ML-DSA and ML-KEM in certbot next to the classical families, which is why the readiness reads hybrid_partial and not "vulnerable".
For the CBOM:
uvx qrp-mcp cbom . --out cbom.json
On the same commit that gave a CycloneDX 1.6 document with 301 components: 120 cryptographic assets, 174 files and 7 libraries.
The part I care about: what it did not read
A list of findings says what a tool found. Without a denominator it cannot tell "this repository uses no RSA" apart from "the tool never opened the file with the RSA in it."
So every file under the path ends up in one of four places: scanned, unreadable, skipped because the tool does not claim that file type (counted by extension and named one by one), or a symbolic link not followed. These always add up to the number of files present. In the certbot run above, 352 files were skipped by type (mostly documentation: .rst, .txt, files without an extension) and 48 were links. All 400 are listed with a reason in the result, and the coverage and the tool's own limits go into the CBOM as properties. An auditor can check them there, instead of taking my word for it.
Here is the coverage on three public repositories I did not write. I reproduced the OpenSSH and certbot rows today with 0.52.1; the README table was measured with 0.50.0 on 18 November:
| Repository (commit) | Files present | Read | Coverage |
|---|---|---|---|
OpenSSH (7fe3b24) |
873 | 742 | 84.99% |
certbot (56ee049) |
1,250 | 850 | 68.00% |
Vault (41e571b) |
9,281 | 5,437 | 58.58% (0.50.0) |
None of them is 100%. These are reading figures, not detection figures. How many of the cryptographic uses in the files it read the rules actually catch is a different question. The recall and precision figures in the project's measurement notes are from version 0.11.0 and have not been measured again since, so I do not quote them as current.
What it reads
Source code in C and C++, C#, Go, Rust, Java, Kotlin, Swift, Python, JavaScript and TypeScript, Ruby, PHP, Solidity and more. Beyond code it reads TLS, SSH and VPN configuration (nginx, Apache, HAProxy, OpenSSH, strongSwan, WireGuard, openssl.cnf and others), signing commands in CI pipelines (gpg --sign, cosign sign, signtool, jarsigner), Terraform, Kubernetes manifests and Dockerfiles, certificates and keys (PEM, DER, PKCS#12, Java keystores, SSH keys, JWKS), and the dependencies that pull cryptography in through lockfiles. Every finding points to a file and a line. There is no model inside, so the same tree gives the same findings.
No network calls
It runs on your machine: no account, no API key, nothing uploaded. A test in the repository fails the build if the package imports a network library (requests, urllib, socket, http.client and others). That is a static check of the imports, not a sandbox at run time. The only process it starts is a local git, to pin the commit it read.
By default the line quoted in each finding is masked, so only the algorithm name stays readable. That way you can send the result to someone without sending your code.
Use it from an agent
As an MCP server, in any client that runs a local stdio server (Claude Code, for one):
{ "mcpServers": { "qrp": { "command": "uvx", "args": ["qrp-mcp"] } } }
Then ask: "Scan ~/code/my-service for quantum-vulnerable cryptography." The server has six tools: scan_repo, export_cbom, list_algorithms, compare_coverage, prove_closure (did a change actually remove a finding, given two scans) and run_self_seeded_control. In Claude Code it also installs as a plugin:
/plugin marketplace add StanimirTenev/qrp-mcp
/plugin install qrp@quantumreadiness
What it does not do
- No risk scoring, prioritisation or migration plan. It names what a finding would be replaced with, not when or in what order.
- No network or host scanning, and it does not read a system certificate store, binaries, images or documentation.
- No symmetric cryptography, hashes or key derivation as findings. AES, SHA-2, PBKDF2 and Argon2 are out of scope by design; it reports the public-key cryptography a quantum computer would break. MD5, SHA-1, DES, 3DES and RC4 are still named where found.
- It cannot see an algorithm chosen outside the files. A signature made by a KMS, Vault or an HSM is listed as a place to check, not as a family.
- No history. It compares two scans you give it; it keeps nothing.
- It has had a real security bug. In 0.37.0 to 0.52.0, a scanned repository of 200 or more files could run its own Python code in the reader processes if the server's working directory was that repository. An outside research team reported it privately on 20 November. It was reproduced, pinned with a test that fails on 0.52.0, and fixed in 0.52.1 the next day. If you run any version from that range, update. The details are in the CHANGELOG.
DORA
If you work at an EU financial entity: DORA's cryptographic requirements are in the RTS, Commission Delegated Regulation (EU) 2024/1774, Article 6 (encryption and cryptographic controls) and Article 7 (key management over the whole life cycle). DORA does not require an algorithm inventory as such, but the inventory is the practical way to produce those records. The scanner itself has no DORA profile. We make a DORA cryptography report from its masked output, and the first one is free for EU financial entities: quantumreadiness.eu/dora-report.
Links
- Repository: github.com/StanimirTenev/qrp-mcp
- Page: quantumreadiness.eu/qrp-mcp
- PyPI:
qrp-mcp; MCP registry id:eu.quantumreadiness/qrp-mcp
If you run it on your own repository, I would like to hear what its "not read" list contained that surprised you, or a file type you think it should read.
Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes β full credit and traffic to the original publisher.