Incorporating Verification Standards for Security Requirements Generation from Functional Specifications
By: Xiaoli Lian , Shuaisong Wang , Hanyu Zou and more
Potential Business Impact:
Helps computers find security problems in code.
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.
Similar Papers
Vision to Specification: Automating the Transition from Conceptual Features to Functional Requirements
Software Engineering
Helps computers write clear instructions for software.
Automated Non-Functional Requirements Generation in Software Engineering with Large Language Models: A Comparative Study
Software Engineering
Helps computers find hidden software problems early.
What was Said, What was not Said
Systems and Control
Helps keep factories safe by checking safety plans.