DexibleApp aggregator hacked for $2M via ‘selfSwap’ function

The multichain exchange aggregator DexibleApp has been hit by an exploit, and $2 million worth of cryptocurrency has been lost as a result, according to a Feb. 17 post-mortem report released by the team on the project’s official Discord server.

As of 6:35 p.m. UTC on Feb. 17, the DexibleApp frontend shows a popup warning about the hack whenever users navigate to it.

At 6:17 a.m. UTC, the team reported that they had discovered “a potential hack on Dexible v2 contracts” and were investigating the issue. Approximately nine hours later, they released a second statement that they “now know $2,047,635.17 was exploited from 17 trader addresses. 4 on mainnet, 13 on arbitrum.”

A post-mortem report was issued at 4 p.m. UTC as a pdf file and released on Discord, and the team said it was “actively working on a remediation plan.”

In the report, the team stated that it had noticed something was wrong when one of its founders had $50,000 worth of crypto moved out of his wallet for reasons that were unknown at the time. After investigating, the team found that an attacker had used the app’s selfSwap function to move over $2 million worth of crypto from users that had previously authorized the app to move their tokens.

The selfSwap function allowed users to provide the address of a router and calldata associated with it to make a swap of one token for another. However, there was no list of pre-approved routers written into the code. So, the attacker used this function to route a transaction from Dexible to each token contract, moving users’ tokens from their wallets into the attacker’s own smart contract. Because these malicious transactions were coming from Dexible, which users had already authorized to spend their tokens, the token contracts did not block the transactions.

Related: NFT influencer falls victim to cyberattack, loses $300K+ CryptoPunks

After receiving the tokens into their own smart contract, the attacker withdrew the coins through Tornado cash into unknown Binance Coin (BNB) wallets.

Dexible has paused its contracts and urged users to revoke token authorizations for them.

The common practice of authorizing token approvals for large amounts has sometimes led to losses for crypto users due to buggy or outright malicious contracts, leading some experts to warn users to revoke approvals on a regular basis. The frontends for most Web3 apps do not directly allow users to edit the amount of tokens approved, so users often lose the full balance of their tokens if an app turns out to have a security flaw. Metamask and other wallets have tried to fix this problem by allowing users to edit token approvals at the wallet confirmation step. But many crypto users are still unaware of the risk of not using this feature.

All Dutch and English crypto news!

Cathie Wood’s ARK loading up on Coinbase shares again, buying $18M

Cathie Wood's Investment Management firm Ark Invest has gone back to buying Coinbase shares again, just a day after the COIN's stock price dipped amid...

ChatGPT can now access the internet with new OpenAI plugins

Artificial intelligence chatbot ChatGPT can now retrieve information from online sources and interact with third-party websites via a new plugin feature introduced by its creator,...

‘Surgical removal’ of crypto will only weaken USD dominance, commentators say

The United States' crackdown on cryptocurrencies and firms will only serve to stifle crypto-related innovation and "weaken" the country, said industry pundits in the wake...

3AC co-founder can answer subpoena or ’take his chances’ — US judge

Kyle Davies, co-founder of bankrupt crypto hedge fund Three Arrows Capital (3AC), has been ordered to answer the subpoena issued to him in Januaryor risk...

Beste exchanges

Koop je crypto bij Bitvavo