{"title":"Adaptive OTP generation using AI-based risk assessment for context-aware two-factor authentication systems","authors":"Insoo Kim","doi":"10.23919/JCN.2025.000091","DOIUrl":null,"url":null,"abstract":"Traditional one-time password (OTP) systems rely on fixed-length numeric codes, making them vulnerable to replay attacks, phishing, and social engineering. This paper proposes an adaptive OTP generation framework that integrates AI-based risk assessment with context-aware two-factor authentication. The proposed system evaluates contextual metadata—including device information, geolocation, and user behavior—to classify risk levels in real time using a lightweight machine learning model. Based on the assessed risk, the OTP generation policy dynamically adjusts both length and character complexity. It produces simple six-digit numeric OTPs in low-risk scenarios and transitions to alphanumeric or symbolic OTPs exceeding ten characters in high-risk conditions. This adaptive strategy enhances security while preserving usability. The architecture is modular and platform-independent, enabling seamless deployment without cloud dependency or specialized hardware. Experimental evaluations demonstrate that the proposed system increases resistance to targeted attacks while maintaining authentication speed and user convenience. This work offers a practical and scalable enhancement to conventional authentication systems, particularly for mobile and resource-constrained environments.","PeriodicalId":54864,"journal":{"name":"Journal of Communications and Networks","volume":"28 2","pages":"147-159"},"PeriodicalIF":3.0000,"publicationDate":"2026-04-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=11413252","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Communications and Networks","FirstCategoryId":"94","ListUrlMain":"https://ieeexplore.ieee.org/document/11413252/","RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/2/25 0:00:00","PubModel":"Epub","JCR":"Q2","JCRName":"COMPUTER SCIENCE, INFORMATION SYSTEMS","Score":null,"Total":0}
引用次数: 0
Abstract
Traditional one-time password (OTP) systems rely on fixed-length numeric codes, making them vulnerable to replay attacks, phishing, and social engineering. This paper proposes an adaptive OTP generation framework that integrates AI-based risk assessment with context-aware two-factor authentication. The proposed system evaluates contextual metadata—including device information, geolocation, and user behavior—to classify risk levels in real time using a lightweight machine learning model. Based on the assessed risk, the OTP generation policy dynamically adjusts both length and character complexity. It produces simple six-digit numeric OTPs in low-risk scenarios and transitions to alphanumeric or symbolic OTPs exceeding ten characters in high-risk conditions. This adaptive strategy enhances security while preserving usability. The architecture is modular and platform-independent, enabling seamless deployment without cloud dependency or specialized hardware. Experimental evaluations demonstrate that the proposed system increases resistance to targeted attacks while maintaining authentication speed and user convenience. This work offers a practical and scalable enhancement to conventional authentication systems, particularly for mobile and resource-constrained environments.
期刊介绍:
The JOURNAL OF COMMUNICATIONS AND NETWORKS is published six times per year, and is committed to publishing high-quality papers that advance the state-of-the-art and practical applications of communications and information networks. Theoretical research contributions presenting new techniques, concepts, or analyses, applied contributions reporting on experiences and experiments, and tutorial expositions of permanent reference value are welcome. The subjects covered by this journal include all topics in communication theory and techniques, communication systems, and information networks. COMMUNICATION THEORY AND SYSTEMS WIRELESS COMMUNICATIONS NETWORKS AND SERVICES.