English

How Good LLM-Generated Password Policies Are?

Cryptography and Security 2025-07-23 v2 Artificial Intelligence

Abstract

Generative AI technologies, particularly Large Language Models (LLMs), are rapidly being adopted across industry, academia, and government sectors, owing to their remarkable capabilities in natural language processing. However, despite their strengths, the inconsistency and unpredictability of LLM outputs present substantial challenges, especially in security-critical domains such as access control. One critical issue that emerges prominently is the consistency of LLM-generated responses, which is paramount for ensuring secure and reliable operations. In this paper, we study the application of LLMs within the context of Cybersecurity Access Control Systems. Specifically, we investigate the consistency and accuracy of LLM-generated password policies, translating natural language prompts into executable pwquality..conf configuration files. Our experimental methodology adopts two distinct approaches: firstly, we utilize pre-trained LLMs to generate configuration files purely from natural language prompts without additional guidance. Secondly, we provide these models with official pwquality..conf documentation to serve as an informative baseline. We systematically assess the soundness, accuracy, and consistency of these AI-generated configurations. Our findings underscore significant challenges in the current generation of LLMs and contribute valuable insights into refining the deployment of LLMs in Access Control Systems.

Keywords

Cite

@article{arxiv.2506.08320,
  title  = {How Good LLM-Generated Password Policies Are?},
  author = {Vivek Vaidya and Aditya Patwardhan and Ashish Kundu},
  journal= {arXiv preprint arXiv:2506.08320},
  year   = {2025}
}

Comments

11 pages, 2 Tables, 9 figures, 3 Algorithms

R2 v1 2026-07-01T03:08:07.343Z