Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Intelligent contract code-oriented vulnerability prediction method and system, computer equipment and storage medium

A technology of smart contracts and prediction methods, applied in computer security devices, calculations, instruments, etc., can solve problems such as unsatisfactory recognition effects, achieve cost savings and avoid low precision effects

Pending Publication Date: 2020-06-26
YANGZHOU UNIV
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] At present, there are some technologies for predicting and identifying vulnerabilities in smart contract codes, but most of these technologies are based on traditional static analysis technology or Fuzzing technology to analyze smart contract codes and identify vulnerabilities, but these technologies are more suitable for traditional programs Analysis, in the analysis of smart contract code, its identification effect is not very ideal

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Intelligent contract code-oriented vulnerability prediction method and system, computer equipment and storage medium
  • Intelligent contract code-oriented vulnerability prediction method and system, computer equipment and storage medium
  • Intelligent contract code-oriented vulnerability prediction method and system, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0054] The invention builds a vulnerability prediction classifier by combining technologies such as multi-granularity scanning and cascading forests, which can provide effective smart contract code vulnerability prediction, and further improve the code quality of the smart contract code before it is uploaded to the chain.

[0055] In one embodiment, combined with figure 1 , provides a vulnerability prediction method for smart contract codes, the method includes the following steps:

[0056] Step 1, collect several smart contract codes and their corresponding vulnerability...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an intelligent contract code-oriented vulnerability prediction method and system, computer equipment and a storage medium. The method comprises the steps of collecting a plurality of intelligent contract codes and vulnerability data; for each intelligent contract code, extracting a code feature value of the intelligent contract code, identifying the code feature value meeting a preset condition with the vulnerability data relevancy value, and recording the code feature value as a vulnerability feature value; for each intelligent contract code, constructing a classifiermodel by utilizing the vulnerability feature value; constructing an intelligent contract vulnerability prediction network; randomly selecting a plurality of vulnerability characteristic values, and inputting the vulnerability characteristic values into the prediction network for training to generate a vulnerability prediction classifier; and extracting a code feature value of the to-be-predicted smart contract code, and inputting the code feature value into the vulnerability prediction classifier to obtain a vulnerability prediction result. According to the method, the vulnerability predictionclassifier is constructed by combining technologies such as multi-granularity scanning and cascade forests, so that an effective intelligent contract code vulnerability prediction effect can be provided, and the code quality of the intelligent contract code before the intelligent contract code is linked is improved.

Description

technical field [0001] The invention belongs to the field of software security analysis, and in particular relates to a smart contract code-oriented vulnerability prediction method, system, computer equipment and storage medium. Background technique [0002] A smart contract is a code deployed on the blockchain. Once a transaction or event triggers the terms in the contract, the code will be automatically executed. It is the main component of the blockchain, providing the basis for the programmable features of the blockchain and supporting various applications on the blockchain. [0003] A smart contract is an event-driven, stateful program that runs on the blockchain system and can store and process digital assets on the blockchain ledger. Although the blockchain itself provides an application-oriented security guarantee, the smart contract code created on it does not necessarily. So far, various smart contract code vulnerabilities have been discovered, such as Parity mul...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F21/57
CPCG06F21/577
Inventor 孙小兵李斌章永龙张正华薄莉莉
Owner YANGZHOU UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products