Skip to content

Repository to store our work on recreating attacks for smart contracts

License

Notifications You must be signed in to change notification settings

ASSERT-KTH/solidity-hack-labs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

  • 1 duplicate contract:
    • 0x627fa62ccbb1c1b04ffaecd72a53e37fc0e17839.sol on reentrancy and unchecked_low_level
    • Not exploitable for reentrancy

About

Repository to store our work on recreating attacks for smart contracts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published