Secure Coding Drift in LLM-Assisted Post-Quantum Cryptography Development: A Gamified Fix

R. D. N. Shakya, C. P. Wijesiriwardana, S. M. Vidanagamachchi, Nalin A. G. Arachchilage
6/17/2026
cs.CRcs.AIcs.SE

No confident code implementation found for this paper.

Abstract

The transition to Post Quantum Cryptography (PQC) introduces considerable implementation complexity, requiring strict adherence to constant-time execution, side channel resistance, and precise parametrisation. Simultaneously, large language models (LLMs) are heavily embedded in software development workflows, including cryptographic engineering. While LLMs improve productivity, evidence shows that they frequently generate insecure or suboptimal code, particularly in security critical domains. This paper introduces Secure Coding Drift in PQC, a novel socio technical vulnerability model capturing the gradual degradation of secure coding practices due to sustained reliance on LLM-generated code. Unlike prior work that focuses on static vulnerabilities, we conceptualise security risk as a longitudinal behavioural phenomenon rising from human AI interaction. To mitigate this, we propose a gamified, LLM augmented secure coding framework that embeds adversarial evaluation, behavioural feedback, and security scoring into development workflows. Our approach reframes LLMs from passive assistants into active security co-pilots, contributing toward safer PQC implementation in AI mediated environments.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{shakya2026secure,
  title  = {Secure Coding Drift in LLM-Assisted Post-Quantum Cryptography Development: A Gamified Fix},
  author = {R. D. N. Shakya and C. P. Wijesiriwardana and S. M. Vidanagamachchi and Nalin A. G. Arachchilage},
  year   = {2026},
  eprint = {2606.19474},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.19474v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.19474.svg)](https://codeofpaper.com/paper/2606.19474)

Discussion