A repository with examples of reentrancy vulnerabilities and their exploitations in Wake framework.
There are articles for each example.
| 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 |
| 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.
npm ci
wake upwake test tests/test_1_single_function_reentrancy.py