Skip to content

Ackee-Blockchain/reentrancy-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Complete Reentrancy Examples

A repository with examples of reentrancy vulnerabilities and their exploitations in Wake framework.

There are articles for each example.

Reentrancy Examples by Type

Type Documentation Example Test
Single-function reentrancy Article Example Test
Cross-function reentrancy Article Example Test
Cross-chain reentrancy Article Example Test
Cross-contract reentrancy Article Example Test
Read-only reentrancy Article Example Test

Reentrancy Examples in Protocols

Type Documentation Example Test
Flash loan reentrancy Article Example Test
ERC-721 reentrancy Description Example Test
ERC-777 reentrancy Article Example Test
ERC-1155 reentrancy Description Example Test

Exploits can be found in the tests folder.

horizontal splitter

Setup

npm ci
wake up

Run specific exploit

wake test tests/test_1_single_function_reentrancy.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •