Silent Vulnerable Dependency Alert Prediction with Vulnerability Key Aspect Explanation
Authors:
- Jiamou SunJSJiamou Sun
- Zhenchang XingZXZhenchang Xing
- Qinghua LuQLQinghua Lu
- Xiwei XuXXXiwei Xu
- Liming ZhuLZLiming Zhu
- Thong HoangTHThong Hoang
- Dehai ZhaoDZDehai Zhao
Preprint
Abstract
Due to convenience, open-source software is widely used. For beneficial reasons, open-source maintainers often fix the vulnerabilities silently, exposing their users unaware of the updates to threats. Previous works all focus on black-box binary detection of the silent dependency alerts that suffer from high false-positive rates. Open-source software users need to analyze and explain AI prediction themselves. Explainable AI becomes remarkable as a complementary of black-box AI models, providing details in various forms to explain AI decisions. Noticing there is still no technique that can discover silent dependency alert on time, in this work, we propose a framework using an encoder-decoder model with a binary detector to provide explainable silent dependency alert prediction. Our model generates 4 types of vulnerability key aspects including vulnerability type, root cause, attack vector, and impact to enhance the trustworthiness and users' acceptance to alert prediction. By experiments with several models and inputs, we confirm CodeBERT with both commit messages and code changes achieves the best results. Our user study shows that explainable alert predictions can help users find silent dependency alert more easily than black-box predictions. To the best of our knowledge, this is the first research work on the application of Explainable AI in silent dependency alert prediction, which opens the door of the related domains.Keywords
All Related Versions
This publication has 24 references indexed in Scilit:
- ReGVD: Revisiting Graph Neural Networks for Vulnerability Detection2022
- The false hope of current approaches to explainable artificial intelligence in health careThe Lancet Digital Health, 2021
- VulDeeLocator: A Deep Learning-Based Fine-Grained Vulnerability DetectorIEEE Transactions on Dependable and Secure Computing, 2021
- Drug discovery with explainable artificial intelligenceNature Machine Intelligence, 2020
- Machine Learning-Based Network Vulnerability Analysis of Industrial Internet of ThingsIEEE Internet of Things Journal, 2019
- DeepBalance: Deep-Learning and Fuzzy Oversampling for Vulnerability DetectionIEEE Transactions on Fuzzy Systems, 2019
- A case study on software vulnerability coordinationInformation and Software Technology, 2018
- A Practical Approach to the Automatic Classification of Security-Relevant Commits2018
- Beyond Metadata: Code-Centric and Usage-Based Analysis of Known Vulnerabilities in Open-Source Software2018
- Probabilistic Interpretation of Feedforward Classification Network Outputs, with Relationships to Statistical Pattern Recognition1990