A repository with examples of reentrancy vulnerabilities and their exploitations in Wake framework.
The description for each reentrancy is in the corresponding directory.
- Cross-chain reentrancy
- Cross-contract reentrancy
- Cross-function reentrancy
- ERC-1155 reentrancy
- ERC-721 reentrancy
- ERC-777 reentrancy
- Flash loan reentrancy
- Read-only reentrancy
- Single-function reentrancy
Exploits can be found in tests
folder.
npm ci
wake up
wake test tests/test_1_single_function_reentrancy.py