International Journal of Multidisciplinary and Scientific
Emerging Research (IJMSERH)

|Peer Reviewed, Refereed & Open Access Journal | Follows UGC CARE Journal Norms and Guidelines|

|ISSN 2349-6037|Approved by ISSN, NSL & NISCAIR| Impact Factor: 9.274 |ESTD:2013|

|Scholarly Open Access Journal, Peer-Reviewed, and Refereed Journals, Impact factor 9.274 (Calculated by Google Scholar and Semantic Scholar | AI-Powered Research Tool | Multidisciplinary, Quarterly, Citation Generator, Digital Object Identifier(DOI)|

Article

TITLE AI-Generated Code Detection and Quality/Security Assessment Framework
ABSTRACT Artificial Intelligence (AI) tools like GitHub Copilot and ChatGPT are changing software development by automating routine coding tasks and speeding up delivery times. However, using AI-generated code in production environments comes with significant challenges. These include verifying the source of the code, ensuring its quality, and managing vulnerabilities. This paper proposes a flexible, multi-layered framework to (i) determine whether a code snippet is created by AI or a human and (ii) evaluate its quality and security using a combined risk score. The framework uses stylometric analysis, abstract syntax tree (AST) patterns, and static application security testing (SAST) results alongside machine learning classifiers. It aims to be effective against code obfuscation, reformatting, and any edits made afterward.
AUTHOR Saiyad Uzaib
PUBLICATION DATE 2025-09-06 14:41:03
VOLUME 13
ISSUE 3
DOI DOI: 10.15662/IJMSERH.2025.1303074
PDF pdf/2025/7/74_AI-Generated Code Detection and Quality Security Assessment Framework.pdf
KEYWORDS