IDEAS home Printed from https://ideas.repec.org/a/gam/jeners/v15y2022i24p9642-d1008395.html
   My bibliography  Save this article

Smart Contract Vulnerability Detection Model Based on Siamese Network (SCVSN): A Case Study of Reentrancy Vulnerability

Author

Listed:
  • Ran Guo

    (School of Physics and Materials Science, Guangzhou University, Guangzhou 510006, China)

  • Weijie Chen

    (College of Information Engineering, Yangzhou University, Yangzhou 225127, China)

  • Lejun Zhang

    (College of Information Engineering, Yangzhou University, Yangzhou 225127, China
    The Cyberspace Institute of Advanced Technology, Guangzhou University, Guangzhou 510006, China
    Engineering Research Center of Integration and Application of Digital Learning Technology, Ministry of Education, Beijing 100039, China)

  • Guopeng Wang

    (Engineering Research Center of Integration and Application of Digital Learning Technology, Ministry of Education, Beijing 100039, China)

  • Huiling Chen

    (Department of Computer Science and Artificial Intelligence, Wenzhou University, Wenzhou 325035, China)

Abstract

Blockchain technology is currently evolving rapidly, and smart contracts are the hallmark of the second generation of blockchains. Currently, smart contracts are gradually being used in power system networks to build a decentralized energy system. Security is very important to power systems and attacks launched against smart contract vulnerabilities occur frequently, seriously affecting the development of the smart contract ecosystem. Current smart contract vulnerability detection tools suffer from low correct rates and high false positive rates, which cannot meet current needs. Therefore, we propose a smart contract vulnerability detection system based on the Siamese network in this paper. We improved the original Siamese network model to perform smart contract vulnerability detection by comparing the similarity of two sub networks with the same structure and shared parameters. We also demonstrate, through extensive experiments, that the model has better vulnerability detection performance and lower false alarm rate compared with previous research results.

Suggested Citation

  • Ran Guo & Weijie Chen & Lejun Zhang & Guopeng Wang & Huiling Chen, 2022. "Smart Contract Vulnerability Detection Model Based on Siamese Network (SCVSN): A Case Study of Reentrancy Vulnerability," Energies, MDPI, vol. 15(24), pages 1-20, December.
  • Handle: RePEc:gam:jeners:v:15:y:2022:i:24:p:9642-:d:1008395
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1996-1073/15/24/9642/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1996-1073/15/24/9642/
    Download Restriction: no
    ---><---

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jeners:v:15:y:2022:i:24:p:9642-:d:1008395. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.