Get 40% Off
👀 👁 🧿 All eyes on Biogen, up +4,56% after posting earnings. Our AI picked it in March 2024.
Which stocks will surge next?
Unlock AI-picked Stocks

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

Published 02/07/2023, 09:30 AM
Updated 02/07/2023, 11:00 AM
DeFi Hacker Milks Over $180,000 Worth of Crypto from CoW Swap DEX

  • 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:

3rd party Ad. Not an offer or recommendation by Investing.com. See disclosure here or remove ads .

.tweet-container,.twitter-tweet.twitter-tweet-rendered,blockquote.twitter-tweet{min-height:261px}.tweet-container{position:relative}blockquote.twitter-tweet{display:flex;max-width:550px;margin-top:10px;margin-bottom:10px}blockquote.twitter-tweet p{font:20px -apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif}.tweet-container div:first-child{ position:absolute!Important }.tweet-container div:last-child{ position:relative!Important }

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.

3rd party Ad. Not an offer or recommendation by Investing.com. See disclosure here or remove ads .

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

See original on DailyCoin

Latest comments

Risk Disclosure: Trading in financial instruments and/or cryptocurrencies involves high risks including the risk of losing some, or all, of your investment amount, and may not be suitable for all investors. Prices of cryptocurrencies are extremely volatile and may be affected by external factors such as financial, regulatory or political events. Trading on margin increases the financial risks.
Before deciding to trade in financial instrument or cryptocurrencies you should be fully informed of the risks and costs associated with trading the financial markets, carefully consider your investment objectives, level of experience, and risk appetite, and seek professional advice where needed.
Fusion Media would like to remind you that the data contained in this website is not necessarily real-time nor accurate. The data and prices on the website are not necessarily provided by any market or exchange, but may be provided by market makers, and so prices may not be accurate and may differ from the actual price at any given market, meaning prices are indicative and not appropriate for trading purposes. Fusion Media and any provider of the data contained in this website will not accept liability for any loss or damage as a result of your trading, or your reliance on the information contained within this website.
It is prohibited to use, store, reproduce, display, modify, transmit or distribute the data contained in this website without the explicit prior written permission of Fusion Media and/or the data provider. All intellectual property rights are reserved by the providers and/or the exchange providing the data contained in this website.
Fusion Media may be compensated by the advertisers that appear on the website, based on your interaction with the advertisements or advertisers.
© 2007-2024 - Fusion Media Limited. All Rights Reserved.