The cryptocurrency exchange Coinbase has suffered a loss of approximately $300,000 worth of tokens due to a mistake in a smart contract. This incident was the result of a misconfigured transaction involving the decentralized exchange protocol 0x’s “swapper” contract. Automated software, known as Maximum Extractable Value (MEV) bots, took advantage of the mistake and swiftly transferred the funds from Coinbase’s wallet to their own accounts.
Development and Technical Reasons
The vulnerability was identified by a security researcher known as “deeberiroz”, attributed to Coinbase inadvertently granting token approval to the swapper contract. Swapper contracts are open-source tools used for executing swap operations and aren’t designed to hold or spend tokens. However, the risk emerged when one of Coinbase’s wallets allowed a broad permission to the contract.
Through this security loophole, MEV bots began transferring the approved tokens swiftly as soon as the permissions were activated. MEV bots have long been employed in the crypto markets to reorder blockchain transactions in a way that benefits their operators. In this case, anyone with access to the contract could redirect the tokens to their accounts.
Explanations and Consequences
Philip Martin, Coinbase’s Chief Security Officer, announced the incident to the public and emphasized that the loss was isolated and only affected the company’s corporate wallet. He also reassured that customer funds were not at risk.
“I want to clarify that this is an isolated incident and customer funds have not been impacted at all,” Philip Martin stated.
“Deeberiroz” mentioned that MEV bots have been anticipating incorrect approvals being given to the swapper contracts for a long time and that they finally achieved their objective through Coinbase’s error.
“It seems MEV bots were waiting for users to mistakenly authorize this contract, and they succeeded thanks to Coinbase,” remarked deeberiroz.
Although the amount lost by Coinbase wasn’t significant, the incident highlighted that even large and centralized players can face risks related to automation and contract security. Experts note that technical flaws like these can easily be spotted and exploited by advanced automation software.
Role of MEV Bots and Industry Impact
MEV bots can profit from token listings, NFT creation operations, and liquidity events in blockchain systems like Ethereum
$2,254 using similar strategies. These bots, monitoring transparent transaction pools, can target high-value transactions accidentally permitted by wallets. In this event, the bots tracked the relevant wallet and executed the transaction at an opportune time.
Experts observe that there is growing demand for the detection and pre-emptive management of such vulnerabilities. The possibility of significant losses due to minor transactions on major platforms underscores the critical nature of cybersecurity.
Overall, this incident has re-emphasized the necessity for careful management of smart contract permissions and rigorous oversight of corporate wallets in blockchain systems.




