Update README.md
Browse files
README.md
CHANGED
@@ -15,19 +15,14 @@ size_categories:
|
|
15 |
- 1K<n<10K
|
16 |
---
|
17 |
|
18 |
-
# Smart Contract Vulnerabilities with Explanations (`vulnerable-w-explanations`)
|
19 |
|
20 |
This repository offers two datasets of `Solidity` functions,
|
21 |
This dataset comprises vulnerable `Solidity` functions audited by 5 auditing companies:
|
22 |
-
- [Codehawks](https://www.codehawks.com/)
|
23 |
-
- [ConsenSys](https://consensys.io/)
|
24 |
-
- [Cyfrin](https://www.cyfrin.io/)
|
25 |
-
- [Sherlock](https://www.sherlock.xyz/)
|
26 |
-
- [Trust Security](https://www.trust-security.xyz/)
|
27 |
|
28 |
-
These audits are
|
29 |
|
30 |
-
|
31 |
1. `name` - Title of audit report
|
32 |
2. `severity` - Severity of vulnerabiliy (`Low`, `Medium`, `High`)
|
33 |
3. `description` - Description/Explanation of the vulnerability
|
@@ -45,13 +40,13 @@ dataset = load_dataset(
|
|
45 |
)
|
46 |
```
|
47 |
|
48 |
-
# Verified functions (`verified-functions`)
|
49 |
|
50 |
This repository also includes a dataset with functions with no known vulnerabilities. They were scraped-off from [Etherscan](https://etherscan.io).
|
51 |
|
52 |
Specifically, the functions are a part of the top 500 auditted contracts holding at least `1 ETH`.
|
53 |
|
54 |
-
|
55 |
1. `function` - Raw solidity code
|
56 |
|
57 |
## Usage
|
|
|
15 |
- 1K<n<10K
|
16 |
---
|
17 |
|
18 |
+
# 1. Smart Contract Vulnerabilities with Explanations (`vulnerable-w-explanations`)
|
19 |
|
20 |
This repository offers two datasets of `Solidity` functions,
|
21 |
This dataset comprises vulnerable `Solidity` functions audited by 5 auditing companies:
|
|
|
|
|
|
|
|
|
|
|
22 |
|
23 |
+
([Codehawks](https://www.codehawks.com/), [ConsenSys](https://consensys.io/), [Cyfrin](https://www.cyfrin.io/), [Sherlock](https://www.sherlock.xyz/), [Trust Security](https://www.trust-security.xyz/)). These audits are compiled by [Solodit](https://solodit.xyz/).
|
24 |
|
25 |
+
**Fields**:
|
26 |
1. `name` - Title of audit report
|
27 |
2. `severity` - Severity of vulnerabiliy (`Low`, `Medium`, `High`)
|
28 |
3. `description` - Description/Explanation of the vulnerability
|
|
|
40 |
)
|
41 |
```
|
42 |
|
43 |
+
# 2. Verified functions (`verified-functions`)
|
44 |
|
45 |
This repository also includes a dataset with functions with no known vulnerabilities. They were scraped-off from [Etherscan](https://etherscan.io).
|
46 |
|
47 |
Specifically, the functions are a part of the top 500 auditted contracts holding at least `1 ETH`.
|
48 |
|
49 |
+
**Fields**:
|
50 |
1. `function` - Raw solidity code
|
51 |
|
52 |
## Usage
|