SushiSwap approval bug leads to $3.3 million exploit


A bug in a smart contract in the decentralized finance (DeFi) protocol SushiSwap led to losses of more than $3 million in the early hours of April 9, according to multiple security reports on Twitter.

Blockchain security firms Certik Alert and Peckshield published about unusual activity related to the approval function in Sushi's Router Processor 2 contract, a smart contract that aggregates trading liquidity from multiple sources and identifies the most favorable price for exchanging data. coins. Within a few hours, the error caused losses of $3.3 million.

According For DefiLlama pseudonymous developer 0xngmi, the hack should only affect users who changed the protocol in the last four days.

Sushi's lead developer, Jared Gray, urged users to revoke permissions for all contracts in the protocol. "Sushi's RouteProcessor2 contract has an approval error, please revoke the approval as soon as possible. We are working with security teams to mitigate the issue," he said. TO list Contracts on GitHub with different blockchains that require revocation has been created to address the issue.

Hours after the incident, Gray took to Twitter to announce that "a large portion of the affected funds" had been recovered through a whitehat security process. โ€œWe have confirmed the recovery of more than 300 ETH of the stolen funds from CoffeeBabe of Sifu. We are in contact with the Lido team regarding a further 700 ETH.โ€

The Sushi's community has had an intense weekend. On April 8, Gray and his attorney feedback provided about the recent subpoena from the United States Securities and Exchange Commission (SEC).

"The SEC's investigation is a non-public investigative inquiry seeking to determine whether there have been any violations of the federal securities laws. To the best of our knowledge, the SEC has not (as of this writing) reached any conclusion that anyone affiliated with Sushi has violated the federal securities laws of the United States," he said.

Gray claims to be cooperating with the investigation. A legal defense fund in response to the subpoena was proposed in the Sushi government forum on March 21.

Hodler's Digest, April 2-8: BHidden TC White Paper on macOS, Binance Loses AUS License, and DOGE News