•  
  •  
 

Abstract

The increasing complexity of software and demands for rapid deployment have pushed the software industry to rely more on large language models (LLMs) in developing source code. However, as this technology is still relatively recent, questions can arise about the safety of the generated code. This paper presents an analysis of seven LLMs with respect to the presence of vulnerabilities within source code. Our findings show that LLMs are more likely to produce vulnerable web applications than vulnerable C programs, and that vulnerabilities are more likely to occur when program size and complexity increases.

DOI

https://doi.org/10.5038/2378-0789.9.1.1156

Share

COinS