Friend or foe? The benefits and risks of LLMs in Cybersecurity

The rapid growth of Large Language Models (LLMs) and their continuous increase in capabilities have affected many professions and people. Due to advancements in areas such as coding and data analysis, they are now also being utilized in Cybersecurity. Recent research has examined their use in many different areas such vulnerability detection in code and analyzing network traffic. With this rapid growth, most organizations around the world are eager to advance faster than their competition, with limited considerations for the potential harm and risks these tools could bring. Some research has been conducted on malicious uses, but as the benefits grow, so does the potential for misuse, causing this balance to constantly shift. This paper examines the benefits LLMs bring, as well as the growing risks they pose, to evaluate their net impact on the field of Cybersecurity. This research consists of two main sections designed to achieve this objective. The first part is a comprehensive literature review, covering studies that focus on beneficial use cases of LLMs as well as negative misuse of LLMs. This review highlights the vast possibilities of LLMs but also shows gaps and common flaws present in LLMs. The second part of the research is an experiment, designed to evaluate how LLMs perform from a security perspective when asked to perform coding tasks that require a focus on security. Major findings from the first section show that while LLMs can accelerate existing cybersecurity tasks and enable new applications, they also introduce new risks. These negative uses include not only attacks that are more easily perpetrated due to LLMs, but also the LLMs emerging as new victims. The second section evaluates how safe the use of LLMs such as ChatGPT, Gemini, etc. is in the creation of code that is exposed to the internet. Findings from this section show that while LLMs can create working code for inexperienced users, they introduce a multitude of security flaws in their code, making their products dangerous for use unless the code is checked by an expert. This research is significant as the use of LLMs is rapidly changing the digital world. As these LLMs are integrated into an increasing number of devices and online services, knowing whether this process can be done safely or if the risks outweigh the potential benefits is of great value. Due to ongoing growth, future research is expected to further evaluate these issues, as more capable and reliable LLMs provide new opportunities in cybersecurity.

Authors

Institutions

Publication Details

Journal
UTC Scholar (University of Tennessee at Chattanooga)
Published
2026-05-01
Primary Topic
Big Data and Digital Economy
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Friend or foe? The benefits and risks of LLMs in Cybersecurity

Niklas P Dobler
UTC Scholar (University of Tennessee at Chattanooga)
Big Data and Digital Economy
article

Friend or foe? The benefits and risks of LLMs in Cybersecurity

Niklas P Dobler
article en

Abstract

The rapid growth of Large Language Models (LLMs) and their continuous increase in capabilities have affected many professions and people. Due to advancements in areas such as coding and data analysis, they are now also being utilized in Cybersecurity. Recent research has examined their use in many different areas such vulnerability detection in code and analyzing network traffic. With this rapid growth, most organizations around the world are eager to advance faster than their competition, with limited considerations for the potential harm and risks these tools could bring. Some research has been conducted on malicious uses, but as the benefits grow, so does the potential for misuse, causing this balance to constantly shift. This paper examines the benefits LLMs bring, as well as the growing risks they pose, to evaluate their net impact on the field of Cybersecurity. This research consists of two main sections designed to achieve this objective. The first part is a comprehensive literature review, covering studies that focus on beneficial use cases of LLMs as well as negative misuse of LLMs. This review highlights the vast possibilities of LLMs but also shows gaps and common flaws present in LLMs. The second part of the research is an experiment, designed to evaluate how LLMs perform from a security perspective when asked to perform coding tasks that require a focus on security. Major findings from the first section show that while LLMs can accelerate existing cybersecurity tasks and enable new applications, they also introduce new risks. These negative uses include not only attacks that are more easily perpetrated due to LLMs, but also the LLMs emerging as new victims. The second section evaluates how safe the use of LLMs such as ChatGPT, Gemini, etc. is in the creation of code that is exposed to the internet. Findings from this section show that while LLMs can create working code for inexperienced users, they introduce a multitude of security flaws in their code, making their products dangerous for use unless the code is checked by an expert. This research is significant as the use of LLMs is rapidly changing the digital world. As these LLMs are integrated into an increasing number of devices and online services, knowing whether this process can be done safely or if the risks outweigh the potential benefits is of great value. Due to ongoing growth, future research is expected to further evaluate these issues, as more capable and reliable LLMs provide new opportunities in cybersecurity.

UTC Scholar (University of Tennessee at Chattanooga)
University of Tennessee at Chattanooga (US)
Peace, Justice and strong institutions
Openalex Percentile: Top 3%
Big Data and Digital Economy
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.