SmartIntentNN: Towards Smart Contract Intent Detection
Youwei Huang, Sen Fang, Jianwen Li, Bin Hu, and Tao Zhang

TL;DR
SmartIntentNN is a deep learning tool that automatically detects malicious developer intent in smart contracts by analyzing code context and classifying intent categories, enhancing security assessment.
Contribution
The paper introduces SmartIntentNN, a novel neural network model combining sentence encoding, clustering, and multi-label classification for smart contract intent detection.
Findings
Achieves an F1-score of 0.8633 on 10,000 contracts.
Outperforms all baseline methods in intent detection.
Effectively categorizes ten types of unsafe developer intent.
Abstract
Smart contracts on the blockchain offer decentralized financial services but often lack robust security measures, leading to significant economic losses. While substantial research has focused on identifying vulnerabilities in smart contracts, a notable gap remains in evaluating the malicious intent behind their development. To address this, we introduce \textsc{SmartIntentNN} (Smart Contract Intent Neural Network), a deep learning-based tool designed to automate the detection of developers' intent in smart contracts. Our approach integrates a Universal Sentence Encoder for contextual representation of smart contract code, employs a K-means clustering algorithm to highlight intent-related code features, and utilizes a bidirectional LSTM-based multi-label classification network to predict ten distinct categories of unsafe intent. Evaluations on 10,000 real-world smart contracts…
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.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsBlockchain Technology Applications and Security · Adversarial Robustness in Machine Learning · Advanced Malware Detection Techniques
