Vulnerability Handling of AI-Generated Code -- Existing Solutions and Open Challenges

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Kaniewski, Sabrina, Holstein, Dieter, Schmidt, Fabian, Heer, Tobias
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866911082733371392
author Kaniewski, Sabrina
Holstein, Dieter
Schmidt, Fabian
Heer, Tobias
author_facet Kaniewski, Sabrina
Holstein, Dieter
Schmidt, Fabian
Heer, Tobias
contents The increasing use of generative Artificial Intelligence (AI) in modern software engineering, particularly Large Language Models (LLMs) for code generation, has transformed professional software development by boosting productivity and automating development processes. This adoption, however, has highlighted a significant issue: the introduction of security vulnerabilities into the code. These vulnerabilities result, e.g., from flaws in the training data that propagate into the generated code, creating challenges in disclosing them. Traditional vulnerability handling processes often involve extensive manual review. Applying such traditional processes to AI-generated code is challenging. AI-generated code may include several vulnerabilities, possibly in slightly different forms as developers might not build on already implemented code but prompt similar tasks. In this work, we explore the current state of LLM-based approaches for vulnerability handling, focusing on approaches for vulnerability detection, localization, and repair. We provide an overview of recent progress in this area and highlight open challenges that must be addressed in order to establish a reliable and scalable vulnerability handling process of AI-generated code.
format Preprint
id arxiv_https___arxiv_org_abs_2408_08549
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Vulnerability Handling of AI-Generated Code -- Existing Solutions and Open Challenges
Kaniewski, Sabrina
Holstein, Dieter
Schmidt, Fabian
Heer, Tobias
Software Engineering
The increasing use of generative Artificial Intelligence (AI) in modern software engineering, particularly Large Language Models (LLMs) for code generation, has transformed professional software development by boosting productivity and automating development processes. This adoption, however, has highlighted a significant issue: the introduction of security vulnerabilities into the code. These vulnerabilities result, e.g., from flaws in the training data that propagate into the generated code, creating challenges in disclosing them. Traditional vulnerability handling processes often involve extensive manual review. Applying such traditional processes to AI-generated code is challenging. AI-generated code may include several vulnerabilities, possibly in slightly different forms as developers might not build on already implemented code but prompt similar tasks. In this work, we explore the current state of LLM-based approaches for vulnerability handling, focusing on approaches for vulnerability detection, localization, and repair. We provide an overview of recent progress in this area and highlight open challenges that must be addressed in order to establish a reliable and scalable vulnerability handling process of AI-generated code.
title Vulnerability Handling of AI-Generated Code -- Existing Solutions and Open Challenges
topic Software Engineering
url https://arxiv.org/abs/2408.08549