Slither Code Similarity Detector (a research-oriented tool) uses state-of-the-art machine learning to detect similar (vulnerable) Solidity functions code similarity detector
- It uses a pre-trained model from etherscan_verified_contracts with 60,000 contracts and more than 850,000 functions
- It uses FastText, a vector embedding technique, to generate compact numerical representations of every function
- It has four modes:
test
- finds similar functions to your own in a dataset of contractsplot
- provide a visual representation of similarity of multiple sampled functionstrain
- builds new models of large datasets of contractsinfo
- inspects the internal information of the pre-trained model or the assessed code
- Detect Similar Solidity Functions
- ML: Trained Models, Etherscan Verified
- 60k Contracts, 850k Functions
- Copy/Fork Vulnerabilities