从物联网的问题报告中检测漏洞
Detecting Vulnerabilities from Issue Reports for Internet-of-Things
AI总结:
针对物联网问题报告的漏洞检测空白,提出结合ML与LLM的NLP技术及微调BERT两种方法,在21个Eclipse IoT项目中实验,SVM模型取得0.65的AUC,为准确检测IoT漏洞奠定基础。
摘要:
及时识别反映软件漏洞的问题报告至关重要,特别是对于分析速度慢于非物联网(IoT)系统的物联网。虽然机器学习(ML)和大型语言模型(LLMs)能在非物联网系统中检测指示漏洞的问题,但它们在物联网中的应用仍未被探索。我们是首个解决此问题的团队,提出了两种方法:(1)将ML和LLMs与自然语言处理(NLP)技术相结合,以检测21个Eclipse IoT项目中指示漏洞的问题;(2)在11,000个GitHub问题上微调预训练的BERT掩码语言模型(MLM)以分类\vul。我们的最佳性能属于在BERT NLP特征上训练的支持向量机(SVM),其受试者工作特征曲线下面积(AUC)达到0.65。微调后的BERT准确率为0.26,强调了在训练期间暴露所有数据的重要性。我们的贡献为从问题报告中准确检测物联网漏洞奠定了基础,类似于非物联网系统。
英文摘要:
Timely identification of issue reports reflecting software vulnerabilities is crucial, particularly for Internet-of-Things (IoT) where analysis is slower than non-IoT systems. While Machine Learning (ML) and Large Language Models (LLMs) detect vulnerability-indicating issues in non-IoT systems, their IoT use remains unexplored. We are the first to tackle this problem by proposing two approaches: (1) combining ML and LLMs with Natural Language Processing (NLP) techniques to detect vulnerability-indicating issues of 21 Eclipse IoT projects and (2) fine-tuning a pre-trained BERT Masked Language Model (MLM) on 11,000 GitHub issues for classifying \vul. Our best performance belongs to a Support Vector Machine (SVM) trained on BERT NLP features, achieving an Area Under the receiver operator characteristic Curve (AUC) of 0.65. The fine-tuned BERT achieves 0.26 accuracy, emphasizing the importance of exposing all data during training. Our contributions set the stage for accurately detecting IoT vulnerabilities from issue reports, similar to non-IoT systems.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。