BlackHart
Go live
Hacks feed/StakeDAO

StakeDAO

May 27, 2026·Arbitrum·Key Compromise
CauseHuman or key compromise
$91K
total loss
StatusConfirmed

Why it happened

Attack class: Key compromise

The deployer key was compromised.

What would have stopped it

  • Wrap the vsdCRV OFT owner in a multisig (Safe with 3-of-5 or 4-of-7 threshold).
  • Add a timelock between any setPeer call and the first accepted message from that new peer. Recommended cooldown is 24 to 72 hours.

Not scored before the exploit

BlackHart had not scored StakeDAO before this exploit.

An attacker stole the private key to StakeDAO's deployer wallet on Arbitrum and used it to redirect the vsdCRV token's trusted cross-chain link to a contract they controlled on Ethereum. They then forged a cross-chain message that minted roughly 5.4 trillion vsdCRV out of thin air, dumped what little liquidity existed for about 43.78 ETH (around $91,000), and bridged the proceeds to Ethereum where the funds still sit untouched. Locked sdCRV collateral on Ethereum, other StakeDAO products, and user deposits were not affected. The team has already locked out the compromised key and reset the cross-chain trust setting.

Locked sdCRV collateral on Ethereumsafe
Other StakeDAO products and rewardssafe
User deposits and positions on the Ethereum sidesafe
vsdCRV token on Arbitrumdrained(5.4 trillion phantom tokens minted; token migration likely needed)
vsdCRV DEX liquidity on Arbitrumdrained(about $91K extracted across 28 swaps)
Exploit anatomy

The attacker, using the compromised StakeDAO deployer wallet, signed a setPeer transaction on Arbitrum that pointed the vsdCRV token's trusted cross-chain peer at an attacker contract on Ethereum. A forged cross-chain message from that contract then minted 5.4 trillion vsdCRV to the attacker's wallet, which dumped them across 28 swaps and bridged the proceeds via Stargate to Ethereum mainnet.

The attack in 5 steps. Step 1, Funding: Tornado Cash (source), Intermediate wallet (source). Step 2, Mint: Compromised deployer (hub), about $91K reached this step. Step 3, Swap: 28 swaps to ETH (swap). Step 4, Bridge: Stargate native ETH bridge (bridge). Step 5, Recipient: Attacker wallet on Ethereum (exit).

  1. Step 1: Funding

    • Source
      Tornado Cash
      1 ETH withdrawn
      3-day OPSEC cooldown
    • Source
      Intermediate wallet
      gas staging
      via Relay aggregator
      0x58baE3Cb...de2f19
  2. Step 2: Mint

    • Hub
      Compromised deployer
      5.4T vsdCRV minted
      $91,369 claimed via forged msg
      0x62d5a5...c833
  3. Step 3: Swap

    • Swap
      28 swaps to ETH
      to 43.78 ETH
      Curve, KyberSwap, MetaMask, Enso
  4. Step 4: Bridge

    • Bridge
      Stargate native ETH bridge
      43.78 ETH bridged
      Arbitrum to Ethereum, 1 min
      0x8e60b7b6...19286e
  5. Step 5: Recipient

Why each step worked

    • Deployer key compromised0x000755...ff62
    • Single EOA ownerno multisig, no timelock on setPeer
    • Hijacked cross-chain peersetPeer(eid=30101) repointed Ethereum trust to attacker contract 0x00380b...1106
    • Forged message accepted as peeronlyPeer check passed because peers[30101] now pointed at the attacker; no inbound mint rate limit
    • No outflow velocity capmissing controlnothing rate-limited the 28 sequential dumps
    • No realtime cross-chain alertingmissing control5.4T mint with no source-chain lock went unpaged
    • No exchange-flag outreach yetmissing controlfunds sit on Ethereum, recoverable with CEX coordination
Full forensic detail

Step-by-step reconstruction, root cause, counterfactuals, remediation, and disclosure timeline.

Exploit anatomy

