Safe Multisig Exploit: MEV Bot Front-Runs $7.45M on Avalanche

Seven signers, a two-signature threshold and $7.45 million in assets. An old token approval made fresh signatures unnecessary. Then an MEV bot beat the original attacker to the funds.
Get advice from AML Crypto experts

Incident overview

On October 26, 2026, approximately $7.45 million in crypto assets was drained from a Safe multisig wallet on Avalanche C-Chain.
A multisignature wallet, or multisig, requires approval from multiple signers rather than a single account holder. A 2-of-7 configuration, for example, means the wallet has seven signers, with signatures from any two sufficient to authorize a standard wallet transaction.

The affected Safe used this configuration. However, previously granted token allowances made it possible to withdraw assets without obtaining fresh signatures. The exploit did not require compromising the signers’ private keys.
The underlying issue was an ERC-20 allowance misconfiguration. The Safe’s owners had granted unlimited spending allowances for four tokens to an address that hosted a trusted team contract on other blockchains but contained no deployed code on Avalanche.

An attacker identified this gap and prepared to deploy a malicious contract at the approved address. That contract could then use the existing allowances to drain the Safe.

But the attack did not unfold as its author intended.
An MEV bot detected the attacker’s pending transaction, replicated its logic, and executed first. The assets left the Safe, but they went to the bot operator rather than the original attacker.
Key facts

Parameter

Details

Attack date

October 26, 2026

Network

Avalanche C-Chain

Affected wallet

Safe multisig with a 2-of-7 configuration

Exploit mechanism

Misconfigured ERC-20 allowances and predictable contract deployment

Assets drained

Approximately $7.45 million

Original attacker

0x4c48b79b97516719444056d2bf0dc9564138fa0a

MEV bot

0x36b112875f921e51f5ea8ff39b374960694d21b3

Affected Safe

0x631fca4a73aee699638634479132452ef354b9b8

Assets drained

According to Defimon’s investigation, the following assets were withdrawn:
  • 3.09 million USDC
  • 350,400 WAVAX
  • 182 WETH.e
  • 10.79 BTC.b
Their combined estimated value at the time of the incident was approximately $7.45 million.
Initial outcomes

The original attacker prepared the exploit and submitted the transaction, but was front-run by the MEV bot. The original transaction reverted, and its sender did not receive the drained assets.

The MEV bot successfully replicated the exploit and captured the funds. Its operator subsequently offered to return the assets to the Safe’s owners in exchange for a bounty of 5–10% of the amount returned.

The Safe’s owners lost control of approximately $7.45 million in assets. Following the incident, associated wallets on other blockchains began moving funds to a new address, apparently to protect the remaining assets.

The incident illustrates both the danger of unsafe ERC-20 approvals and the ability of automated MEV participants to copy and front-run an exploit prepared by someone else.
Figure: Transfers from associated Safe wallets across multiple networks to 0x70d54baf9ffa48b8fe4e843774a44e24ff452099

What is an MEV bot, and how can it front-run an attack?

An MEV bot is an automated program that monitors blockchain activity and looks for opportunities to profit from transaction ordering.

A transaction submitted through the public network typically enters a pool of pending transactions, known as the mempool, before it is included in a block. While pending, it may be visible to other network participants, including MEV bots.

If a bot identifies a profitable opportunity, it can submit its own transaction and attempt to have it executed first. This is known as front-running.

For example, a bot might detect a large token purchase likely to move the price, buy ahead of it, and sell afterward at a higher price.

Trading is not the only source of such opportunities. Bots can also detect and reproduce transactions that exploit vulnerable configurations or contracts.

That is what happened here. The attacker prepared a transaction to drain approximately $7.45 million from a Safe multisig. The bot identified the opportunity, replicated the exploit, and secured execution ahead of the original transaction.

The bot operator received the funds instead of the attacker.

An MEV bot should not automatically be considered a defender. In this case, it prevented the original attacker from capturing the assets, but it also removed those assets from the victim’s wallet.

The operator later offered to return the funds in exchange for a 5–10% bounty.

How the exploit worked

Предпосылки: ошибка, допущенная за семь месяцев до атаки

The approval mistake made seven months earlier

The conditions for the exploit were created long before the funds were drained.

On March 7, 2026, the Safe’s owners executed a batch transaction granting an external address spending allowances for four tokens.
The approved spender was:
0x3725bd4d175283108156c3f15f86e1c51266155d
The allowances covered USDC, WAVAX, WETH.e, and BTC.b, with unlimited spending limits.
View the approval transaction and event logs.
These approvals meant that a contract at the designated address could call transferFrom() to move the approved tokens out of the Safe without requiring further signatures from its owners.
ERC-20 allowances are a standard part of how DeFi applications work. Granting an allowance is not, by itself, an exploit.

The problem was the address receiving those permissions.
How could an attacker deploy at the trusted address?

Safe CreateCall is a utility for deploying smart contracts. Under the standard CREATE mechanism, a new contract’s address can be calculated in advance from the deploying account’s address and nonce.

