Malicious Mev-Bot Walkthrough
0. Preliminary Notes A few months ago, I encountered a scam on Twitter. I clicked on some random tweet that said something like “Hey check out this MEV bot that makes me 5 ETH per week” which led to some Solidity code. At that time, I didn’t understand Solidity but was pretty sure it was a scam (spoilers alert: it was). Also, I had no idea what an MEV bot was, but in hindsight, the scam was attempting to use Solidity code for an MEV bot, which actually made no sense since it requires offchain code to monitor the mempool....