1.
Three days before the attack, the attacker withdrew 1 ETH from Tornado Cash to an intermediate wallet on Ethereum, breaking the public link between the funding source and any subsequent attacker identity.
2.
At some point before the attack, the attacker obtained the private key for StakeDAO's deployer wallet on Arbitrum. The exact exfiltration vector has not been publicly confirmed; common patterns at this layer are cloud secret leaks, social engineering of an engineer, compromised CI/CD signing infrastructure, or a leaked .env in a deployment pipeline.
3.
On 2026-05-27 at 08:52 UTC the attacker provisioned gas on Arbitrum to a fresh wallet 0xeF3C054d...aa25 via Relay, a permissionless cross-chain swap aggregator that does not require identity verification.
4.
At 09:00 UTC the compromised deployer wallet signed setPeer(eid=30101, peer=0x00380be1...1106) on the vsdCRV OFT contract at 0x62d5a59e...c833. This single state change replaced the legitimate Ethereum-side counterparty with an attacker-deployed look-alike.
5.
At 09:17 UTC a cross-chain message arrived at the Arbitrum LayerZero endpoint, originating from the attacker's malicious peer contract on Ethereum. The message carried a near-maximum uint64 amount value. The vsdCRV contract accepted it as authoritative because the peer mapping now pointed at the attacker.
6.
The OFT scaled the shared amount by ten to the twelfth (to convert from cross-chain 6-decimal shared units to local 18-decimal units) and minted 5,446,744,073,710 vsdCRV directly to the attacker.
7.
Between 09:17 and 09:43 UTC the attacker ran 28 sequential vsdCRV-to-ETH swaps across Curve, KyberSwap, MetaMask Swap Router, and Enso aggregators. Available liquidity for vsdCRV was tiny compared to the 5.4 trillion mint, so each swap immediately hit deep price impact. Total extraction across all swaps was 43.78 ETH.
8.
At 10:04 UTC the attacker bridged 43.78 ETH from Arbitrum to Ethereum mainnet via Stargate's native ETH bridge. One minute later, 43.97 ETH credited the same attacker wallet on Ethereum, where it sits untouched at forensic report time.
9.
Within hours, StakeDAO transferred ownership of the vsdCRV OFT contract to a fresh address 0x52ea58f4...87DC, locking out the compromised deployer. The Ethereum-side trust peer was reset to a new legitimate adapter at 0x92b8d4d4...21e95. The protocol-side attack window is closed.

Root cause

StakeDAO's vsdCRV token on Arbitrum is implemented as a LayerZero V2 OFT, which lets the contract owner reconfigure the trusted Ethereum-side counterparty at any time via a single setPeer call. The deployer wallet that held this owner authority was a single externally owned account, not a multisig, and there was no timelock or cooldown between a peer change and the first cross-chain message accepted from the new peer. There was also no rate limit on inbound mint amounts. Once the attacker had the private key, the entire cross-chain mint authority on Arbitrum was a single transaction away. The smart contract code is not buggy; the operational architecture around it is the failure surface.

// Simplified architecture of the failure surface
function setPeer(uint32 _eid, bytes32 _peer) external onlyOwner {
    peers[_eid] = _peer;  // single state write reconfigures cross-chain trust
    emit PeerSet(_eid, _peer);
}

function _lzReceive(Origin calldata _origin, ...) internal override {
    // onlyPeer check: any caller whose source matches peers[srcEid] passes
    require(peers[_origin.srcEid] == _origin.sender, "OFT: invalid peer");
    _mint(_recipient, _amount);  // attacker-controlled because peer was attacker-controlled
}

Prevention analysis

Wrap the vsdCRV OFT owner in a multisig (Safe with 3-of-5 or 4-of-7 threshold).

Attack fully prevented. A single key compromise becomes insufficient to call setPeer; the attacker would need to compromise threshold-many signers in coordination.

Add a timelock between any setPeer call and the first accepted message from that new peer. Recommended cooldown is 24 to 72 hours.

Attack detected and reversed before any mint can happen. A protocol monitor sees the peer change, raises an alarm, and the team can revert via the multisig before the cooldown expires.

Add a per-source-peer rate limit on inbound mint amounts. For example, a 1% of circulating supply per hour cap on inbound credit from any given peer.

Even if the peer hijack succeeded, the mint would be capped well below 5.4 trillion. The attacker would extract a small fraction of what they got, buying defenders time to pause.

Cross-chain invariant monitoring with public alerting: continuously verify that for each cross-chain mint on a destination chain, a corresponding lock or burn happened on the source chain.

Attack detected in real time. A 5.4 trillion mint with no corresponding Ethereum-side lock would page within minutes of the mint, often before DEX dumps complete.

Move owner-key custody from a single externally owned account to MPC custody (Fireblocks, Coinbase Custody, or similar).

