Leveraging Large Language Models for Cybersecurity Risk Assessment - A Case from Forestry Cyber-Physical Systems
Paper in proceeding, 2025

In safety-critical software systems, cybersecurity activities become essential, with risk assessment being one of the most critical. In many software teams, cybersecurity experts are either entirely absent or represented by only a small number of specialists. As a result, the workload for these experts becomes high, and software engineers would need to conduct cybersecurity activities themselves. This creates a need for a tool to support cybersecurity experts and engineers in evaluating vulnerabilities and threats during the risk assessment process. This paper explores the potential of leveraging locally hosted large language models (LLMs) with retrieval-augmented generation to support cybersecurity risk assessment in the forestry domain while complying with data protection and privacy requirements that limit external data sharing. We performed a design science study involving 12 experts in interviews, interactive sessions, and a survey within a large-scale project. The results demonstrate that LLMs can assist cybersecurity experts by generating initial risk assessments, identifying threats, and providing redundancy checks. The results also highlight the necessity for human oversight to ensure accuracy and compliance. Despite trust concerns, experts were willing to utilize LLMs in specific evaluation and assistance roles, rather than solely relying on their generative capabilities. This study provides insights that encourage the use of LLMbased agents to support the risk assessment process of cyber-physical systems in safety-critical domains.

Cyber-Physical Systems

Cybersecurity

Risk Assessment

Large Language Models

Author

Fikret Mert Gultekin

Student at Chalmers

Oscar Lilja

Student at Chalmers

Ranim Khojah

Chalmers, Computer Science and Engineering (Chalmers), Interaction Design and Software Engineering

University of Gothenburg

Rebekka Wohlrab

University of Gothenburg

Chalmers, Computer Science and Engineering (Chalmers), Interaction Design and Software Engineering

Carnegie Mellon University (CMU)

Marvin Damschen

RISE Research Institutes of Sweden

Mazen Mohamad

RISE Research Institutes of Sweden

University of Gothenburg

Chalmers, Computer Science and Engineering (Chalmers), Interaction Design and Software Engineering

Proceedings 2025 40th IEEE ACM International Conference on Automated Software Engineering Workshops Asew 2025

58-65
9798331585037 (ISBN)

40th IEEE/ACM International Conference on Automated Software Engineering Workshops, ASEW 2025
Seoul, South Korea,

Subject Categories (SSIF 2025)

Software Engineering

Computer Sciences

Computer Systems

DOI

10.1109/ASEW67777.2025.00021

More information

Latest update

4/9/2026 9