CGCN-DF: A Cascade GCN Vulnerability Detection Framework for Secure CIoT Smart Contracts

IF 9.9 2区 计算机科学 Q1 ENGINEERING, ELECTRICAL & ELECTRONIC
IEEE Transactions on Consumer Electronics Pub Date : 2026-08-01 Epub Date: 2026-02-12 DOI:10.1109/TCE.2026.3664215
Keqing Wang;Wenyin Zhang;Mengru Tu;Weihao Su
{"title":"CGCN-DF: A Cascade GCN Vulnerability Detection Framework for Secure CIoT Smart Contracts","authors":"Keqing Wang;Wenyin Zhang;Mengru Tu;Weihao Su","doi":"10.1109/TCE.2026.3664215","DOIUrl":null,"url":null,"abstract":"With the widespread use of smart contracts in blockchain applications, particularly in the consumer Internet of Things (CIoT), the security of smart contracts has become increasingly critical. CIoT refers to an IoT environment where various consumer devices are intelligently connected and interact via the internet. In this context, smart contracts are frequently used to automate tasks such as device control, data sharing, and transaction verification. However, vulnerabilities in smart contracts can lead to system attacks, thereby compromising the security of the entire IoT network. The Cascade Graph Convolutional Network-based Vulnerability Detection Framework for smart contracts (CGCN-DF) proposed in this study effectively enhances the security assessment of smart contracts in CIoT applications. Devices and systems in CIoT environments typically exhibit high heterogeneity and complex interaction patterns, but a single graph structure cannot fully capture the multidimensional behavioral features and complex structural relationships of smart contracts. To address this issue, this paper introduces the Semantic Contract Graph (SCG), which integrates three graph representations—Abstract Syntax Tree (AST), Control Flow Graph (CFG), and Data Flow Graph (DFG)—into a unified graph structure, comprehensively covering different aspects of the code. Furthermore, as smart contracts in CIoT environments often involve real-time data flows and complex execution paths, the CGCN-DF framework employs a cascading mechanism that performs three-level graph convolutional processing through relational, Meta-path structures, and cyclic structures. This approach extracts rich and complementary information from multi-level features, explicitly models the dynamic interactions among syntax, execution paths, and data flows, and enhances the model’s contextual awareness of vulnerability-triggering conditions. Ultimately, the framework achieves coarse-grained detection at the contract level and fine-grained detection at the line level. Experimental results demonstrate that the proposed method can effectively localize vulnerabilities down to specific code lines. This not only enhances the precision and practicality of smart contract vulnerability detection but, more importantly, contributes an innovative technical framework and theoretical methodology to the CIoT field—particularly in areas such as DSL program analysis and the intersection of IoT and blockchain security. This work thereby helps advance the field toward more refined and context-aware security analysis aligned with the realistic characteristics of complex systems.","PeriodicalId":13208,"journal":{"name":"IEEE Transactions on Consumer Electronics","volume":"72 3","pages":"7148-7159"},"PeriodicalIF":9.9000,"publicationDate":"2026-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Transactions on Consumer Electronics","FirstCategoryId":"94","ListUrlMain":"https://ieeexplore.ieee.org/document/11395267/","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/2/12 0:00:00","PubModel":"Epub","JCR":"Q1","JCRName":"ENGINEERING, ELECTRICAL & ELECTRONIC","Score":null,"Total":0}
引用次数: 0

Abstract

With the widespread use of smart contracts in blockchain applications, particularly in the consumer Internet of Things (CIoT), the security of smart contracts has become increasingly critical. CIoT refers to an IoT environment where various consumer devices are intelligently connected and interact via the internet. In this context, smart contracts are frequently used to automate tasks such as device control, data sharing, and transaction verification. However, vulnerabilities in smart contracts can lead to system attacks, thereby compromising the security of the entire IoT network. The Cascade Graph Convolutional Network-based Vulnerability Detection Framework for smart contracts (CGCN-DF) proposed in this study effectively enhances the security assessment of smart contracts in CIoT applications. Devices and systems in CIoT environments typically exhibit high heterogeneity and complex interaction patterns, but a single graph structure cannot fully capture the multidimensional behavioral features and complex structural relationships of smart contracts. To address this issue, this paper introduces the Semantic Contract Graph (SCG), which integrates three graph representations—Abstract Syntax Tree (AST), Control Flow Graph (CFG), and Data Flow Graph (DFG)—into a unified graph structure, comprehensively covering different aspects of the code. Furthermore, as smart contracts in CIoT environments often involve real-time data flows and complex execution paths, the CGCN-DF framework employs a cascading mechanism that performs three-level graph convolutional processing through relational, Meta-path structures, and cyclic structures. This approach extracts rich and complementary information from multi-level features, explicitly models the dynamic interactions among syntax, execution paths, and data flows, and enhances the model’s contextual awareness of vulnerability-triggering conditions. Ultimately, the framework achieves coarse-grained detection at the contract level and fine-grained detection at the line level. Experimental results demonstrate that the proposed method can effectively localize vulnerabilities down to specific code lines. This not only enhances the precision and practicality of smart contract vulnerability detection but, more importantly, contributes an innovative technical framework and theoretical methodology to the CIoT field—particularly in areas such as DSL program analysis and the intersection of IoT and blockchain security. This work thereby helps advance the field toward more refined and context-aware security analysis aligned with the realistic characteristics of complex systems.
面向安全CIoT智能合约的级联GCN漏洞检测框架
随着智能合约在区块链应用中的广泛使用,特别是在消费者物联网(CIoT)中,智能合约的安全性变得越来越重要。CIoT是指各种消费设备通过互联网智能连接和交互的物联网环境。在这种情况下,智能合约经常用于自动执行设备控制、数据共享和交易验证等任务。然而,智能合约中的漏洞可能导致系统攻击,从而危及整个物联网网络的安全性。本文提出的基于级联图卷积网络的智能合约漏洞检测框架(CGCN-DF)有效增强了CIoT应用中智能合约的安全评估。CIoT环境中的设备和系统通常表现出高度的异构性和复杂的交互模式,但单一的图结构无法完全捕捉智能合约的多维行为特征和复杂的结构关系。为了解决这一问题,本文引入了语义契约图(SCG),它将抽象语法树(AST)、控制流图(CFG)和数据流图(DFG)三种图表示形式集成到一个统一的图结构中,全面覆盖了代码的不同方面。此外,由于CIoT环境中的智能合约通常涉及实时数据流和复杂的执行路径,CGCN-DF框架采用级联机制,通过关系结构、元路径结构和循环结构执行三级图卷积处理。该方法从多层次特征中提取丰富的互补信息,显式地建模语法、执行路径和数据流之间的动态交互,并增强模型对漏洞触发条件的上下文感知。最终,框架在契约级别实现粗粒度检测,在行级别实现细粒度检测。实验结果表明,该方法可以有效地将漏洞定位到特定的代码行。这不仅提高了智能合约漏洞检测的准确性和实用性,更重要的是,为CIoT领域提供了创新的技术框架和理论方法,特别是在DSL程序分析和物联网与区块链安全交叉等领域。因此,这项工作有助于将该领域推向与复杂系统的现实特征相一致的更精细和上下文感知的安全分析。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
CiteScore
7.70
自引率
9.30%
发文量
59
审稿时长
3.3 months
期刊介绍: The main focus for the IEEE Transactions on Consumer Electronics is the engineering and research aspects of the theory, design, construction, manufacture or end use of mass market electronics, systems, software and services for consumers.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书