- Home
- Regulations
- Inside the Astrid Finance Exploit: How a Withdraw Function Vulnerability Drained $228K From an EigenLayer Restaking Pool
Inside the Astrid Finance Exploit: How a Withdraw Function Vulnerability Drained $228K From an EigenLayer Restaking Pool

On October 28, 2023, Astrid Finance, an Ethereum-based liquid restaking protocol built on the EigenLayer, became the latest DeFi project to fall victim to a smart contract vulnerability. The exploit resulted in the loss of approximately $228,000 worth of staked assets, sending ripples through the restaking ecosystem at a time when Bitcoin traded near $34,000 and Ethereum hovered around $1,776.
Table of Contents
The Exploit Mechanics
The attack on Astrid Finance hinged on a critical flaw in the protocol's withdraw() function. Specifically, the smart contract failed to properly validate input parameters passed to the withdrawal mechanism. This oversight allowed the attacker to supply arbitrary token addresses and amounts during the withdrawal process.
According to on-chain analysis, the attacker deployed a malicious contract and executed the first malicious transaction at 10:41 AM UTC on October 28. The attacker created three counterfeit tokens — Token A, Token B, and Token C — each designed to target a different staking asset within the protocol.
Token A was used to initiate a withdrawal that extracted 64.17 stETH (approximately $114,757). Token B facilitated the withdrawal of 39.16 rETH (approximately $76,328). Token C enabled the attacker to claim 20 cbETH (approximately $37,637). In total, the attacker drained roughly $228,000 in liquid staking derivatives and subsequently converted all acquired tokens into 127 ETH.
Affected Systems
Astrid Finance operated as a liquid restaking pool on Ethereum, leveraging the EigenLayer infrastructure. EigenLayer allows users to restake their ETH or liquid staking tokens to secure additional protocols beyond Ethereum's consensus layer, earning additional yield in the process. The affected assets — stETH (Lido's staked ETH), rETH (Rocket Pool's staked ETH), and cbETH (Coinbase's wrapped staked ETH) — represent the three largest liquid staking derivatives in the ecosystem.
The exploit did not affect the underlying EigenLayer protocol itself, nor did it compromise Lido, Rocket Pool, or Coinbase. The vulnerability was entirely contained within Astrid Finance's smart contract code, specifically in how the withdraw function handled token address parameters without sufficient validation.
The Mitigation Strategy
Astrid Finance's team responded with commendable speed. By 2:13 PM UTC — roughly three and a half hours after the initial exploit — the team publicly disclosed the incident and paused all affected smart contracts to prevent further drainage. At 2:51 PM UTC, the team sent an on-chain message to the attacker's wallet address, offering a white-hat bounty of 20% of the stolen funds in exchange for returning the remaining 80%.
Remarkably, the strategy worked. By October 29, the attacker returned approximately 80% of the stolen assets. The Astrid Finance team confirmed that all affected users received full refunds for their losses, funded by the returned assets and the protocol's treasury reserves.
Lessons Learned
The Astrid Finance exploit underscores a persistent challenge in DeFi: the gap between a protocol's intended behavior and its actual implementation. In this case, the withdraw function's business logic was sound in concept but fatally flawed in execution. The protocol assumed that only legitimate, registered token addresses would be passed to the function — an assumption that proved catastrophically wrong.
Several key takeaways emerge from this incident. First, input validation must be comprehensive and explicit. Every parameter passed to a critical function — especially one involving asset transfers — should be validated against an allowlist of acceptable values. Second, the exploit highlights the particular risks facing restaking and liquid staking protocols, which handle multiple derivative tokens and thus present a larger attack surface than single-asset protocols. Third, the rapid response from Astrid Finance's team — including the on-chain bounty negotiation — demonstrates the effectiveness of having an incident response plan in place.
User Action Required
For users who interact with restaking protocols, this incident serves as a reminder to verify that any protocol you use has undergone thorough smart contract auditing. Check whether the protocol's audit reports specifically address input validation in withdrawal functions. Additionally, consider diversifying across multiple restaking providers rather than concentrating funds in a single pool. While Astrid Finance made its users whole in this instance, not all protocols have the treasury reserves to do the same. As the restaking ecosystem on EigenLayer continues to grow, users should remain vigilant about the security posture of every protocol they trust with their staked assets.
Disclaimer: This article is for informational purposes only and does not constitute financial or investment advice. Always conduct your own research before interacting with any DeFi protocol.
25 Comments