NewsBTC
No Result
View All Result
  • Cryptocurrency News
    • Bitcoin News (BTC)
    • Ethereum News (ETH)
    • Ripple News (XRP)
    • Shiba Inu News (SHIB)
    • Cardano News (ADA)
    • Dogecoin News (DOGE)
    • Solana News (SOL)
    • Litecoin News (LTC)
    • Avalanche News (AVAX)
    • Polygon News (MATIC)
  • Crypto Prices
    • Binance Coin (BNB) Price
    • Bitcoin (BTC) Price
    • Cardano (ADA) Price
    • Chainlink (LINK) Price
    • Dogecoin (DOGE) Price
    • Ethereum (ETH) Price
    • Litecoin (LTC) Price
    • Polkadot (DOT) Price
  • Crypto Resources & Directory
  • All Crypto
  • Play GamesTry
  • CasinosTry
Breaking News: Coinbase Confirms DOJ Investigation Following Major Security Incident
  • Cryptocurrency News
    • Bitcoin News (BTC)
    • Ethereum News (ETH)
    • Ripple News (XRP)
    • Shiba Inu News (SHIB)
    • Cardano News (ADA)
    • Dogecoin News (DOGE)
    • Solana News (SOL)
    • Litecoin News (LTC)
    • Avalanche News (AVAX)
    • Polygon News (MATIC)
  • Crypto Prices
    • Binance Coin (BNB) Price
    • Bitcoin (BTC) Price
    • Cardano (ADA) Price
    • Chainlink (LINK) Price
    • Dogecoin (DOGE) Price
    • Ethereum (ETH) Price
    • Litecoin (LTC) Price
    • Polkadot (DOT) Price
  • Crypto Resources & Directory
  • All Crypto
  • Play GamesTry
  • CasinosTry
Bitcoin News
No Result
View All Result
Breaking News: Coinbase Confirms DOJ Investigation Following Major Security Incident

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

Reynaldo Marquez
Reynaldo Marquez
3 years ago
3 mins read
SUSHI

Reason to trust

Strict editorial policy that focuses on accuracy, relevance, and impartiality
Created by industry experts and meticulously reviewed
The highest standards in reporting and publishing
How Our News is Made

Strict editorial policy that focuses on accuracy, relevance, and impartiality

Ad discliamer

Morbi pretium leo et nisl aliquam mollis. Quisque arcu lorem, ultricies quis pellentesque nec, ullamcorper eu odio.

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.

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

Reynaldo Marquez

A literature major, Reynaldo Márquez has been deeply immersed in the crypto industry since 2017. His journey began with translating articles for various crypto news outlets, a role he took on with zeal. In 2018, amidst a challenging market, he embraced his first writing assignment, demonstrating his unwavering commitment to the nascent industry and the promise of change it bears for many people worldwide.
In March 2021, he joined the prestigious crypto news outlet NewsBTC and Bitcoinist, where he not only reported on the latest crypto news but also had the privilege of interviewing some of the industry's most influential figures. A year later, his dedication and hard work were recognized, and he was promoted to Managing Editor, a position he currently holds with pride.
He believes in honesty, good communication, hard work, and the power of cryptocurrency and its potential to transform people's lives, especially those alienated by the legacy financial system. Born in 1992 in Venezuela, Reynaldo is familiar with how governments and central banks can negatively affect people, their everyday lives, and their futures by creating inflation and erasing their hopes for a better future. Thus, like many Venezuelans, he embraced this new technology to help him and his family navigate difficult times.
In another life, Reynaldo would have pursued a career as an investigator, most likely tracking down the origins of the Cyberpunk movement with the publication of William Gibson’s ‘Neuromancer.’ The intersection between fiction and reality, with the materialization of Bitcoin in 2009, would have allowed him to dive deep into the crypto sphere as something more than a financial phenomenon but also a cultural shift in society that was brewing since the XX century, and maybe even sooner, in the XIX century with the publication of Henry David Thoreau’s ‘Civil Disobedience.’
But that’s for another life. In this one, Reynaldo has been trading to improve his trading skills. Since 2023, he has been trying to learn Python to create successful strategies and find ways to execute them. It is a difficult task, which continues to keep him busy today and will most likely continue to keep him busy in the near and long term.
In his free time, he enjoys lifting heavy objects, reading, watching movies, and listening to his favorite music. Some of his favorite authors are Walt Whitman, William Faulkner, Allen Ginsberg, James Baldwin, Raymond Carver, Ray Bradbury, George Orwell, Mario Vargas Llosa, Reinaldo Arenas, Rafael Cadenas, and many others. Lately, he has been primarily interested in reading about dystopic societies, a topic that deeply resonates with the crypto industry.
Since 2023, he has lived in Spain with his wife. He loves the weather, the food, and the people and their culture. They both expect to travel much more within the country they now call home and beyond its border. He hopes to retire with his wife, maybe in a quiet place near a beach, but most likely in a city close to a library and a university with his kids and, hopefully, grandkids.

