Salus Gitbook
Comment on page

Machine Learning

Salus Lightning Cat employs machine learning techniques for smart contract vulnerability detection. We have trained three deep learning models for detecting vulnerabilities in smart contracts: Optimized-CodeBERT, Optimized-LSTM, and Optimized-CNN. To accurately extract vulnerability features, we obtain code snippets from vulnerable functions, preserving key vulnerability characteristics. By leveraging the CodeBERT pre-trained model for data preprocessing, we can more accurately capture the syntax and semantics of the code, thereby improving the performance of vulnerability detection.