• English
  • Deutsch
  • Log In
    Password Login
    Research Outputs
    Fundings & Projects
    Researchers
    Institutes
    Statistics
Repository logo
Fraunhofer-Gesellschaft
  1. Home
  2. Fraunhofer-Gesellschaft
  3. Scopus
  4. Can we use LLMs to recover Trace Links between Source Code and Security Requirements?
 
  • Details
  • Full
Options
2025
Conference Paper
Title

Can we use LLMs to recover Trace Links between Source Code and Security Requirements?

Abstract
In software development, many different artifacts are created during the process. At the beginning, requirements for the respective software are defined and then written down in a specification. This is followed by other artifacts, such as source code, test cases, or various UML diagrams. Different standards, including ISO 26262 for the automotive industry, require that safety and security requirements be explicitly traced for these different artifacts. However, tracing of requirements in source code is very time-consuming, error-prone, and costly. To reduce the effort involved, various approaches have been developed that use different techniques, such as information retrieval or machine learning, to automate this process. However, these approaches also have problems, so that practical use, especially in safety and security domains, is limited. In this paper, we have therefore developed a plugin for VSCode and a new approach based on LLMs to recover trace links between safety and security requirements and source code. Our results show that the used LLMs are capable of performing this task because they have both code and textual understanding. In various combinations, Llama showed satisfying results in terms of precision (0.8).
Author(s)
Paßlack, Jan Marc
Gottfried Wilhelm Leibniz Universität Hannover
Specht, Alexander
Gottfried Wilhelm Leibniz Universität Hannover
Herrmann, Marc
Gottfried Wilhelm Leibniz Universität Hannover
Elsofi, Duaa Adel Ali
Universität Koblenz
Ehl, Marco
Universität Koblenz
Großer, Katharina
Universität Koblenz
Jürjens, Jan  
Fraunhofer-Institut für Software- und Systemtechnik ISST  
Schneider, Kurt
Gottfried Wilhelm Leibniz Universität Hannover
Mainwork
IEEE 33rd International Requirements Engineering Conference Workshops, REW 2025. Proceedings  
Conference
International Requirements Engineering Conference Workshops 2025  
International Workshop on Evolving Security and Privacy Requirements Engineering 2025  
DOI
10.1109/REW66121.2025.00035
Language
English
Fraunhofer-Institut für Software- und Systemtechnik ISST  
Keyword(s)
  • Large Language Models

  • Safety Requirements

  • Security Requirements

  • Source Code

  • Tracing

  • Cookie settings
  • Imprint
  • Privacy policy
  • Api
  • Contact
© 2024