본문 바로가기
  • Home

Detection of Source Code Security Vulnerabilities Using code2vec Model

  • Journal of Software Assessment and Valuation
  • Abbr : JSAV
  • 2020, 16(2), pp.45-52
  • Publisher : Korea Software Assessment and Valuation Society
  • Research Area : Engineering > Computer Science
  • Received : November 9, 2020
  • Accepted : December 21, 2020
  • Published : December 31, 2020

Joon Hyuk Yang 1 Ji Hwan Mo 2 Sung-Moon Hong 1 Doh, Kyung-Goo 1

1한양대학교
2한양대학교(ERICA캠퍼스)

Candidate

ABSTRACT

Traditional methods of detecting security vulnerabilities in source-code require a lot of time and effort. If there is good data, the issue could be solved by using the data with machine learning. Thus, this paper proposes a source-code vulnerability detection method based on machine learning. Our method employs the code2vec model that has been used to propose the names of methods, and uses as a data set, Juliet Test Suite that is a collection of common security vulnerabilities. The evaluation shows that our method has high precision of 97.3% and recall rates of 98.6%. And the result of detecting vulnerabilities in open source project shows hopeful potential. In addition, it is expected that further progress can be made through studies covering with vulnerabilities and languages not addressed here.

Citation status

* References for papers published after 2023 are currently being built.