Overview: $17 Million Stolen in 40 Days
Over the past 40 days, hackers have exploited five abandoned yet still active smart contracts to steal nearly $17 million, according to MarsBit. These so-called 'zombie contracts' were supposed to be decommissioned but retained funds, permissions, or callable entry points, making them lucrative targets. Attackers called outdated functions or leveraged leftover admin privileges to drain assets.
Projects Involved: DxSale, TrustedVolumes, Huma Finance V1, Raydium Legacy AMM, Aztec Connect
The incident affected multiple well-known DeFi projects:
- DxSale – A decentralized token launchpad. Its retired contract still held admin keys, allowing re‑takeover.
- TrustedVolumes – An on‑chain volume aggregator. The abandoned contract retained an owner key used to extract accrued funds.
- Huma Finance V1 – Credit protocol first generation. The lending pool was not closed, and hackers used leftover allowances to empty assets.
- Raydium Legacy AMM – Solana ecosystem’s old AMM. Liquidity was not fully withdrawn; the attacker drained the remaining funds through the old pool.
- Aztec Connect – Privacy bridge protocol. The pause mechanism had failed, and the hacker utilized the old contract interface to bridge funds out.
Root Cause: Incomplete Contract Retirements
Security analysts pinpoint the core issue: project teams failed to execute a proper retirement process when upgrading contracts.
- Funds not withdrawn – User deposits, liquidity, or protocol fees remained in the old contract.
- Permissions not revoked – Admin roles like
onlyOwnerwere not removed from the chain, allowing re‑elevation. - Functions still callable – No
selfdestructor pause mechanism was implemented, leaving the contract externally reachable.
Industry Recommendations
Project teams should adopt the following practices:
- Withdraw all assets – Transfer residual funds to new contracts or multisig wallets before retiring.
- Revoke all permissions – Use functions like
renounceOwnershipto eliminate admin keys on-chain. - Implement kill switches – Include pause or
selfdestructlogic to render the contract unusable after decommission. - Monitor abandoned contracts – Include legacy contracts in security monitoring setups to catch abnormal transactions.
This event underscores the importance of full lifecycle management in DeFi security. Innovation speed must be balanced with rigorous contract retirement procedures to stop ‘zombie contracts’ from becoming hackers’ ATMs.

