arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2404.09537cs.SEcs.AI
收藏

用于Python源代码漏洞检测的机器学习技术

Machine Learning Techniques for Python Source Code Vulnerability Detection

University of Passau(帕绍大学)

Talaya Farasat, Joachim Posegga

AI总结:

本研究针对Python源代码漏洞检测问题,对比应用多种机器学习算法,最终提出的BiLSTM模型取得优异性能,建立了该领域的新基准。

摘要:

软件漏洞是网络攻击频发的根本原因,漏洞识别是网络安全领域至关重要却颇具挑战的问题。本文针对Python编程语言,应用并对比了多种不同的机器学习算法用于源代码漏洞检测。实验评估表明,我们的双向长短期记忆(Bidirectional Long Short-Term Memory, BiLSTM)模型取得了出色的性能(平均准确率=98.6%,平均F值=94.7%,平均精确率=96.2%,平均召回率=93.3%,平均ROC=99.3%),由此为Python源代码漏洞检测建立了新的基准。

英文摘要:

Software vulnerabilities are a fundamental reason for the prevalence of cyber attacks and their identification is a crucial yet challenging problem in cyber security. In this paper, we apply and compare different machine learning algorithms for source code vulnerability detection specifically for Python programming language. Our experimental evaluation demonstrates that our Bidirectional Long Short-Term Memory (BiLSTM) model achieves a remarkable performance (average Accuracy = 98.6%, average F-Score = 94.7%, average Precision = 96.2%, average Recall = 93.3%, average ROC = 99.3%), thereby, establishing a new benchmark for vulnerability detection in Python source code.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