Hydration exploit: $2.2M lost to Frontier EVM flaw on Polkadot
Part of the Hydration story · since 6 Dec
- Sun 6 Dec, 17:03 UTC. cybersixt, first report. Hydration exploit: $2.2M lost to Frontier EVM flaw on Polkadot. This article, 1st of 1.
Hydration, a decentralised exchange and lending protocol on Polkadot, lost about 1,421 ETH (about $2.23 million) in an exploit on Thursday, and says the root cause was Frontier, the open-source layer that lets Substrate-based blockchains run Ethereum smart contracts. "The runtime has been upgraded to fix the root cause of the exploit - Frontier, the Substrate EVM compatibility layer," Hydration said late that day.
The same afternoon, Frontier's maintainers published a critical security advisory, GHSA-2w4h-mjq7-6gw7, recommending an emergency upgrade. Hydration has not said which Frontier flaw was used or named the advisory; it is the only advisory the Frontier project has published since July 2025, according to its advisory list.
How the Frontier flaw works
The advisory, credited to the Creditcoin team, describes a check called EnsureAddressTruncated that let any signed Substrate account act as an EVM address if the first 20 bytes of the account matched it. It had no rule against the zero address. Because the ed25519 signature check in use does not reject public keys of "small order", such a key can produce valid signatures without any private key, and one whose first 20 bytes are zero passes as address(0) for EVM calls, contract creation and withdrawals.
That matters because Solidity code treats address(0) as "nobody". According to the advisory, an account posing as it passes onlyOwner checks on contracts whose ownership was renounced, can accept ownership through Ownable2Step when no transfer is pending, can trigger UUPS proxy upgrades, and can withdraw the native balance mapped to address(0). It lists minting and draining through contracts that trust that address among the impacts, and calls the flaw critical "as user funds are at risk with certain smart contract designs". No CVE has been assigned.
Timeline
The fix, a pull request titled "Tighten EVM address origin validation" that rejects the default EVM address in signed origins, was merged into Frontier at 16:00 UTC on 2 December. At 08:01 UTC on 3 December, Hydration said it was responding to an active exploit, had paused the affected operations and that the rest of the affected funds were frozen. The Frontier advisory was published at 15:03 UTC, and Hydration announced its runtime upgrade at 22:53 UTC.
Hydration said funds held back by its withdrawal limiter were used to repay the malicious borrows. On 4 December it said it was fully operational, that a whitehat had returned part of the funds, that its apyUSD market stayed paused pending bad-debt settlement, and that it could cover the shortfall subject to a governance vote.
What chains running Frontier should do
The advisory recommends an emergency upgrade to a Frontier version that includes the fix. Contracts that rely on renounced ownership or on address(0) meaning that no one can act are the ones it names as at risk.
What is still open
Hydration has not published a post-mortem showing which contract was abused or how. Neither Hydration nor the Frontier maintainers have said which other chains run the vulnerable code or whether any of them have been attacked. The Hydration threat actor has not been identified, and the investigation is continuing, the protocol says.
How the story developed
1 article from 1 outlet since 6 Dec. Still developing; the latest report was 41 minutes ago. This was the first report.
- Sun 6 Dec, 17:03 UTC. cybersixt, first report. Hydration exploit: $2.2M lost to Frontier EVM flaw on Polkadot. This article, 1st of 1.
- No CVE
- Larger: an outlet’s first report
- Coverage over time
Show all 1 articles as a listHide the list
- Sun 6 DecDay 01
- Hydration exploit: $2.2M lost to Frontier EVM flaw on Polkadot17:03 · cybersixt · First report · This article, 1st of 1
Sources
- Hydration on X: root cause was Frontier, runtime upgradedPrimary sourcex.com
- Hydration on X: responding to an active exploit, about 1,421 ETH leftPrimary sourcex.com
- Hydration on X: fully operational, apyUSD market pausedPrimary sourcex.com
- Frontier advisory GHSA-2w4h-mjq7-6gw7: EVM address(0) impersonation through EnsureAddressTruncatedPrimary sourcegithub.com
- Frontier pull request #1931: Tighten EVM address origin validationPrimary sourcegithub.com
- Frontier security advisoriesgithub.com
More reporting
- BN254 curve now insecure: Tornado Cash users told to withdraw6 Dec
- Transnet cyber attack disrupts five South African port terminals6 Dec
- Standard Chartered online banking down for new security controls6 Dec
- Kumamoto data breach: Cyber Records phishing may expose 72,0006 Dec
- LG Energy Solution cyber attack forces global IT shutdown6 Dec
Written by CyberSIXT from the sources above.How we reportCorrectionsRSS