Mr Steal Yo Crypto is a series of wargame challenges where you are tasked with exploiting smart contracts covering varying use cases within crypto.
The challenges are loosely (or directly) inspired by real world exploits. Throughout numerous challenges you will build the skills necessary to become a hunter in the space.
Challenges
Each challenge can be considered standalone. Depending on the challenge, you should either stop the system from working, take as much funds as possible, or do some other unexpected things. Each vary in difficulty.
# | Name | |
---|---|---|
1 | Jpeg Sniper | |
2 | Safu Vault | |
3 | Game Assets | |
4 | Free Lunch | |
5 | Safu Wallet | |
6 | Tasty Stake | |
7 | Freebie | |
8 | NFT Bonanza | |
9 | Inflationary Net Worth | |
10 | Governance Shenanigans | |
11 | Bonding Curve | |
12 | Flash Loaner | |
13 | Safu Swapper | |
14 | Side Entrance | |
15 | Malleable | |
16 | Extractoor | |
17 | Opyn Sesame | |
18 | Degen Jackpot | |
19 | Fatality | |
20 | Safu Lender |
How to play
- Clone the repository
- Run
git checkout implement
- Install dependencies with
yarn
- Code your solutions in the associated files in the
test
folder. - In some cases, you may need to code and deploy custom smart contracts.
- Run your exploit for a challenge with
yarn hardhat test test/challenge-name.ts
. In all challenges you must use the account calledattacker
(unless otherwise specified).
Foundry v.
- There's also a version for foundry enjoyoors, check out the repository.
Tips
- If you're stuck, solutions are available in the
main
branch. - If you just want a nudge, check out my article of hints.