• Live Crypto Prices
  • Crypto News
    • Worldwide
      • Bitcoin
      • Ethereum
      • Altcoin
      • Blockchain
      • Regulation
    • Australian Crypto News
  • Education
    • Cryptocurrency For Beginners
    • Where to Buy Cryptocurrency
    • Where to Store Cryptos
    • Cryptocurrency Tax in Australia 2021
No Result
View All Result
CryptoABC.net
No Result
View All Result

How A Hacker Saved 109K ETH On SushiSwap-Based Contract

August 17, 2021
in Bitcoin
Reading Time: 3min read
0 0
A A
0
How A Hacker Saved 109K ETH On SushiSwap-Based Contract
0
SHARES
4
VIEWS
ShareShareShareShareShare

White hat hacker Samczsun from investment firm Paradigm reported what could be one of the biggest rescues ever on the SushiSwap protocol, the Ethereum ecosystem, and maybe the entire internet.

Just pulled off maybe the biggest whitehat rescue ever. Story time soon 🔥

— samczsun (@samczsun) August 17, 2021

Samczun claimed in a post that he found and help patch a vulnerability that was threatening over $350 million or 109,000 ETH from a Sushiswap based contract from its MISO platform. The white hacker reviewed the contract after he found there was a new auction taking place on the platform.

MISO uses two types of auctions Duct and batch. While Samczun was reviewing the DutchAuction contract, the white hacker found that functions InitMarket and InitAuction lacked access controls. This was “extremely concerning”.

I didn’t really expect this to be a vulnerability though, since I didn’t expect the Sushi team to make such an obvious misstep. Sure enough, the initAccessControls function validated that the contract had not already been initialized.

Samczun said that the above combined with the use of a mixin library called BoringBatchable by the contract made it more suspicious. The hacker recognized the ingredients that led to an attack on another platform during 2020.

Thus, Samczun was able to identify that SushiSwap was in danger. If exploited, the vulnerability would allow a bad actor to reuse a fixed amount of ETH to batch multiple calls to the contract. This would effectively allow the attacker to “bid in the auction for free”.

While processing token payments involved a separate transferFrom call for each loop iteration, processing ETH payments simply checked whether msg.value was sufficient. This allowed the attacker to reuse the same ETH multiple times.

Fixing A Multi-Million Dollar Bug On SushiSwap

In addition to free bids, a bad actor could steal the funds on the SushiSwap contract by triggering a refund. The attacker would have had only to send a higher amount of ETH than the auction hard cap. Samczun said:

This applied even once the hard cap was hit, meaning that instead of rejecting the transaction altogether, the contract would simply refund all of your ETH instead.

Just minutes after the white hacker discovered the vulnerability, he put set up a “poor man’s mainnet fork on the command line”. Thus, Samczun was able to verify if the contract would allow for the above describe attack.

Once the thesis was verified, the white hacker reported the bug to SushiSwap’s CTO Joseph Delong. He and other members of the protocol’s team coordinated a response to remove the bug. The team and Samczun “rescued” the funds by buying the remaining items. Thus, the auction was finalized.

As pseudonym community member DC Investor said, the fact that the vulnerability was discovered by a white-hat hacker from an investment firm with a high stake on Uniswap, the decentralized exchange competing with SushiSwap, says a lot about the “ethos” of the Ethereum ecosystem. DC said:

Found and helped patch a vulnerability that put over 109k ETH at risk everyone knows Paradigm has big UNI / Uniswap bags, but Sam from their team just helped save SushiSwap (an ostensible competitor) from a critical bug this is the ethos of the space among the best actors.

At the time of writing, SUSHI trades at $12,50 with a 2.4% loss in the daily chart.

SUSHI moving sideways after bug report was published on the daily chart. Source: SUSHIUSDT Tradingview


Credit: Source link

ShareTweetSendPinShare
Previous Post

Spanish Authorities Warn Cryptocurrency Exchanges For Unregistered Services

Next Post

Could Ethereum Rival Microsoft’s Market Cap? Coin Bureau Lists 5 Reasons To Be Bullish on ETH

Next Post
Could Ethereum Rival Microsoft’s Market Cap? Coin Bureau Lists 5 Reasons To Be Bullish on ETH

Could Ethereum Rival Microsoft’s Market Cap? Coin Bureau Lists 5 Reasons To Be Bullish on ETH

You might also like

Scaramucci Blames Trump’s “Grift” for CLARITY Act Delays, But Says Bitcoin Could Hit $100K

Scaramucci Blames Trump’s “Grift” for CLARITY Act Delays, But Says Bitcoin Could Hit $100K

March 6, 2026
Swiss-based Crypto Firms Selects Tezos for Tokenizing Finance Products

Etherlink Hits 70M Transactions as Tezos L2 Expands Developer Tools

March 11, 2026
Bitcoin Spot ETFs See 14-Day Netflows Surge: Demand Returning?

Bitcoin Spot ETFs See 14-Day Netflows Surge: Demand Returning?

March 6, 2026
$HYPE to Hit $150 By August Says Admitted “Hype Man” Arthur Hayes

$HYPE to Hit $150 By August Says Admitted “Hype Man” Arthur Hayes

March 10, 2026
Willy Woo Flags Bitcoin Bull Trap as Bear Market Enters Middle Phase

Willy Woo Flags Bitcoin Bull Trap as Bear Market Enters Middle Phase

March 9, 2026
Crypto Scams Can Trigger iOS Exploits

Crypto Scams Can Trigger iOS Exploits

March 5, 2026
CryptoABC.net

This is an Australian online news/education portal that aims to provide the latest crypto news, real-time updates, education and reviews within Australia and around the world. Feel free to get in touch with us!

What's New Here!

Ripple Buyback Program Values Company at $50 Billion

Ripple Buyback Program Values Company at $50 Billion

March 12, 2026
Is Dogecoin About To Repeat NVIDIA’s Run? Here’s What The Chart Says

Dogecoin (DOGE) Pullback Sparks Tension — Will Support Hold?

March 12, 2026

Subscribe Now

  • Contact Us
  • Privacy Policy
  • Terms of Use
  • DMCA

© 2021 cryptoabc.net - All rights reserved!

No Result
View All Result
  • Live Crypto Prices
  • Crypto News
    • Worldwide
      • Bitcoin
      • Ethereum
      • Altcoin
      • Blockchain
      • Regulation
    • Australian Crypto News
  • Education
    • Cryptocurrency For Beginners
    • Where to Buy Cryptocurrency
    • Where to Store Cryptos
    • Cryptocurrency Tax in Australia 2021

© 2021 cryptoabc.net - All rights reserved!

Welcome Back!

Login to your account below

Forgotten Password?

Create New Account!

Fill the forms below to register

All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In
Please enter CoinGecko Free Api Key to get this plugin works.