paper-with-me

홈 › Papers

Deep Smart Contract Intent Detection

2022-11-19 · Youwei Huang, Sen Fang, Jianwen Li, Jiachun Tao, Bin Hu, Tao Zhang

In recent years, research in software security has concentrated on identifying vulnerabilities in smart contracts to prevent significant losses of crypto assets on blockchains. Despite early successes in this area, detecting developers' intents in smart contracts has become a more pressing issue, as malicious intents have caused substantial financial losses. Unfortunately, existing research lacks effective methods for detecting development intents in smart contracts. To address this gap, we propose \textsc{SmartIntentNN} (Smart Contract Intent Neural Network), a deep learning model designed to automatically detect development intents in smart contracts. \textsc{SmartIntentNN} leverages a pre-trained sentence encoder to generate contextual representations of smart contracts, employs a K-means clustering model to identify and highlight prominent intent features, and utilizes a bidirectional LSTM-based deep neural network for multi-label classification. We trained and evaluated \textsc{SmartIntentNN} on a dataset containing over 40,000 real-world smart contracts, employing self-comparison baselines in our experimental setup. The results show that \textsc{SmartIntentNN} achieves an F1-score of 0.8633 in identifying intents across 10 distinct categories, outperforming all baselines and addressing the gap in smart contract detection by incorporating intent analysis.

📄 PDF Abstract BibTeX arXiv:2211.10724

Code (2)

web3se-lab/web3-sekit 공식 구현 tf
https://gitlab.com/web3se/smartintent 공식 구현 tf

Tasks

Intent DetectionMulti-Label ClassificationMUlTI-LABEL-ClASSIFICATIONSentenceVulnerability Detection

Methods 이 논문이 사용한 방법론

k-Means Clustering k-Means Clustering is a clustering algorithm that divides a training set into $k$ different clusters of examples that are near each other. It works by initializing $k$…

Similar Papers 제목 키워드 기반

HyMo: Vulnerability Detection in Smart Contracts using a Novel Multi-Modal Hybrid Model

2023-04-25 · Mohammad Khodadadi, Jafar Tahmoresnezhad

With blockchain technology rapidly progress, the smart contracts have become a common tool in a number of industries including finance, healthcare, insurance and gaming. The number of smart contracts has multiplied, and …

Deep LearningVulnerability Detection

Languages for Smart and Computable Contracts

2021-04-08 · Christopher D. Clack

Smart Contracts use computer technology to automate the performance of aspects of commercial agreements. Yet how can there be confidence that the computer code is faithful to the intentions of the parties? To understand …

Two Timin': Repairing Smart Contracts With A Two-Layered Approach

2023-09-14 · Abhinav Jain, Ehan Masud, Michelle Han, Rohan Dhillon 외

Due to the modern relevance of blockchain technology, smart contracts present both substantial risks and benefits. Vulnerabilities within them can trigger a cascade of consequences, resulting in significant losses. Many …

Dual-view Aware Smart Contract Vulnerability Detection for Ethereum

2024-06-29 · Jiacheng Yao, Maolin Wang, Wanqi Chen, Chengxiang Jin 외

The wide application of Ethereum technology has brought technological innovation to traditional industries. As one of Ethereum's core applications, smart contracts utilize diverse contract codes to meet various functiona…

Vulnerability Detection

Smart-LLaMA: Two-Stage Post-Training of Large Language Models for Smart Contract Vulnerability Detection and Explanation

2024-11-09 · Lei Yu, Shiqi Chen, Hang Yuan, Peng Wang 외

With the rapid development of blockchain technology, smart contract security has become a critical challenge. Existing smart contract vulnerability detection methods face three main issues: (1) Insufficient quality of da…

Vulnerability Detection