|国家预印本平台
首页|Incorporating Verification Standards for Security Requirements Generation from Functional Specifications

Incorporating Verification Standards for Security Requirements Generation from Functional Specifications

Incorporating Verification Standards for Security Requirements Generation from Functional Specifications

来源:Arxiv_logoArxiv
英文摘要

In the current software driven era, ensuring privacy and security is critical. Despite this, the specification of security requirements for software is still largely a manual and labor intensive process. Engineers are tasked with analyzing potential security threats based on functional requirements (FRs), a procedure prone to omissions and errors due to the expertise gap between cybersecurity experts and software engineers. To bridge this gap, we introduce F2SRD (Function to Security Requirements Derivation), an automated approach that proactively derives security requirements (SRs) from functional specifications under the guidance of relevant security verification requirements (VRs) drawn from the well recognized OWASP Application Security Verification Standard (ASVS). F2SRD operates in two main phases: Initially, we develop a VR retriever trained on a custom database of FR and VR pairs, enabling it to adeptly select applicable VRs from ASVS. This targeted retrieval informs the precise and actionable formulation of SRs. Subsequently, these VRs are used to construct structured prompts that direct GPT4 in generating SRs. Our comparative analysis against two established models demonstrates F2SRD's enhanced performance in producing SRs that excel in inspiration, diversity, and specificity essential attributes for effective security requirement generation. By leveraging security verification standards, we believe that the generated SRs are not only more focused but also resonate stronger with the needs of engineers.

Xiaoli Lian、Shuaisong Wang、Hanyu Zou、Fang Liu、Jiajun Wu、Li Zhang

10.1145/3729347

自动化技术、自动化技术设备计算技术、计算机技术安全科学

Xiaoli Lian,Shuaisong Wang,Hanyu Zou,Fang Liu,Jiajun Wu,Li Zhang.Incorporating Verification Standards for Security Requirements Generation from Functional Specifications[EB/OL].(2025-05-17)[2025-06-19].https://arxiv.org/abs/2505.11857.点此复制

评论