Toward LLM-Assisted Security Auditing and Post-Quantum Readiness: An Exploratory Study
Mario Keh, Yuhua Chen
Key points
From the paper's conclusion- We execute CodeQL and Semgrep on the application-layer targets as a measured baseline—neither flags any of Rallly’s eleven disclosed advisories, of which the directed audit fully recovers nine (one partially recovered and one not recovered)—while presenting the cryptographic-posture findings as demonstrations of reach rather than a measured evaluation.
Abstract
Open-source software holds much of the modern infrastructure of computing in today’s world, yet its security review remains chronically under-resourced relative to its deployment scale. This gap is compounded by the migration to Post-Quantum Cryptography (PQC) driven by the threat of Harvest Now, Decrypt Later and the NSA CNSA 2.0 mandate making the assessment of cryptographic posture an immediate need. This article investigates whether Large Language Models (LLMs) add value over established tooling for security auditing. We propose a three-layer methodology that combines LLM semantic source analysis, vulnerability-advisory cross-referencing and standard-framework mapping. We apply it across a difficulty gradient of six repositories, from an intentionally vulnerable training application through a production web application to the cryptographic libraries that constitute the PQC migration infrastructure. Three observations emerge, which we frame as hypotheses for controlled testing rather than measured results. LLM-assisted analysis shows its clearest advantage on vulnerabilities defined by an absent check rather than a dangerous pattern. The method’s coverage appears bounded by the catalog of security contracts it is given rather than by the analytical ceiling of the model. Lastly, in our provider sample, post-quantum readiness appears undermined less by the weakness of the algorithm than by the immaturity of its implementation in new code paths. We execute CodeQL and Semgrep on the application-layer targets as a measured baseline—neither flags any of Rallly’s eleven disclosed advisories, of which the directed audit fully recovers nine (one partially recovered and one not recovered)—while presenting the cryptographic-posture findings as demonstrations of reach rather than a measured evaluation.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- AI-Driven Security Code Review for Distributed Digital Services: Evidence-Centred LLM Vulnerability Detection and RepairInformation · 2026
- CQLLM: A Framework for Generating CodeQL Security Vulnerability Detection Code Based on Large Language ModelApplied Sciences · 2026
- Can Agentic Code Review Catch Vulnerabilities Before They Are Merged?arXiv · 2026
- LLMs in DevSecOps: A Systematic Mapping of Models, Evidence, and Research Gaps Across the Software LifecyclearXiv · 2026
- Security and Quality in LLM-Generated Code: A Multi-Language, Multi-Model AnalysisIEEE Transactions on Dependable and Secure Computing · 2026
- PAGENT: Program Analysis Guided LLM Agent for Proof-of-Concept GenerationProceedings of the ACM on Software Engineering · 2026