Data available to the software development community can be overwhelming. Despite indications in the data about the possible direction in which software systems evolve, it’s been challenging to gain insights. This makes it essential to scrutinize data to see if they provide valuable insights. Identifying patterns in security vulnerabilities is a key area for software systems.ย
Data is available in multiple sources, including customer interactions involving the software development team. The industry processes large amounts of data across various domains, making them available for meaningful analyses. Early identification of security lapses will help software development teams enhance their processes, making them more robust and secure.
Security issues can be costly for corporations if not identified and addressed promptly. Although substantial effort exists to check for security vulnerabilities, leveraging data and learning from them can take these efforts to the next level.
Integrating information from customer conversations, software development processes, and industry data will strengthen the insights available to software development teams. In the long run, this integrated approach will make the information smarter and more predictable. Data science excels in building solutions across various domains, and secure software systems are no exception.
Integrating data science approaches with software development practices will be beneficial. Software system security experts can validate their decisions with data from the integrated system, enhancing customer confidence. The study also aims to identify and fine-tune techniques to align with the thought processes devised in this paper.ย ย
Software systems development and maintenance landscape being a dynamic and knowledge intensive area, it is extremely important to manage the knowledge by making use of data science approaches.
Raghavendra Rao Althar
Proposed architecture of the system
This system will have three prominent modules: customer conversation, software landscape, and industry landscape. These modules gather data from their respective sources, process them, and forward them for further use. The customer conversation module fetches data from customer interactions and the software development team. The software landscape module leverages multiple internal data sources, including technical requirements drafted by the software development team, testing outcomes, and internal conversations within the software development team. The industry landscape module processes data from publicly available sources on the internet.

Credit. Author
Customer conversation module

Credit. Author
The customer conversation module collects all the data from interactions between the software development team and customers. Since these discussions cover various areas, extracting hidden insights from this critical information is essential. Implicit customer requirements are vital in building effective software systems. Hence, it is necessary to understand patterns hidden in customer conversations.ย
Additionally, data processed internally within software development processes are to be utilized. These internal data further refine customer conversations, analyzing customer needs from a business perspective to understand the technical requirements.
The customer conversation model processes information at two levels of modeling. All incoming data are modeled using a binary classification model in the first level. This level predicts security and non-security events. Security events are further modeled in the second level using a multi-class classification model. This categorizes security events into various security categories. Understanding these categories provides a comprehensive understanding of different security requirements before the software development team begins software system development.
The output of this module will be security-related expectations for the software systems being built. These expectations will also be categorized. These categorized security expectations help build the needed ecosystem for software development. This system helps software development teams proactively identify appropriate security measures while developing the systems. These systems must evolve to adapt to the dynamic nature of the businesses.
This module will have a checkpoint where security experts will review the module’s predictions and make necessary updates. These updates can then be used to calibrate the models. Over time, the information collected in the database will become more intelligent and relevant to the software systems being developed.ย
Industry landscape module

Credit. Author
The industry landscape module leverages all industry-related security information. Vulnerabilities are modeled to identify the CWE (Common Weakness Enumeration) of security events. The company will maintain an internal security event database from which events can be fed into the model. Once the CWE is predicted, the database is updated with the CWE and threat details.ย
This database must also be maintained by periodic updates, ensuring the mapping of threats and vulnerabilities. Vulnerabilities are potential system loopholes that threats can exploit. From the security of the system point of view, it is essential to understand threats and vulnerabilities to put appropriate security controls in place.
The database is regularly updated with modeled threat-vulnerability mappings and CWE mapping. It will also have to be periodically updated with security event information across the company. This information helps assess the probability and impact of security events.
Each threat is assigned a risk value based on the type of threat, associated vulnerabilities, likelihood of occurrence, and impact on the business. Controls can then be recommended based on these risk values, with control information also updated in the database. This information helps to predict future controls needed as new threats are identified in software development.ย
Software landscape module

Credit. Author
The software landscape-related module leverages all the information processed in the development practices. Figure 4 depicts the architecture of the software landscape module.ย
This module focuses on software source code, production-related information, and all other data processed during software development. Software source code contains patterns that can reveal security weaknesses in the systems under study. Compared to natural language, the structured nature of the software source code has been extensively documented and can be leveraged in this module. As discussed in-depth in the book “Software Source Code Statistical Modeling,” statistical modeling of source code” can address some challenges faced by the software development community.
Software development-related data includes all the information processed during software requirements processing, design, construction, and testing. This data can also be leveraged to learn the security flaws of the software systems. While software requirements-related conversations are already modeled in the customer conversation module, the rest of the information can be leveraged in this module.
Threat modeling conducted in the industry landscape module can model the software design-related information. Threat modeling is one of the classical approaches used to strengthen software design. Software testing involves various activities, from unit testing to integration testing and software security testing.ย
Software security testing includes Veracode scans done with static and dynamic modes and penetration testing to identify possible loopholes in a software system. Tools like Greenlight help software developers proactively identify the security issues as they code, while SonarQube analysis code for additional features. However, these tools alone will not establish a foolproof system to address all the security loopholes. Hence, a smart system for managing security vulnerabilities in software systems is needed to integrate insights from various security measures. Over time, this system can also become more intelligent by incorporating all gathered information.
Integrated software security vulnerability management system
The customer conversation module gathers security-related information and classifications from customer conversations. The software landscape module generates information from software development processes, including qualitative security data and quantitative software metrics. The industry landscape module generates vulnerability classification data from industry sources.ย
Together, these modules generate a central platform for the company, which the team can leverage to build an effective security management system. They can develop this platform into a query database where software development practitioners can access specific information. A visualization module can provide visual representations of the software development data. Additionally, the team can integrate a prediction module into the central platform, offering various predictive capabilities for software systems.ย

Credit. Author
Conclusion
This study explored integrating software development practices with data science to better control software system vulnerabilities. The sources include industry data, software development process data, and customer interactions. The proposed architecture combines these data sources to create an AI-based system for managing knowledge around software system vulnerabilities.ย
In the customer conversation module, we built a data classifier to refine data to identify security-related information and provide granular data classification. Deep learning models are used for the two-level processing of this information, outperforming state-of-art approaches. The industry landscape module combines machine learning models with risk assessment and threat modeling approaches. Customized ensemble models in this architecture have demonstrated superior performance to current state-of-art results.
The proposed architecture under the software landscape module combines data from various software development practices. It demonstrates the creation of a smart knowledge base for software development practitioners by combining all the data across software development processes. Finally, the system feeds into the central database for the organization, which is equipped to extract helpful information based on the needs of the software system development team. Finally, the system feeds into the central database for the organization, which is equipped to extract helpful information based on the needs of the software system development team.
๐ฌ๐งซ๐งช๐๐ค๐ฉโ๐ฌ๐ฆ ๐ญ๐
Journal reference
Althar, R. R., Samanta, D., Purushotham, S., Sengar, S. S., & Hewage, C. (2023). Design and development of artificial intelligence knowledge processing system for optimizing security of software system. SN Computer Science, 4(4), 331. https://doi.org/10.1007/s42979-023-01785-2

