this repo aims to study potentially vulnerable contracts.
to download sources and check them using several rules, run python find_vulnerable.py
.
it would use etherscan-provided list of contracts to go through, would narrow them down and only save the interesting ones.
you would need to obtain several api keys to load the contracts.
- ARBISCAN_API_KEY - arbiscan.io
- SNOWTRACE_API_KEY - snowtrace.io
- CELOSCAN_API_KEY - celoscan.io
- ETHERSCAN_API_KEY - etherscan.io
- FTMSCAN_API_KEY - ftmscan.com
- GNOSISSCAN_API_KEY - gnosisscan.io
- MOONSCAN_API_KEY - moonscan.io
- OPTIMISTIC_ETHERSCAN_API_KEY - optimistic.etherscan.io
- POLYGONSCAN_API_KEY - polygonscan.com
luckily, you could find them all in the contracts/
folder.