Sign inGet started
Paper · arXiv

The Illusion of Secure LLM Code: Closing the Security Gap via Iterative Reprompting

Large Language Models (LLMs) are increasingly integrated into software development workflows, yet their ability to autonomously generate secure authentication code remains uncertain. This paper evaluates the security architecture of authentication systems generated by five prominent AI coding assistants through a bi-modal assessment framework combining static code analysis and dynamic penetration testing, mapped to NIST SP 800-63B guidelines. The study examines model behavior across four prompting strategies Basic, Secure, NIST-Based, and Reprompting to reflect varying levels of developer guidance. Empirical results demonstrate that code generated from functional or generically secure pro...

AuthorsIshpuneet Singh, Shreyas Mahajan, Gurjot Singh et al.
Primary categorycs.CR
Published26 July 2026
Last updated at source26 July 2026
cs.CRcs.AIcs.HCcs.LGcs.MA
Embed this entry
<iframe src="https://silytics.si/embed/item/960c1ddb-d7be-4741-bd40-177747f7257f" width="420" height="190" style="border:0" loading="lazy" title="Silytics entry"></iframe>

Free, no tracking. More about feeds and embeds.

Silytics shows public metadata from arXiv and links to the original. Information may be incomplete or out of date. Last refreshed 17 October 2026. Licenses and terms of the original apply to the work itself. Not financial, legal or professional advice.