Vulnerability Handling of AI-Generated Code -- Existing Solutions and Open Challenges
<|reference_start|>Vulnerability Handling of AI-Generated Code -- Existing Solutions and Open Challenges: 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.<|reference_end|>
@article{kaniewski2024vulnerability,
    title={Vulnerability Handling of AI-Generated Code -- Existing Solutions and
  Open Challenges},
    author={Sabrina Kaniewski, Dieter Holstein, Fabian Schmidt, Tobias Heer},
    journal={arXiv preprint arXiv:2408.08549},
    year={2024},
    archivePrefix={arXiv},
    eprint={2408.08549},
    primaryClass={cs.SE}
}