ContractShield: Bridging Semantic-Structural Gaps via Hierarchical Cross-Modal Fusion for Multi-Label Vulnerability Detection in Obfuscated Smart Contracts
Minh-Dai Tran-Duong, Nguyen Hai Phong, Nguyen Chi Thanh, Doan Minh Trung, Tram Truong-Huu, Van-Hau Pham, Phan The Duy

TL;DR
ContractShield is a novel multimodal framework that enhances vulnerability detection in obfuscated smart contracts by effectively fusing semantic, temporal, and structural features through a hierarchical attention mechanism.
Contribution
It introduces a three-level fusion mechanism combining self-attention, cross-modal attention, and adaptive weighting to improve robustness against obfuscation in vulnerability detection.
Findings
Achieves 89% Hamming Score with minimal drop under obfuscation.
Detects five vulnerability types with 91% F1-score, outperforming existing methods.
Demonstrates robustness against adversarial obfuscation techniques.
Abstract
Smart contracts are increasingly targeted by adversaries employing obfuscation techniques such as bogus code injection and control flow manipulation to evade vulnerability detection. Existing multimodal methods often process semantic, temporal, and structural features in isolation and fuse them using simple strategies such as concatenation, which neglects cross-modal interactions and weakens robustness, as obfuscation of a single modality can sharply degrade detection accuracy. To address these challenges, we propose ContractShield, a robust multimodal framework with a novel fusion mechanism that effectively correlates multiple complementary features through a three-level fusion. Self-attention first identifies patterns that indicate vulnerability within each feature space. Cross-modal attention then establishes meaningful connections between complementary signals across modalities.…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
