Megabot Hack
Incident Overview
Megabot token was rugpulled on Dec 25, 2023, causing a total loss of 21.79 WETH and 5662 SOL.
Megabot is an ERC20 token trading on UniSwap. On December 25, 2023, the scammer performed an exit scam by removing liquidity from the LP pool. The majority of funds were lost on the Solana chain.
The scammer removed 21.79 WETH and 5662 SOL, totaling approximately 666,219 USD. Following the scam, the associated Twitter and other social media accounts were deleted. The stolen funds were then transferred to another EOA address and distributed among multiple addresses.
Deployer Address:
https://etherscan.io/address/0xb75014cC…a68b78
Scammer's Addresses:
https://etherscan.io/address/0x000013De…2d4aF5
https://solscan.io/account/8GQyzGgWW3xPVvoDmTUzvv9U7LreyTzXDusQJGDNmEPC
Liquidity Removal Transactions:
https://etherscan.io/tx/0x692c2b81…24b237
https://etherscan.io/tx/0x9217b771…1ee5d2
Funds Holders as of Jan 3, 2024:
https://etherscan.io/address/0x7E37435E…e7c7B2
https://solscan.io/account/HPx9BbHD4S5kr977CB5XDKahsC8X9umhtgyaUMpyZ654
https://solscan.io/account/FKZe8RqfvPqC9yNUaZkWGBdGcSXzwAWK6ELRsZ4N1UNp
https://solscan.io/account/3fvR3JXnLgBMtnToabfwRgcqLZ1XacZPNRV8wvXtAZVz
https://solscan.io/account/Ag3ru48sSeFxJUZjGrhphfYnCsg1kytvmW1dotbibuQU
https://solscan.io/account/HfvnEN8AxUczH9hfyibPmsdcFTnQQDLSv7zqb7ebZkMY
Incident Report
Protocol Information
What the Attacker Needed to Succeed
Understanding the prerequisites for this type of attack helps auditors identify protocols that are most at risk and helps developers build better defenses.
What Auditors Should Check
If you're auditing a protocol with similar architecture to Megabot, these are the critical security checks that could have prevented this incident (December 2023).
- Verify all logic paths related to Rugpull are guarded by proper access controls and input validation
- Review privileged functions (owner, admin, governance) for potential abuse vectors - centralization risks should be documented and bounded with timelocks or multi-sigs
Master these auditing techniques with hands-on labs and real exploit scenarios in the Smart Contract Hacking course.
Free TrialSources & References
Learn to Prevent the Next Megabot
The Megabot hack is one of many attacks that skilled auditors are trained to detect before deployment. Master real exploit patterns and defense techniques with hands-on Web3 security training.