Home

Awesome

PoC

This repository contains serveral sample attack transactions. We highly recommend you to start hacking from this repository.

After local debugging of PoC, you can generate the proof of exploit locally using zkProver or do it online on the SecurFi Online Tool.

If you prefer to generate the proof of exploit locally, please follow the steps below.

1. requirements

2. PoC

Write the PoC using the provided template.

3. debug locally

forge test -vv

4. generate the proof of exploit

zkProver evm -r https://rpc.flashbots.net/ src/Exploit.sol

Additionally, you can generate sample proofs of exploits to view more details on Secur.Fi.

zkProver evm -r https://rpc.flashbots.net -b 17007841 src/SushiRouter/SushiRouterExploit.sol
zkProver evm -r https://rpc.flashbots.net/ -b 14684684 src/fuseProtocol/FuseProtocolExploit.sol
zkProver evm -r https://rpc.flashbots.net/ -b 14037236 src/Anyswap/AnyswapExploit.sol