This dataset combines vulnerable functions (scraped from 5 auditting companies: Codehawks, ConsenSys, Cyfrin, Sherlock, Trust Security) and auddited functions with no vulnerabilities (scraped from Etherscan)
The purpose of the dataset is to enable training of classification models to discriminate between the 4 classes: none, low, medium and high.
Field
Description
function
Raw solidity code
severity
Severity of vulnerability ('none', low, medium, high)
Data… See the full description on the dataset page: https://huggingface.co/datasets/msc-smart-contract-auditing/vulnerability-severity-classification.