HGVul: A Code Vulnerability Detection Method Based on Heterogeneous Source-Level Intermediate Representation

نویسندگان

چکیده

Vulnerability detection on source code can prevent the risk of cyber-attacks as early possible. However, lacking fine-grained analysis has rendered existing solutions still suffering from low performance; besides, explosive growth open-source projects dramatically increased complexity and diversity code. This paper presents HGVul, a vulnerability method based heterogeneous intermediate representation The key proposed is handling source-level (SIR) without expert knowledge. It first extracts graph SIR with multiple syntactic-semantic information. Then, HGVul splits into different subgraphs according to various semantic relations, which are used obtain information conveyed by types edges. Next, neural network attention operations deployed each subgraph learn representation, captures subtle effects node neighbors their representation. Finally, learned feature representations utilized perform detection. Experiments conducted datasets. F1 reaches 96.1% sample-balanced Big-Vul-VP dataset 88.3% unbalanced Big-Vul dataset. Further experiments actual project datasets prove better performance HGVul.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: Security and Communication Networks

سال: 2022

ISSN: ['1939-0122', '1939-0114']

DOI: https://doi.org/10.1155/2022/1919907