判别式
计算机科学
匹配(统计)
成对比较
数据挖掘
人工智能
灵敏度(控制系统)
协议(科学)
机器学习
脆弱性(计算)
模式识别(心理学)
比例(比率)
口译(哲学)
图形
控制(管理)
代表(政治)
概率逻辑
传感器融合
构造(python库)
作者
Liang Xue,Yao Tan,Jun Song,Fan Yang
出处
期刊:Applied sciences
[Multidisciplinary Digital Publishing Institute]
日期:2025-10-09
卷期号:15 (19): 10844-10844
摘要
Smart contracts empower many blockchain applications but are exposed to code-level defects. Existing methods do not scale to the evolving code, do not represent complex control and data flows, and lack granular and calibrated evidence. To address the above concerns, we present an across-graph corresponding contract-graph method for vulnerability detection: abstract syntax, control flow, and data flow are fused into a typed, directed contract-graph whose nodes are enriched with pre-code embeddings (GraphCodeBERT or CodeT5+). A Graph Matching Network (GMN) with cross-graph attention compares contract-graphs, aligns homologous sub-graphs associated with vulnerabilities, and supports the interpretation of statements at the level of balance between a broad structural coverage and a discriminative pairwise alignment. The evaluation follows a deployment-oriented protocol with thresholds fixed for validation, multi-seed averaging, and a conservative estimate of sensitivity under low-false-positive budgets. On SmartBugs Wild, the method consistently and markedly exceeds strong rule-based and learning baselines and maintains a higher sensitivity to matching false-positive rates; ablations track the gains to multi-graph fusion, pre-trained encoders, and cross-graph matching, stable through seeds.
科研通智能强力驱动
Strongly Powered by AbleSci AI