About | Contact Us | Register | Login
ProceedingsSeriesJournalsSearchEAI
Security and Privacy in New Computing Environments. 4th EAI International Conference, SPNCE 2021, Virtual Event, December 10-11, 2021, Proceedings

Research Article

Source Code Vulnerability Detection Method with Multidimensional Representation

Download(Requires a free EAI acccount)
4 downloads
Cite
BibTeX Plain Text
  • @INPROCEEDINGS{10.1007/978-3-030-96791-8_10,
        author={Hongyu Yang and Leyi Ying and Liang Zhang},
        title={Source Code Vulnerability Detection Method with Multidimensional Representation},
        proceedings={Security and Privacy in New Computing Environments. 4th EAI International Conference, SPNCE 2021, Virtual Event, December 10-11, 2021, Proceedings},
        proceedings_a={SPNCE},
        year={2022},
        month={3},
        keywords={Vulnerability detection Structured representation Abstract syntax tree Code metrics Deep neural network},
        doi={10.1007/978-3-030-96791-8_10}
    }
    
  • Hongyu Yang
    Leyi Ying
    Liang Zhang
    Year: 2022
    Source Code Vulnerability Detection Method with Multidimensional Representation
    SPNCE
    Springer
    DOI: 10.1007/978-3-030-96791-8_10
Hongyu Yang1, Leyi Ying2, Liang Zhang3
  • 1: School of Safety Science and Engineering, Civil Aviation University of China
  • 2: School of Computer Science and Technology, Civil Aviation University of China
  • 3: School of Information, University of Arizona, Tucson

Abstract

At present, most of the source code vulnerability detection methods only rely on the source code text information for representation, and the single dimension of representation leads to low efficiency. This paper presents a source code vulnerability detection method based on multidimensional representation. Firstly, the structured text information of the source code is obtained through the abstract syntax tree of the source code; Then the source code is measured to obtain the code metrics; Finally, a deep neural network is used for feature learning to construct the source code vulnerability detection model, and the structured text features and code metrics of the source code to be detected are input into the vulnerability detection model to obtain the vulnerability detection results. The results of the comparison experiment show that the method has a good detection effect. In comparison experiments, 11 source code samples with different types of vulnerabilities were tested for vulnerability detection. The average detection accuracy of this method is 97.96%. Compared with existing vulnerability detection methods based on a single characterization, the detection accuracy of this method is improved by 4.89%–12.21%. At the same time, the miss and false-positive rates of this method are kept within 10%.

Keywords
Vulnerability detection Structured representation Abstract syntax tree Code metrics Deep neural network
Published
2022-03-13
Appears in
SpringerLink
http://dx.doi.org/10.1007/978-3-030-96791-8_10
Copyright © 2021–2025 ICST
EBSCOProQuestDBLPDOAJPortico
EAI Logo

About EAI

  • Who We Are
  • Leadership
  • Research Areas
  • Partners
  • Media Center

Community

  • Membership
  • Conference
  • Recognition
  • Sponsor Us

Publish with EAI

  • Publishing
  • Journals
  • Proceedings
  • Books
  • EUDL