Disclaimer: The information found on NewsBTC is for educational purposes only. It does not represent the opinions of NewsBTC on whether to buy, sell or hold any investments and naturally investing carries risks. You are advised to conduct your own research before making any investment decisions. Use information provided on this website entirely at your own risk.

Related News

Rocket Pool Stands To Reap Big From Ethereum’s Dencun Upgrade, RPL Flying

The Ethereum liquidity staking protocol Rocket Pool is on the brink of a massive transformation with the incoming Dencun upgrade....

Dalmas Ngetich 1 year ago
dYdX token unlock

dYdX to Unlock Over 33 Million Tokens: Will Price Crash?

dYdX, a decentralized exchange (DEX), will unlock over 33 million DYDX worth approximately $90 million on February 1. This significant token unlock...

Dalmas Ngetich 1 year ago
DeFi and Web3 wallets crypto

What Are The Top 8 DeFi And Web3 Wallets To Use In Crypto?

In this article, we will explore the finest Web3 and DeFi wallets that offer substantial advantages to crypto users. While...

Scott Matherson 1 year ago
Load More

Reason to trust

Strict editorial policy that focuses on accuracy, relevance, and impartiality
Created by industry experts and meticulously reviewed
The highest standards in reporting and publishing
How Our News is Made

Strict editorial policy that focuses on accuracy, relevance, and impartiality

Ad discliamer

Morbi pretium leo et nisl aliquam mollis. Quisque arcu lorem, ultricies quis pellentesque nec, ullamcorper eu odio.

Related News

BNB

BNB Chain Reports 58% Revenue Surge In Q1, Driven By Increased On-Chain Activity

Ronaldo Marquez 3 weeks ago
DeFi

DeFi Exploits Plunge 40% In 2024, But Centralized Exchange Losses Soar – Report

Ash Tiwari 4 months ago
Aave

Liquidation Alert As High-Risk Loans On Aave Reach $1 Billion – Details

Semilore Faleti 11 months ago

Premium Sponsors

Top Brands

Press Releases

  • Roam Announced the Upcoming Premium eSIM: A Revolutionary...

    7 hours ago
  • 2025 Discover the Secrets of XRP Passive Income: How to...

    15 hours ago
  • As XRP futures face market uncertainty, investors turn to...

    17 hours ago
  • Ethereum price surges, a whale increases holdings and earns...

    22 hours ago
  • How can global XRP, BTC, and DOGE holders turn their idle...

    1 day ago

Newsletter

Be the first to get the latest important crypto news & events to your inbox.

  • This field is for validation purposes and should be left unchanged.

About Us

NewsBTC is a cryptocurrency news service that covers bitcoin news today, technical analysis & forecasts for bitcoin price and other altcoins. Here at NewsBTC, we are dedicated to enlightening everyone about bitcoin and other cryptocurrencies.

We cover BTC news related to bitcoin exchanges, bitcoin mining and price forecasts for various cryptocurrencies.

Disclaimer: The information found on NewsBTC is for educational purposes only. It does not represent the opinions of NewsBTC on whether to buy, sell or hold any investments and naturally investing carries risks. You are advised to conduct your own research before making any investment decisions. Use information provided on this website entirely at your own risk.

Company

  • About Us
  • Advertising
  • Contact Us
  • Privacy Center

Social

© 2025 NewsBTC. All Rights Reserved.

  • Cryptocurrency News
    • Bitcoin News (BTC)
    • Ethereum News (ETH)
    • Ripple News (XRP)
    • Shiba Inu News (SHIB)
    • Cardano News (ADA)
    • Dogecoin News (DOGE)
    • Solana News (SOL)
    • Litecoin News (LTC)
    • Avalanche News (AVAX)
    • Polygon News (MATIC)
  • Crypto Prices
    • Binance Coin (BNB) Price
    • Bitcoin (BTC) Price
    • Cardano (ADA) Price
    • Chainlink (LINK) Price
    • Dogecoin (DOGE) Price
    • Ethereum (ETH) Price
    • Litecoin (LTC) Price
    • Polkadot (DOT) Price
  • Crypto Resources & Directory
  • All Crypto
  • Play Games
  • Casinos
Advertise

© 2025 NewsBTC. All Rights Reserved.

This website uses cookies. By continuing to use this website you are giving consent to cookies being used. Visit our Privacy Center or Cookie Policy.