In this case, the team had approved 0x3725bd4d...6155d to spend the Safe’s tokens. The address hosted a trusted team contract on other chains, but no contract had yet been deployed there on Avalanche.

The attacker determined that the target address could be reached on the thirteenth contract creation through the relevant public CreateCall deployment. The exploit therefore called for twelve intermediate deployments, followed by deployment of the malicious contract at the approved address.

The critical detail is that a token allowance is assigned to an address, not to a particular contract’s code. Once malicious code was deployed at that address, it could use the existing approvals without obtaining new signatures from the Safe’s owners.
Preparing the exploit: targeting a predictable address
The attacker identified an address with unlimited token allowances but no deployed code. They then determined that Safe’s public CreateCall deployment mechanism could be used to deploy a contract at that address.
On Ethereum-compatible networks, a contract created with CREATE has an address deterministically derived from the creator’s address and nonce. Knowing the creator and its deployment sequence makes it possible to calculate future contract addresses.
The planned exploit followed this sequence:
  1. Prepare a new externally owned account, or EOA, for the attack.
  2. Use Safe infrastructure to access the public CreateCall mechanism.
  3. Execute twelve intermediate contract deployments.
  4. Deploy the malicious contract at 0x3725bd4d...6155d on the thirteenth creation.
  5. Call the token contracts to drain the assets covered by the Safe’s existing allowances.
On-chain evidence of deployment at the predictable address. The successful MEV bot transaction trace shows CreateCall being deployed through CREATE2, followed by twelve intermediate CREATE operations. The thirteenth deployment creates the malicious contract at 0x3725bd4d...6155d, the address that received unlimited allowances from the affected Safe on March 7, 2026.
Immediately after deployment, the trace shows the contract interacting with USDC, WAVAX, WETH.e, and BTC.b. The sequence of on-chain calls demonstrates how the previously granted allowances were used.
The malicious contract acted as a sweeper, moving available assets to addresses controlled by the party executing the exploit.

Because the ERC-20 allowances were already in place, the contract could act as the approved spender and invoke transferFrom() to move tokens from the Safe.

No compromise of the multisig signers’ private keys was required. The exploit abused previously granted permissions rather than breaking Safe’s signature verification.
Execution: the MEV bot intervenes

After preparing the exploit, the attacker submitted a transaction intended to deploy the malicious contract and drain the assets.

Original transaction:
0xf1f87d370290afe269ae8eb30fe8e5e4694ad153914a2de6d980641f4a331289

Before execution, the transaction became visible to an MEV participant capable of analyzing pending activity.
The bot identified the profit opportunity and reproduced the attack logic. Rather than letting the original attacker deploy at the predictable address and capture the funds first, it submitted its own transaction and secured earlier execution.

MEV bot transaction:
0xf88a7960a07832e1bf5be64edbd12a9e615b4f63959a4b87a147f0c63c007ed5

The bot completed the necessary operations first and captured the assets.
By the time the original attacker’s transaction was executed, the conditions required for it to succeed no longer existed. It reverted.

The attacker had effectively prepared a way to drain millions of dollars, only to lose the execution race to an automated competitor.
Negotiations to return the funds

After capturing the assets, the bot operator claimed to be acting as a white hat and expressed an intention to return the funds.
In an on-chain message, the operator stated a willingness to return the assets to:
0x35c6aa248e9495e0572598fbfe0528acbac2807c

The operator asked the owners to consider a bounty of 5–10% for identifying and intercepting the attack.
Based on the estimated $7.45 million value of the assets, this would amount to:
  • 5%: approximately $372,500
  • 10%: approximately $745,000
The remaining 90–95% could then be returned to the original owners.

In subsequent discussions, the bot operator agreed to retain 42,500 WAVAX, valued at approximately $371,000, and return the remaining assets to the owner.

This describes the agreed terms, rather than confirmation that the return transfers had been completed.

Timeline


Date and time (UTC)

Event

March 7, 2026, 16:10

The Safe grants unlimited spending allowances for four tokens.

March–October 2026

The allowances remain active, even though the trusted contract has not been deployed at the approved address on Avalanche.

October 26, 2026, before execution

The attacker identifies the predictable-address opportunity and prepares the sweeper contract.

October 26, 2026

An MEV bot copies and front-runs the attacker’s transaction.

October 26, 2026, 17:56:14*

Assets worth approximately $7.45 million are drained from the Safe.

October 26, 2026, 13:00:23*

According to Defimon, its monitoring system detects the attack.

October 26, 2026, from 13:48*

Associated Safes on other networks begin transferring assets.

October 27, 2026, 04:41:45

The Safe’s owners propose a white-hat agreement to the MEV bot operator.

October 27, 2026, 09:30:43

The operator expresses willingness to return the funds in exchange for a 5–10% bounty.

Want to learn more and get expert advice? Leave your email and we will contact you promptly!
We also recommend