基于AI的安全缺陷预测
Towards security defect prediction with AI
摘要:
在这项研究中,我们调查了目前最先进的AI系统检测缓冲区溢出的限制,并将其与当前的静态分析工具进行比较。为此,我们开发了一个代码生成器s-bAbI,能够生成任意大量复杂度受控的代码样本。我们发现,我们检查的静态分析引擎具有良好的精度,但在此数据集上的召回率较差,除了具有良好精度和召回率的声音静态分析器。我们发现,最先进的人工智能系统,一个在Choi等人[1]之后建模的记忆网络,可以实现与静态分析引擎相似的性能,但需要大量的训练数据才能做到这一点。我们的工作指向未来可能解决这些问题的方法;即,使用可以捕获适当范围信息的代码表示,并使用能够执行算术运算的深度学习方法。
英文摘要:
In this study, we investigate the limits of the current state of the art AI system for detecting buffer overflows and compare it with current static analysis tools. To do so, we developed a code generator, s-bAbI, capable of producing an arbitrarily large number of code samples of controlled complexity. We found that the static analysis engines we examined have good precision, but poor recall on this dataset, except for a sound static analyzer that has good precision and recall. We found that the state of the art AI system, a memory network modeled after Choi et al. [1], can achieve similar performance to the static analysis engines, but requires an exhaustive amount of training data in order to do so. Our work points towards future approaches that may solve these problems; namely, using representations of code that can capture appropriate scope information and using deep learning methods that are able to perform arithmetic operations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。