Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
SMART CONTRACT CODE VULNERABILITY DETECTION METHOD AND APPARATUS, COMPUTER DEVICE AND STORAGE MEDIUM
Document Type and Number:
WIPO Patent Application WO/2021/037196
Kind Code:
A1
Abstract:
The present application relates to a smart contract code vulnerability detection method and apparatus, a computer device, and a storage medium. The smart contract code vulnerability detection method comprises the following steps: acquiring an ordered list of syntax nodes for training a smart contract source code to obtain a node vector, wherein the syntax nodes are nodes in an abstract syntax tree generated by training the smart contract source code; inputting the node vector into a cyclic neural network to obtain the output result of the global maximum pooling layer in the cyclic neural network, and using the output result as the intermediate representation of the smart contract source code; inputting the intermediate representation to a random forest classifier to perform training on the random forest classifier, and performing smart contract code vulnerability detection by means of the trained random forest classifier. The method can predict and locate code vulnerabilities more flexibly and accurately, and is more sensitive in the detection of new code vulnerabilities, without it being necessary for developers to formulate and add corresponding rules or formal specifications in time.

Inventors:
QIU WEIWEI (CN)
LI WEI (CN)
LI QILEI (CN)
ZHANG SHUAI (CN)
KUANG LIZHONG (CN)
Application Number:
PCT/CN2020/112050
Publication Date:
March 04, 2021
Filing Date:
August 28, 2020
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
HANGZHOU QULIAN TECH CO LTD (CN)
International Classes:
G06F11/36
Foreign References:
CN110011986A2019-07-12
CN109214191A2019-01-15
CN110543419A2019-12-06
US20180336354A12018-11-22
Attorney, Agent or Firm:
HANGZHOU HUAJIN LIANZHE INTELLECTUAL PROPERTY AGENCY CO., LTD. (CN)
Download PDF: