Vulnerability-Hunter: An Adaptive Feature Perception Attention Network for Smart Contract Vulnerabilities
Yizhou Chen

TL;DR
This paper introduces AFPNet, an adaptive neural network that dynamically extracts crucial code snippets and learns their dependencies to improve smart contract vulnerability detection, outperforming existing methods.
Contribution
The paper proposes AFPNet, a novel model with dynamic feature perception and relationship attention modules, addressing limitations of static rule-based graph sampling in smart contract vulnerability detection.
Findings
AFPNet achieves 6.38%-14.02% higher F1-score than state-of-the-art methods.
Dynamic feature perception improves the extraction of crucial code snippets.
Attention mechanism effectively models dependencies among code snippets.
Abstract
Smart Contract Vulnerability Detection (SCVD) is crucial to guarantee the quality of blockchain-based systems. Graph neural networks have been shown to be effective in learning semantic representations of smart contract code and are commonly adopted by existing deep learning-based SCVD. However, the current methods still have limitations in their utilization of graph sampling or subgraph pooling based on predefined rules for extracting crucial components from structure graphs of smart contract code. These predefined rule-based strategies, typically designed using static rules or heuristics, demonstrate limited adaptability to dynamically adjust extraction strategies according to the structure and content of the graph in heterogeneous topologies of smart contract code. Consequently, these strategies may not possess universal applicability to all smart contracts, potentially leading to…
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.
Taxonomy
TopicsBlockchain Technology Applications and Security · Insurance and Financial Risk Management
