Automated Vulnerability Detection in Source Code Using Quantum Natural Language Processing
Not on the map. Why?
Abstract (arXiv)
One of the most important challenges in the field of software code audit is the presence of vulnerabilities in software source code. These flaws are highly likely ex-ploited and lead to system compromise, data leakage, or denial of ser-vice. C and C++ open source code are now available in order to create a large-scale, classical machine-learning and quantum machine-learning system for function-level vulnerability identification. We assembled a siz-able dataset of millions of open-source functions that point to poten-tial exploits. We created an efficient and scalable vulnerability detection method based on a deep neural network model Long Short Term Memory (LSTM), and quantum machine learning model Long Short Term Memory (QLSTM), that can learn features extracted from the source codes. The source code is first converted into a minimal intermediate representation to remove the pointless components and shorten the de-pendency. Therefore, We keep the semantic and syntactic information using state of the art word embedding algorithms such as Glove and fastText. The embedded vectors are subsequently fed into the classical and quantum convolutional neural networks to classify the possible vulnerabilities. To measure the performance, we used evaluation metrics such as F1 score, precision, re-call, accuracy, and total execution time. We made a comparison between the results derived from the classical LSTM and quantum LSTM using basic feature representation as well as semantic and syntactic represen-tation. We found that the QLSTM with semantic and syntactic features detects significantly accurate vulnerability and runs faster than its classical counterpart.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 8 of its 45 references that are in the map. First posted on arXiv 13 Mar 2023.
Builds on
8 of 45 references.
References · 8
- 2018Supervised learning with quantum enhanced feature spacescited by 654
- 2020Quantum Long Short-Term Memorycited by 118
- 2018Automated Vulnerability Detection in Source Code Using Deep Representation Learningcited by 114
- 2019Transfer learning in hybrid classical-quantum neural networkscited by 113
- 2022A Review of Quantum Cybersecurity: Threats, Risks and Opportunitiescited by 4
- 2017Survey of Automated Vulnerability Detection and Exploit Generation Techniques in Cyber Reasoning Systemscited by 3
- 2022Quantum Machine Learning for Software Supply Chain Attacks: How Far Can We Go?cited by 3
- 2019FaSTExt: Fast and Small Text Extractorcited by 1
Built on by
Citing papers per year: 2023: 4; 2024: 2.
6 papers.
- 2023Photovoltaic power forecasting using quantum machine learningcited by 7
- 2023Exploring the Vulnerabilities of Machine Learning and Quantum Machine Learning to Adversarial Attacks using a Malware Dataset: A Comparative Analysiscited by 2
- 2024Risks of ignoring uncertainty propagation in AI-augmented security pipelinescited by 1
- 2023Case Study-Based Approach of Quantum Machine Learning in Cybersecurity: Quantum Support Vector Machine for Malware Classification and Protectioncited by 0
- 2023Feature Engineering-Based Detection of Buffer Overflow Vulnerability in Source Code Using Neural Networkscited by 0
- 2024Direction for Detection: A Survey of Automated Vulnerability Detection and all of its Pain Pointscited by 0
- 2024Direction for Detection: A Survey of Automated Vulnerability Detection and all of its Pain Points15 Dec 2024
- 2024Risks of ignoring uncertainty propagation in AI-augmented security pipelines14 Jul 2024
- 2023Photovoltaic power forecasting using quantum machine learning27 Dec 2023
- 2023Feature Engineering-Based Detection of Buffer Overflow Vulnerability in Source Code Using Neural Networks1 Jun 2023
- 2023Case Study-Based Approach of Quantum Machine Learning in Cybersecurity: Quantum Support Vector Machine for Malware Classification and Protection1 Jun 2023
- 2023Exploring the Vulnerabilities of Machine Learning and Quantum Machine Learning to Adversarial Attacks using a Malware Dataset: A Comparative Analysis31 May 2023