Dev.to Security 🔐 Cybersecurity 👁 0 📖 3 min read

Stake DAO minted 5.4 trillion tokens from one deployer key

On May 27, 2026, someone minted 5.4 trillion vsdCRV on Arbitrum. By the time it was over, they had extracted about $91,000. Five point four trillion tokens, ninety-one thousand dollars out. That ratio is the whole story

Stake DAO minted 5.4 trillion tokens from one deployer key

On May 27, 2026, someone minted 5.4 trillion vsdCRV on Arbitrum. By the time it was over, they had extracted about $91,000.

Five point four trillion tokens, ninety-one thousand dollars out. That ratio is the whole story, and it is worth understanding before the next one.

Cartoon: a deployer key beside a config panel reading peer = attacker, with no timelock and no mint cap, minted coins flowing toward a single narrow exit door

What actually gave way

Stake DAO's voting-escrow derivative used a LayerZero OFT bridge between Arbitrum and Ethereum. That bridge has a peer configuration: each side names the contract it trusts on the other side.

The attacker did not break LayerZero. They did not forge a signature. They took the protocol's Arbitrum deployer key and used it to reset the peer configuration to an address they controlled.

From then on, the bridge was listening to them. Their contract sent a cross-chain message, the OFT contract accepted it as genuine — it was, per the configuration — and the mint executed without a cap.

The number that should worry you

5.4 trillion. That is not a rounding error or a display bug. It is what the contract was allowed to do: an OFT implementation that trusts its peer will mint whatever that peer tells it to mint.

The value extracted was small ($91K, converted to ~44 ETH and bridged to mainnet) because the attacker had to sell into whatever liquidity existed for a token nobody had ever heard of. The mint was unlimited; the exit was not.

That gap is the only reason this incident is a footnote and not a catastrophe.

Three failures, one key

Read the sequence again and count how many independent things had to be true:

  1. The deployer key was live. Not renounced, not moved to a multisig, not in a hardware wallet with a delay. It still had authority over the OFT configuration.
  2. Configuration changes took effect immediately. No timelock, no guardian, no delay between "peer changed" and "peer changed."
  3. The mint had no ceiling. The OFT would mint anything the trusted peer asked for.

Any one of those three, closed, breaks the attack. The attacker needed all three open. They were.

Why this keeps happening in 2026

November's three largest losses were also keys: Wagyu ($13.51M, leaked through infrastructure), Chainflip ($11.96M, validator key), CyberConnect ($968K, private key). Gravity Bridge was $5.4M and a signing key. Stake DAO is the same shape at a smaller scale.

The pattern is not that teams are careless. It is that the key outlives the reason it existed. A deployer key is convenient during launch, then becomes an unowned weapon sitting in a hot wallet for two years, protecting a configuration path nobody remembers.

What to check on your own protocol this week

These are the questions I would ask, in this order, and they take an afternoon.

1. Which keys can change trust?
Not "who owns the contract" — which key can change a peer, a validator set, an oracle source, a fee recipient. Configuration authority is more dangerous than fund custody, because it changes what the system believes.

2. What is the delay?
If the answer is "none", the key is a live grenade. A 48-hour timelock on configuration changes gives you two days to notice and one transaction to stop it.

3. Does minting have a ceiling?
An OFT that mints on message receipt should be capped per epoch, and the cap should be a number someone chose on purpose. If nobody remembers choosing it, it is infinity.

4. Is the deployer key still needed?
If the deployment is finished, the answer is no. Renounce it, or move it to a multisig. "We will do it after launch" is how it survives to next year.

5. Can you see a configuration change happen?
Alerting on peer set events is cheap. Most teams alert on fund movements and miss the thing that gives the attacker permission to move funds.

The uncomfortable part

The $91,000 headline makes this look like a small incident. It was not. It was a protocol breach where the attacker simply had no efficient way to convert five trillion tokens into money.

Next time the token is liquid, or the attacker is patient, or the chain is cheaper to exit from, the same sequence ends differently.

A deployed key that can rewrite trust is not a security detail. It is the security model.

This is one of 61 on-chain case investigations, indexed at qanzhi111.github.io/intel.

The archive: 61 investigations, 64 leak scans, 0 exploited

The archive. 61 on-chain investigations and 64 days of GitHub leak scanning, redacted and never used. Read the index or try the free token risk check at qanzhi111.github.io.

📰 Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.