File size: 1,959 Bytes
b5fc960
 
1076325
 
 
 
 
 
 
 
b5fc960
1076325
 
 
 
 
 
 
ad361ea
1076325
 
 
 
e68a496
 
1076325
ad361ea
e68a496
1076325
 
 
 
 
 
 
 
 
 
 
 
 
e68a496
 
 
 
 
1076325
 
 
 
 
 
 
 
 
e68a496
 
 
 
 
 
 
 
 
 
 
 
1076325
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
---
license: cc-by-4.0
task_categories:
- text-classification
- token-classification
language:
- en
pretty_name: SmartUecDB
size_categories:
- 1K<n<10K
---

  
# SmartUecDB
## Description
SmartUecDB is a specialized, multimodal dataset designed for the high-fidelity detection of vulnerabilities in smart contract bytecode, with a primary focus on identifying **unchecked external calls**. The dataset curates a robust corpus of EVM-compatible execution traces and structural graph representations, enabling the training of Graph Neural Networks (GNN) to pinpoint insecure dispatch patterns and reentrancy vectors.

## Usage
You can start by downloading the primary dataset folder:

```python
import os
import requests
import tarfile
import shutil

FILE = "data.tar"
url = f"https://huggingface.co/datasets/Adson59/SmartUecDB/resolve/main/{FILE}"

def download_dataset(url, filename):
    response = requests.get(url)
    if response.status_code == 200:
        with open(filename, 'wb') as f:
            f.write(response.content)
        print(f"Successfully downloaded {filename}")
    else:
        print(f"Failed to download. Status code: {response.status_code}")

download_dataset(url, FILE)
```

```python
with tarfile.open("data.tar", 'r') as tar:
    tar.extractall(".")
```

## Structure
The following is the standard directory structure for the dataset, organized to support modular GNN training and inference pipelines:
```bash
SmartUecDB/
├── processed/          # cleaned and prepared rows
├── raw/                # original rows collected from the smartmaldb
├── split/              # Train/validation/test splits defined for reproducible model benchmarking
```

## Citation
If you use this dataset, cite:
```bibtex
@misc{smartuecdb25,
  author = {B. William},
  title = {SmartUecDB},
  year = {2026},
  publisher = {Hugging Face},
  url= {https://huggingface.co/datasets/Adson59/SmartUecDB},
}
```

---
license: cc-by-4.0
---