A bot outpaced an Ethereum attacker, stealing $7.8 million in rsETH after exploiting vulnerabilities in a wallet's module.

An Ethereum attacker successfully drained approximately $7.8 million in rsETH from a Gnosis Safe wallet but was quickly outmaneuvered by a bot that captured the funds. The incident, recorded on Tuesday at 04:38 UTC, involved the movement of about 2,900 rsETH, with the theft first reported by security experts at Blockaid. The clever maneuvers of a general-purpose MEV searcher, dubbed Yoink, allowed it to front-run the attacker's transaction by paying around $46,000 to the block's builder, ultimately securing the funds. This incident underscores a critical vulnerability within the Ethereum ecosystem, reminding us that attacks can often shift unexpected dynamics between malicious actors and benevolent bots.
Understanding the Vulnerability
It’s critical to understand that the vulnerability didn't lie within the wallet itself. According to Blockaid, the breach stemmed from "module-authorization abuse" rather than a core bug related to owner keys. Investigations by BlockSec, SlowMist, and AstraSec pinpointed a Multicall helper as the source of the issue. This helper erroneously regarded all calls directed back to its own address as pre-authorized, creating a scenario where an attacker could push malicious instructions through the module. As a result, they were able to execute commands as if they originated from the wallet’s legitimate owner. Understanding this distinction is vital because it highlights the potential pitfalls of integrating third-party modules that may introduce unforeseen vulnerabilities.
The Module Exposed a Vulnerability
In the context of Safe multisigs, owners have the flexibility to integrate third-party modules that can transfer funds without the traditional signature processes. While this feature theoretically enhances efficiency and user experience, it can backfire dramatically, as seen in this incident. Specifically, a custom Uniswap v4 liquidity module created a vulnerability by forwarding commands supplied by the attacker directly into the wallet. After realizing this, the attacker exploited the specific mechanics of the wallet, manipulating the yield-bearing aEthrsETH into ordinary rsETH, leaving behind worthless transaction receipts. It was a miscalculation on the developers’ part that the Safe's contracts enacted the commands of the approved module without question. There's a dangerous irony here: the very flexibility that aims to improve operations can become a channel for exploitation, shifting the risk dynamic entirely.
Yoink Seizes the Opportunity
As the attack transaction lingered in the public mempool, Yoink was able to react promptly, executing its transaction and seizing 2,882 rsETH for itself before redirecting it to a new address. This realization was crucial—not just because of the stolen funds, but also due to Yoink's ability to capture the moment in a tightly contested space. Within two hours, the restaking protocol Kelp DAO intervened, pausing that address temporarily due to concerns about the stolen funds. This swift response by Kelp DAO demonstrated its proactive stance towards safeguarding rsETH, ensuring no adverse impact on minting or withdrawals. The efficiency with which Yoink acted raises questions about the incentives involved in these ecosystems and whether similar situations will arise more frequently as rival actors attempt to outmaneuver one another.
Uncertainty and Precedents
At present, the stolen funds hover in uncertainty. There's a possibility that Yoink could follow recent precedents of goodwill, like an MEV builder who returned a majority of funds from a Makina exploit earlier this year while keeping a bounty. This type of outcome isn’t guaranteed. In fact, multiple similar incidents have ended in gritty stalemates, where stolen assets vanish into obscurity. A notable incident this past April saw Kelp DAO itself suffer a $292 million bridge exploit, reflecting a troubling trend of losses linked with trusted infrastructures rather than fundamental code vulnerabilities. (And this is the part most people overlook: the attacks don’t always stem from code flaws; sometimes, they emerge from third-party integrations.) Such scenarios resonate with other recent hacks in the DeFi space and spark serious concerns regarding the reliability of platforms meant to safeguard users' assets.
Implications for the Future
What this means for you, if you're working in this space: the nature of vulnerabilities and attacks is shifting. As mechanisms for exploiting these systems become increasingly sophisticated, so must our understanding and defenses. The notion of a simple wallet hack becomes more nuanced when modules with complex functionalities are introduced. Institutions and protocols may need to rethink their security frameworks, considering not just internal vulnerabilities but also the risk associated with third-party integrations. Blockchain ecosystems depend heavily on user trust, and failures such as this one chip away at that foundation. It's calling for a more rigorous examination of every layer of security, not just the core technology.
Related Listen: Inside the Coldcard Hack That Drained Over $100 Million in Bitcoin: Uneasy Money
Discussion
Sign in to join the discussion.