The single-key extraction vector is eliminated. Even if an internal node is compromised, no single party holds enough cryptographic material to autonomously call setPeer.

Similar incidents

Kelp DAO

Same cross-chain trust binding architecture, different compromise vector. Kelp was hit at the verifier infrastructure layer (poisoned RPC nodes feeding a single DVN); StakeDAO was hit at the OApp owner layer (one private key exfiltrated). Both end the same way: a forged cross-chain message authorizing unauthorized minting on the destination chain.

Multichain (Anyswap)

Cross-chain bridge admin custody compromised, leading to unauthorized minting and drain of bridge-controlled assets. Identical risk class at the architectural level: privileged custodial role over cross-chain trust binding with insufficient operational hardening.

Wintermute (Sep 2022)

Single externally owned account holding outsized authority, private key extracted by a flaw in the address-generation tool. Same anti-pattern at a different layer of the stack.

Polymarket

Operational private key compromise, single wallet with admin-equivalent authority over protocol-adjacent value. Same dimensional failure: operational security plus access control. StakeDAO is the more severe variant because the compromised authority controlled cross-chain trust rather than a hot wallet balance.

Drift Protocol

Admin key compromise leading to a single privileged transaction authorizing large-scale value extraction. Centralized admin authority with no multisig or timelock wrapping.

Remediation

1.Done: ownership of the vsdCRV OFT on Arbitrum transferred from the compromised deployer to a fresh address (0x52ea58f4...87DC). The compromised deployer's authority over this contract is fully revoked.
2.Done: peers[30101] reset to a new legitimate Ethereum-side adapter (0x92b8d4d4...21e95). The attack window through the malicious peer is closed.
3.Required next step: rotate every key the compromised deployer wallet ever held across every chain and every contract. Audit any CI/CD secret store, deploy script repository, signer device, or cloud credential that had access.
4.Required next step: plan a vsdCRV token migration or holder snapshot/swap. The 5.4 trillion phantom mint cannot be unminted on-chain; the only clean fix is a new token contract with balances seeded from a pre-attack snapshot.
5.Recommended: migrate the new owner from a single externally owned account to a multisig with a meaningful threshold. Pair it with a timelock on setPeer and any other privileged cross-chain configuration call.
6.Recommended: coordinate with centralized exchange compliance teams to flag the 43.97 ETH attacker address on Ethereum. The funds sit untouched and are a recoverable target with the right outreach.
7.Portfolio-wide: any LayerZero OFT deployment in production that uses a single externally owned account as owner without a multisig or timelock should be treated as a P0 hardening target until that wrapping is in place.

Timeline

2026-05-241 ETH withdrawn from Tornado Cash to intermediate wallet 0x58baE3CbD2A3E0e8D45802Ba9E4D8ACAB9de2f19. Three-day OPSEC cooldown before attack.
2026-05-27Gas funded on Arbitrum to fresh attacker wallet 0xeF3C054d...aa25 via Relay swap aggregator.
2026-05-27Compromised StakeDAO deployer signs setPeer transaction on vsdCRV OFT contract, redirecting Ethereum-side trust to attacker contract 0x00380be1...1106.
2026-05-27Forged cross-chain message arrives at Arbitrum endpoint, mints 5,446,744,073,710 vsdCRV (about 5.4 trillion tokens) to attacker wallet.
2026-05-27Attacker executes 28 sequential vsdCRV-to-ETH swaps across Curve, KyberSwap, MetaMask Router, and Enso. Total extracted: 43.78 ETH (about $91,000).
2026-05-2743.78 ETH bridged via Stargate from Arbitrum to Ethereum mainnet.
2026-05-2743.97 ETH credited to attacker wallet on Ethereum. Funds untouched at forensic report time.
2026-05-27Blockaid publicly alerts the ongoing exploit on X, listing key transaction hashes and addresses.
2026-05-27StakeDAO transfers vsdCRV OFT ownership to fresh address, resets Ethereum-side peer to new legitimate adapter. Protocol-side attack window closed.
2026-05-27BlackHart hack-forensics pipeline publishes HACK-STAKEDAO-2026-001.
Blockaid (initial detection and attribution), BlackHart (six-phase forensic pipeline, on-chain verification, cross-portfolio at-risk scan)
Continuous adversarial monitoring

Get your protocol scored across 12 dimensions, or request ongoing coverage.