Wintermute Hack

Reported loss $27.6M
Optimism
Other

What happened

In June 2022 an attacker took 20 million OP tokens, reported at about $27.6M, that the Optimism Foundation had loaned to market maker Wintermute. On 27 May, Optimism sent the tokens on Optimism to an address Wintermute supplied, but that address was Wintermute's Gnosis Safe on Ethereum. No contract had been deployed at that address on Optimism, so Wintermute could not move the funds.

On 5 June, before Wintermute's planned recovery, an attacker deployed a Safe at the same address with themselves as owner. They sold 1M OP and sent 1M OP to Vitalik Buterin's address. Wintermute said it would buy back OP to make Optimism whole.

On 10 June the attacker returned 17M OP to Optimism, and Optimism said 2M OP were kept as a bounty.

How it happened

  1. On 27 May 2022 the Optimism Foundation sent 20M OP on Optimism to 0x4f3a120e72c76c22ae802d129f599bfdbc31cb81. Wintermute had created that Gnosis Safe on Ethereum in 2020 but had never deployed it on Optimism. Wintermute confirmed the test transfers without checking that it could move the funds.
  2. Wintermute's Safe came from an old ProxyFactory that used create, not create2. A proxy's address therefore depended only on the factory's address and nonce, not on who the owners were.
  3. With the same factory address available on Optimism, the attacker (0x60b28637879b5a09d21b68040020ffbf7dba5107) deployed new Safes through their own helper contract in batches, each time setting themselves as owner, until the factory nonce produced Wintermute's address.
  4. On 5 June the attacker controlled the Safe that now held the 20M OP. They sold 1M OP for about 720 ETH and sent another 1M OP to Vitalik Buterin's address.

Protocol details

Classification Other / Infrastructure / Access Control
Protocol Type Exploit/Other
Protocol links Website @wintermute_t

Funds Recovery

85.0%

Recovered

$23.5M

Net Loss

$4,140,000

Understand the attack patterns

Build your security review skills

Work through hands-on labs covering real exploit mechanics, review techniques, and defensive patterns.