A Graph Isomorphism Network-Based Deep Learning Approach to Mitigate Smart Contract Vulnerabilities in Smart Grids
Abstract
Smart contracts suffer from critical vulnerabilities such as reentrancy attacks, delegate call misuse, and timestamp dependencies, posing significant risks when deployed in smart grids. This paper proposes a solution that integrates deep learning techniques based on the Graph Isomorphism Network (GIN) to analyze Solidity code and detect vulnerabilities before deployment. This model was trained on a dataset of vulnerable contracts, leveraging automated hyperparameter optimization via Optuna to fine-tune the model’s performance. Performance evaluations supported by visual analysis of the model’s pre- and post-training weights provide essential insights into the behavior of the proposed approach. The experimental results demonstrated the effectiveness of GIN in identifying vulnerabilities with an accuracy of 95.26%, outperforming previous studies by more than 2%. These new findings highlight the potential of deep learning to secure and develop resilient smart grid infrastructures.
Community
0 commentsNo discussion yet
Be the first to share a question or observation.