ASSERT-KTH / solidity-hack-labs

Repository to store our work on recreating attacks for smart contracts
MIT License
2 stars 0 forks source link

HACK-LABS

Contains actual smart contract attacker contracts for major benchmarks, starting with smartbugs-curated.

It includes an evaluation tool for automated patch assessment. The tool allows you to test patched contracts from the dataset against these exploits to evaluate the effectiveness of the applied patches.

Smartbugs-Curated Dataset

Total contracts: 143

Details per category (following the DASP taxonomy):

Vulnerability Total Contracts Exploits
Reentrancy 31 26
Access Control 18 16
Arithmetic 15 13
Unchecked Low Level Calls 52 20
Denial Of Service 6 4
Bad Randomness 8 4
Front Running 4 3
Time Manipulation 5 3
Short Addresses 1 0
Others 3 2
Total 143 91

Details: