Crossref DOIMemberCiteFactoropen accessissn
SJIF Impact Factor 8.659 | ISSN: 2582-3930
IJSREM Logo

International Journal of Scientific Research in Engineering and Management

(Gateway to Global Scholars - An International, Scholarly, Multi-Disciplinary, Open Access Journal)

Peer-Reviewed Journal Designed to Meet UGC's Quality Parameters

HomeCurrent IssuePast IssuesPay OnlineConferencesEditorial BoardAbout UsContact Us
IJSREM

Loading article...

Follow Us

  • Google Scholar
  • ResearchGate
  • Academia.edu
  • Mendeley
  • LinkedIn
  • Facebook
  • Instagram

Journal Policies

  • Peer Review Policy
  • Publication Ethics
  • Copyright Infringement
  • Refund & Cancellation Policy
  • Terms and Conditions
  • Privacy Policy

Journal Identifiers & Licenses

  • ISSN Verified: 2582-3930ISSN Verified: 2582-3930
  • Crossref DOI: 10.55041Crossref DOI: 10.55041
  • SJIF Ranking: 08.659SJIF Ranking: 08.659
  • Licensed under CC BY 4.0Licensed under CC BY 4.0
  • ISO Certification: 9001:2015ISO Certification: 9001:2015
  • Indexed & Cited In: Google ScholarIndexed & Cited In: Google Scholar

Contact Us

International Journal of Scientific Research in Engineering and Management (IJSREM)

#62/1, New No 7, 1st Cross, 2nd Main, Ganganagar, R T Nagar, Bangalore North, Bangalore, Karnataka, India – 560032
[email protected]+91 93911 67991
logos
logos
Working Hours

Mon – Sat: 9:00 AM – 6:00 PM

Sunday: 10:00 AM – 4:00 PM

+91 93911 67991

© 2026 IJSREM – International Journal of Scientific Research in Engineering and Management. This is an open-access journal. Articles are published under the Creative Commons Attribution (CC BY 4.0) License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

DisclaimerPrivacy PolicyTerms and Conditions
ArticlePeer ReviewedOpen AccessPlagiarism Passed
Paper ID:IJSREM68385

Security Analysis of AI-Generated Source Code: A Comparative Study of Vulnerability Patterns in Large Language Model (LLM) Generated and Human-Written Programs

Stream/Area:

-

Subject:

-

Paper ID:

IJSREM68385

Volume:

10 |

10 |

Oct 2026

Pages:

1-5

Publication Frequency:

Monthly (12 issues per year)

DOI
Digital Object Identifier
Not assigned

License:International Journal of Scientific Research in Engineering and Management follows the Creative Commons Attribution 4.0 (CC BY 4.0) License, allowing free use and distribution with proper attribution.

Share this article:

Authors

KGR

Kedar Ganesh Rane

Department of Cyber Security

Chikitsak Samuhas's Patkar Varde College

Download Author Certificate

Author Services & Downloads

Full ArticlesAcceptance Certificate

Abstract

AI coding assistants based on Large Language Models (LLMs) are now widely used to generate source code, but the security quality of that code is not guaranteed. This paper proposes a design-and-evaluation framework for comparing the security of LLM-generated programs with human-written programs. Programs for identical task specifications are produced by popular AI coding assistants and by human developers, then analysed with static application security testing (SAST) tools and manual verification. The study focuses on five weakness categories: SQL Injection, Cross-Site Scripting (XSS), Broken Authentication, Insecure File Handling, and Hardcoded Credentials, mapped to CWE and OWASP classifications. Findings are compared using vulnerability density, vulnerable-program rate, severity distribution, and scanner precision. Static analysis is treated as an aid rather than a final judge: flagged issues are manually verified before being counted. The paper also discusses ethical use of AI tools, licensing, threats to validity, and recommendations for secure AI-assisted development.

KEYWORDS

AI-Generated Code Large Language Models Secure Coding Static Code Analysis Vulnerability Patterns SQL Injection XSS CWE OWASP Software Security.

Cite This Article

Kedar Ganesh Rane, "Security Analysis of AI-Generated Source Code: A Comparative Study of Vulnerability Patterns in Large Language Model (LLM) Generated and Human-Written Programs," International Journal of Scientific Research in Engineering and Management, vol. 10, no. 10, pp. 1-5, Oct 2026.

Full Article/Conclusion

AI coding assistants improve productivity, but functional code is not necessarily secure code. This paper proposed a controlled, reproducible framework for comparing LLM-generated and human-written programs across five common weakness classes, combining static analysis with manual verification and standard taxonomies. The central contribution is a methodology that treats AI output as untrusted code, measures its security with transparent metrics, and reports tool errors honestly. Empirical execution of the study will determine the actual vulnerability patterns and support evidence-based guidance for secure AI-assisted development.

References

[1]   H. Pearce, B. Ahmad, B. Tan, B. Dolan-Gavitt, and R. Karri, "Asleep at the Keyboard? Assessing the Security of GitHub Copilot's Code Contributions," in Proc. IEEE Symposium on Security and Privacy (S&P), 2022. [2]    N. Perry, M. Srivastava, D. Kumar, and D. Boneh, "Do Users Write More Insecure Code with AI Assistants?," in Proc. ACM Conference on Computer and Communications Security (CCS), 2023. [3]    M. Souppaya, K. Scarfone, and D. Dodson, "Secure Software Development Framework (SSDF) Version 1.1," NIST Special Publication 800-218, 2022. [4]    OWASP Foundation, "OWASP Top 10 – 2021: The Ten Most Critical Web Application Security Risks," 2021. [5]   MITRE Corporation, "Common Weakness Enumeration (CWE)," https://cwe.mitre.org. [6]   M. Chen et al., "Evaluating Large Language Models Trained on Code," arXiv:2107.03374, 2021. [7]   Government of India, "The Digital Personal Data Protection Act, 2023," Act No. 22 of 2023, Aug. 11, 2023.

Editorial & Review Transparency

Publication Date

10/27/2026

Peer Review Type

Double-Blind Peer Review

Review Rounds: 2

Documents

Review Report (Confidential)
Copyright Form (Office)

Article Metrics & Impact

Article Views

0

Total views since publication

PDF Downloads

3

Total downloads since publication

Geographic Reach

5

Indexing, Archiving & Preservation

Google Scholar
Academia
ResearchGate
Crossref
SSRN
Semantic Scholar
Thomson Reuters
WorldCat
Mendeley
OpenAlex
EBSCO
Zenodo

Digital Preservation: This article is permanently archived on Zenodo and complies with all data preservation standards across major indexing platforms.

Ethics, Compliance & Transparency

Plagiarism Screening

This manuscript has been checked for plagiarism using TurnitinPlagiarismChecker software.

Conflict of Interest

The authors declare no conflict of interest related to this research work.

Funding Information

No funding information available for this research.

Similar & Recommended Articles

Similar Articles by Topic

Related research in the same subject area

Loading similar articles...