Smart Contract Attacks is a project created by myself in order to make people more aware regarding attacks that target Blockchain/Web3 and Smart Contracts.
You will find a folder specific to each vulnerability or class of vulnerabilities alongside explanations, code examples and mitigations.
- foundry
- You will know your installation is successful if you can run
forge --version
- You will know your installation is successful if you can run
Clone this repository:
git clone https://github.com/kujen5/Smart-Contract-Attacks
If more setup is required, you'll find details regarding that specific to each Vulnerability class.
- Compile your code:
Run:
forge compile- Test the code:
Run:
forge test -vvvv- Implement more vulnerabilities.
- Try to cover OWASP top 10 Smart Contract vulnerabilities
- Discover my own vulnerabilities ;)
This project has been made with love as a learning experience. The best is yet to come. Please give the project a star if you like it!