Home / Papers / DeeDP: vulnerability detection and patching based on deep learning

DeeDP: vulnerability detection and patching based on deep learning

4 Citations2020
A. Savchenko, O. Fokin, A. Chernousov
Theoretical and Applied Cybersecurity

The DeeDP system, which allows to detect vulnerabilities in C/C++ source code and generate patch for fixing detected issue, uses deep learning methods to organize rules for deciding whether a code fragment is vulnerable.

Abstract

We present the DeeDP system for automatic vulnerabilities detection and patch providing. DeeDP allows to detect vulnerabilities in C/C++ source code and generate patch for fixing detected issue. This system uses deep learning methods to organize rules for deciding whether a code fragment is vulnerable. Patch generation processes can be performed based on neural network and rule-based approaches. The system uses the abstract syntax tree (AST) representations of the source code fragments. We have tested effectiveness of our approach on different open source projects. For example, Microsoft/Terminal (https://github.com/microsoft/Terminal) was analyzed with DeeDP: our system detected security issue and generated patch which was successfully approved and applied by Microsoft maintainers.