Skip to content

Dataset · mwritescode

Solidity smart contracts with vulnerability annotations

mwritescode/slither-audited-smart-contracts

Source code and compiled bytecode of verified Etherscan smart contracts with vulnerability classifications from Slither.

What's inside

The dataset contains Solidity source code and deployed bytecode of smart contracts verified on Etherscan.io. Each contract is annotated with vulnerability types using the Slither static analyzer. The collection contains between 100,000 and 1,000,000 entries.

What you can do with it

  • Training classifiers for automated vulnerability detection in smart contracts
  • Fine-tuning coding LLMs for Solidity security auditing
  • Training models to generate secure smart contract code
Tasks
Text classification, Text generation
Languages
English
Size
100K–1M rows
Downloads this month
1.3K
Likes
62

Models trained on it

How to load it

from datasets import load_dataset

ds = load_dataset("mwritescode/slither-audited-smart-contracts")