DeFi Hacker Milks Over $180,000 Worth of Crypto from CoW Swap DEX

CoW Swap, a decentralized exchange, has been exploited for over $180,000 but did not lose any funds.

Alien spaceship abducting a cow while people watch
  • CoW Swap is the victim of the latest DeFi exploit, with the hacker stealing over $180,000 worth of crypto.
  • The hacker exploited a smart contract in the “solvers competition” of CoW Swap.
  • Despite the exploit, CoW Swap says neither the protocol nor its users suffered any loss.

CoW Swap, a decentralized exchange (DEX), has become the latest DeFi protocol to be exploited after a hacker drained a settlement contract containing its protocol fees, looting over $180,000 worth of crypto.

CoW Swap Suffers DeFi Exploit

In the never-ending attack on DeFi protocols, CoW Swap has become the latest victim. The exploit which happened yesterday was first spotted by the on-chain sleuth MevRefund and confirmed by the CoW Swap team.

According to CoW Swap, the hacker exploited “an external solver and used it to drain the settlement contract, which held seven days’ worth of protocol fees.”

The blockchain analytical firm Nansen reported that the exploiter stole roughly $180,000. According to the report, the hacker consolidated the funds into two wallets containing $123,000 DAI, $50,000 BNB, and $7,400 ETH.

CoW Swap Didn’t Suffer Any Loss

Although CoW Swap confirmed the exploit, the team noted that none of its users were affected. The team also noted that no funds were stolen from the protocol during the exploit.

While over $180,000 was confirmed stolen, the CoW Swap team explained that the solver’s bond would pay for all damages. This means that the protocol did not suffer any direct loss from the exploit. The team tweeted:

How Was CoW Swap Exploited?

CoW Swap engages in a so-called “solver competition” where external parties compete to find the best execution route for their users. The team said the exploiter entered the competition ten days ago.

The exploiter hacked the smart contract to allow anyone to transfer from the settlement contract. They then tricked the DEX GPv2Settlement contract to approve SwapGuard for DAI spending.

The hacker would return to trigger SwapGuard to transfer the DAI from the GPv2Settlement contract. During the attack, community members urged users to revoke approvals from the DEX. Cow Swap responded that it wasn’t necessary.

No losses were recorded because CoW Swap is protected from solver exploits by the solver bonding pools. CoW Swap also adds that all the approvals for the bad contract have been revoked, adding that no more malicious actions were possible.

On the Flipside

  • MevRefund has also reported that others have been using the same technique to try and steal the funds remaining in the pool.

Why You Should Care

The more sophisticated framework of CoW Swap kept it from being the latest to suffer a loss after being exploited by hackers.

Find more recent DeFi hacks below:
Lending Protocol BonqDAO Loses $120 Million to Hackers

You may also be interested in:
Ways Blockchain Can Be Hacked

This article is for information purposes only and should not be considered trading or investment advice. Nothing herein shall be construed as financial, legal, or tax advice. Trading forex, cryptocurrencies, and CFDs pose a considerable risk of loss.

Milko Trajcevski

Milko Trajcevski is a DailyCoin news reporter, mainly focused on Ethereum (ETH), Cardano (ADA), and their founders (Vitalik Buterin and Charles Hoskinson). Milko is an avid follower of crypto and blockchain technology and has written thousands of articles on the subjects. He finds joy in transforming complex issues into written content that anyone can understand. Milko has used and analyzed numerous exchanges, such as Coinbase, FTX, and Binance. He also closely follows all of the latest news around the largest decentralized exchanges (DEXs). Location: Skopje, Macedonia