Home Community This AI Paper Introduces ‘Lightning Cat’: A Deep Learning Based Tool for Smart Contracts Vulnerabilities Detection 

This AI Paper Introduces ‘Lightning Cat’: A Deep Learning Based Tool for Smart Contracts Vulnerabilities Detection 

0
This AI Paper Introduces ‘Lightning Cat’: A Deep Learning Based Tool for Smart Contracts Vulnerabilities Detection 

Smart contracts play a pivotal role in blockchain technology for the event of decentralized applications. The susceptibility of smart contracts to vulnerabilities poses a major threat, resulting in potential financial losses and system crashes. Traditional methods of detecting these vulnerabilities, corresponding to static evaluation tools, often fall short as a consequence of their reliance on predefined rules, leading to false positives and false negatives. In response, a team of researchers from Salus Security (China) introduced a novel AI solution named “Lightning Cat” that leverages deep learning techniques for smart contract vulnerability detection.

The important thing points of the paper will be divided into three parts. Firstly, the introduction of the Lightning Cat solution utilizing deep learning methods for smart contract vulnerability detection. Secondly, an efficient data preprocessing method is presented, emphasizing the extraction of semantic features through CodeBERT. Lastly, experimental results show the superior performance of Optimised-CodeBERT over other models.

The researchers address the constraints of static evaluation tools by proposing three optimized deep learning models throughout the Lightning Cat framework: optimized CodeBERT, LSTM, and CNN. The CodeBERT model is a pre-trained transformer-based model that’s fine-tuned for the precise task of smart contract vulnerability detection. To boost semantic evaluation capabilities, the researchers employ CodeBERT in data preprocessing, allowing for a more accurate understanding of the syntax and semantics of the code. 

Experiments were conducted using the SolidiFI-benchmark dataset, consisting of 9369 vulnerable contracts injected with vulnerabilities from seven differing types. The outcomes showcase the prevalence of the Optimised-CodeBERT model, achieving a powerful f1-score of 93.53%. The importance of accurately extracting vulnerability features is achieved by obtaining segments of vulnerable code functions. Using CodeBERT for data preprocessing contributes to a more precise capture of syntax and semantics.

The researchers position Lightning Cat as an answer that surpasses static evaluation tools, utilizing deep learning to adapt and repeatedly update itself. CodeBERT is emphasized for its ability to preprocess data effectively, capturing each syntax and semantics. The Optimised-CodeBERT model’s superior performance is attributed to its precision in extracting vulnerability features, with critical vulnerability code segments playing a pivotal role.

In conclusion, the researchers advocate for the crucial role of smart contract vulnerability detection in stopping financial losses and maintaining user trust. Lightning Cat, with its deep learning approach and optimized models, emerges as a promising solution, outperforming existing tools by way of accuracy and flexibility.


Try the Paper. All credit for this research goes to the researchers of this project. Also, don’t forget to hitch our 33k+ ML SubReddit, 41k+ Facebook Community, Discord Channel, and Email Newsletter, where we share the most recent AI research news, cool AI projects, and more.

Should you like our work, you’ll love our newsletter..


Pragati Jhunjhunwala is a consulting intern at MarktechPost. She is currently pursuing her B.Tech from the Indian Institute of Technology(IIT), Kharagpur. She is a tech enthusiast and has a keen interest within the scope of software and data science applications. She is at all times reading concerning the developments in numerous field of AI and ML.


↗ Step by Step Tutorial on ‘Methods to Construct LLM Apps that may See Hear Speak’

LEAVE A REPLY

Please enter your comment!
Please enter your name here