TL;DR
This paper introduces Quantum-Safe Code Auditor, a static analysis tool that uses LLMs and quantum-aware risk scoring to identify and prioritize quantum-vulnerable cryptographic code for migration.
Contribution
It combines regex detection, LLM-assisted classification, and quantum risk scoring with VQE to automate and improve quantum vulnerability assessment in codebases.
Findings
Achieved 71.98% precision and 100% recall in identifying quantum-vulnerable code.
Evaluated on five open-source libraries with 5,775 findings.
Open-sourced all code, data, and scripts for reproducibility.
Abstract
The impending arrival of cryptographically relevant quantum computers (CRQCs) threatens the security foundations of modern software: Shor's algorithm breaks RSA, ECDSA, ECDH, and Diffie-Hellman, while Grover's algorithm reduces the effective security of symmetric and hash-based schemes. Despite NIST standardising post-quantum cryptography (PQC) in 2024 (FIPS 203 ML-KEM, FIPS 204 ML-DSA, FIPS 205 SLH-DSA), most codebases lack automated tooling to inventory classical cryptographic usage and prioritise migration based on quantum risk. We present Quantum-Safe Code Auditor, a quantum-aware static analysis framework that combines (i) regex-based detection of 15 classes of quantum-vulnerable primitives, (ii) LLM-assisted contextual enrichment to classify usage and severity, and (iii) risk scoring via a Variational Quantum Eigensolver (VQE) model implemented in Qiskit 2.x, incorporating…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
