• bitcoinBitcoin (BTC) $ 117,959.00
  • bitcoinBitcoin (BTC) $ 117,959.00
  • ethereumEthereum (ETH) $ 3,805.58
  • ethereumEthereum (ETH) $ 3,805.58
  • xrpXRP (XRP) $ 3.13
  • xrpXRP (XRP) $ 3.13
  • tetherTether (USDT) $ 0.999761
  • tetherTether (USDT) $ 0.999761
  • bnbBNB (BNB) $ 809.69
  • bnbBNB (BNB) $ 809.69
  • solanaSolana (SOL) $ 181.80
  • solanaSolana (SOL) $ 181.80
  • usd-coinUSDC (USDC) $ 0.999798
  • usd-coinUSDC (USDC) $ 0.999798
  • staked-etherLido Staked Ether (STETH) $ 3,801.03
  • staked-etherLido Staked Ether (STETH) $ 3,801.03
  • dogecoinDogecoin (DOGE) $ 0.225011
  • dogecoinDogecoin (DOGE) $ 0.225011
  • tronTRON (TRX) $ 0.338798
  • tronTRON (TRX) $ 0.338798
  • cardanoCardano (ADA) $ 0.787380
  • cardanoCardano (ADA) $ 0.787380
  • wrapped-stethWrapped stETH (WSTETH) $ 4,595.70
  • wrapped-stethWrapped stETH (WSTETH) $ 4,595.70
  • wrapped-bitcoinWrapped Bitcoin (WBTC) $ 117,938.00
  • wrapped-bitcoinWrapped Bitcoin (WBTC) $ 117,938.00
  • hyperliquidHyperliquid (HYPE) $ 43.28
  • hyperliquidHyperliquid (HYPE) $ 43.28
  • stellarStellar (XLM) $ 0.422366
  • stellarStellar (XLM) $ 0.422366
  • suiSui (SUI) $ 3.79
  • suiSui (SUI) $ 3.79
  • chainlinkChainlink (LINK) $ 17.88
  • chainlinkChainlink (LINK) $ 17.88
  • wrapped-beacon-ethWrapped Beacon ETH (WBETH) $ 4,067.54
  • wrapped-beacon-ethWrapped Beacon ETH (WBETH) $ 4,067.54
  • bitcoin-cashBitcoin Cash (BCH) $ 570.35
  • bitcoin-cashBitcoin Cash (BCH) $ 570.35
  • hedera-hashgraphHedera (HBAR) $ 0.263745
  • hedera-hashgraphHedera (HBAR) $ 0.263745
  • wrapped-eethWrapped eETH (WEETH) $ 4,077.66
  • wrapped-eethWrapped eETH (WEETH) $ 4,077.66
  • avalanche-2Avalanche (AVAX) $ 24.43
  • avalanche-2Avalanche (AVAX) $ 24.43
  • wethWETH (WETH) $ 3,805.46
  • wethWETH (WETH) $ 3,805.46
  • litecoinLitecoin (LTC) $ 109.23
  • litecoinLitecoin (LTC) $ 109.23
  • leo-tokenLEO Token (LEO) $ 8.96
  • leo-tokenLEO Token (LEO) $ 8.96
  • the-open-networkToncoin (TON) $ 3.35
  • the-open-networkToncoin (TON) $ 3.35
  • ethena-usdeEthena USDe (USDE) $ 1.00
  • ethena-usdeEthena USDe (USDE) $ 1.00
  • shiba-inuShiba Inu (SHIB) $ 0.000013
  • shiba-inuShiba Inu (SHIB) $ 0.000013
  • usdsUSDS (USDS) $ 0.999718
  • usdsUSDS (USDS) $ 0.999718
  • binance-bridged-usdt-bnb-smart-chainBinance Bridged USDT (BNB Smart Chain) (BSC-USD) $ 1.00
  • binance-bridged-usdt-bnb-smart-chainBinance Bridged USDT (BNB Smart Chain) (BSC-USD) $ 1.00
  • coinbase-wrapped-btcCoinbase Wrapped BTC (CBBTC) $ 117,941.00
  • coinbase-wrapped-btcCoinbase Wrapped BTC (CBBTC) $ 117,941.00
  • whitebitWhiteBIT Coin (WBT) $ 44.10
  • whitebitWhiteBIT Coin (WBT) $ 44.10
  • uniswapUniswap (UNI) $ 10.44
  • uniswapUniswap (UNI) $ 10.44
  • polkadotPolkadot (DOT) $ 3.91
  • polkadotPolkadot (DOT) $ 3.91
  • moneroMonero (XMR) $ 316.28
  • moneroMonero (XMR) $ 316.28
  • bitget-tokenBitget Token (BGB) $ 4.55
  • bitget-tokenBitget Token (BGB) $ 4.55
  • pepePepe (PEPE) $ 0.000012
  • pepePepe (PEPE) $ 0.000012
  • crypto-com-chainCronos (CRO) $ 0.144799
  • crypto-com-chainCronos (CRO) $ 0.144799
  • ethena-staked-usdeEthena Staked USDe (SUSDE) $ 1.19
  • ethena-staked-usdeEthena Staked USDe (SUSDE) $ 1.19
  • aaveAave (AAVE) $ 283.41
  • aaveAave (AAVE) $ 283.41
  • daiDai (DAI) $ 0.999854
  • daiDai (DAI) $ 0.999854
  • ethenaEthena (ENA) $ 0.583914
  • ethenaEthena (ENA) $ 0.583914
  • bittensorBittensor (TAO) $ 382.52
  • bittensorBittensor (TAO) $ 382.52
  • nearNEAR Protocol (NEAR) $ 2.72
  • nearNEAR Protocol (NEAR) $ 2.72
  • ethereum-classicEthereum Classic (ETC) $ 21.86
  • ethereum-classicEthereum Classic (ETC) $ 21.86
  • pi-networkPi Network (PI) $ 0.426821
  • pi-networkPi Network (PI) $ 0.426821
  • aptosAptos (APT) $ 4.58
  • aptosAptos (APT) $ 4.58
  • ondo-financeOndo (ONDO) $ 0.956984
  • ondo-financeOndo (ONDO) $ 0.956984
  • internet-computerInternet Computer (ICP) $ 5.46
  • internet-computerInternet Computer (ICP) $ 5.46
  • jito-staked-solJito Staked SOL (JITOSOL) $ 221.89
  • jito-staked-solJito Staked SOL (JITOSOL) $ 221.89
  • okbOKB (OKB) $ 48.04
  • okbOKB (OKB) $ 48.04
  • mantleMantle (MNT) $ 0.768762
  • mantleMantle (MNT) $ 0.768762
  • kaspaKaspa (KAS) $ 0.095914
  • kaspaKaspa (KAS) $ 0.095914
  • blackrock-usd-institutional-digital-liquidity-fundBlackRock USD Institutional Digital Liquidity Fund (BUIDL) $ 1.00
  • blackrock-usd-institutional-digital-liquidity-fundBlackRock USD Institutional Digital Liquidity Fund (BUIDL) $ 1.00
  • pudgy-penguinsPudgy Penguins (PENGU) $ 0.037797
  • pudgy-penguinsPudgy Penguins (PENGU) $ 0.037797
  • binance-peg-wethBinance-Peg WETH (WETH) $ 3,811.99
  • binance-peg-wethBinance-Peg WETH (WETH) $ 3,811.99
  • algorandAlgorand (ALGO) $ 0.261802
  • algorandAlgorand (ALGO) $ 0.261802
  • bonkBonk (BONK) $ 0.000029
  • bonkBonk (BONK) $ 0.000029
  • usd1-wlfiUSD1 (USD1) $ 0.999092
  • usd1-wlfiUSD1 (USD1) $ 0.999092
  • arbitrumArbitrum (ARB) $ 0.423902
  • arbitrumArbitrum (ARB) $ 0.423902
  • vechainVeChain (VET) $ 0.025282
  • vechainVeChain (VET) $ 0.025282
  • cosmosCosmos Hub (ATOM) $ 4.58
  • cosmosCosmos Hub (ATOM) $ 4.58
  • gatechain-tokenGate (GT) $ 17.63
  • gatechain-tokenGate (GT) $ 17.63
  • render-tokenRender (RENDER) $ 3.91
  • render-tokenRender (RENDER) $ 3.91
  • polygon-ecosystem-tokenPOL (ex-MATIC) (POL) $ 0.221807
  • polygon-ecosystem-tokenPOL (ex-MATIC) (POL) $ 0.221807
  • fasttokenFasttoken (FTN) $ 4.58
  • fasttokenFasttoken (FTN) $ 4.58
  • worldcoin-wldWorldcoin (WLD) $ 1.08
  • worldcoin-wldWorldcoin (WLD) $ 1.08
  • official-trumpOfficial Trump (TRUMP) $ 9.50
  • official-trumpOfficial Trump (TRUMP) $ 9.50
  • fetch-aiArtificial Superintelligence Alliance (FET) $ 0.710196
  • fetch-aiArtificial Superintelligence Alliance (FET) $ 0.710196
  • spx6900SPX6900 (SPX) $ 1.99
  • spx6900SPX6900 (SPX) $ 1.99
  • sei-networkSei (SEI) $ 0.318326
  • sei-networkSei (SEI) $ 0.318326
  • skySky (SKY) $ 0.086159
  • skySky (SKY) $ 0.086159
  • binance-staked-solBinance Staked SOL (BNSOL) $ 193.81
  • binance-staked-solBinance Staked SOL (BNSOL) $ 193.81
  • susdssUSDS (SUSDS) $ 1.06
  • susdssUSDS (SUSDS) $ 1.06
  • rocket-pool-ethRocket Pool ETH (RETH) $ 4,339.35
  • rocket-pool-ethRocket Pool ETH (RETH) $ 4,339.35
  • filecoinFilecoin (FIL) $ 2.57
  • filecoinFilecoin (FIL) $ 2.57
  • quant-networkQuant (QNT) $ 120.92
  • quant-networkQuant (QNT) $ 120.92
  • flare-networksFlare (FLR) $ 0.024676
  • flare-networksFlare (FLR) $ 0.024676
  • kelp-dao-restaked-ethKelp DAO Restaked ETH (RSETH) $ 3,990.64
  • kelp-dao-restaked-ethKelp DAO Restaked ETH (RSETH) $ 3,990.64
  • story-2Story (IP) $ 5.69
  • story-2Story (IP) $ 5.69
  • lombard-staked-btcLombard Staked BTC (LBTC) $ 117,723.00
  • lombard-staked-btcLombard Staked BTC (LBTC) $ 117,723.00
  • jupiter-perpetuals-liquidity-provider-tokenJupiter Perpetuals Liquidity Provider Token (JLP) $ 5.06
  • jupiter-perpetuals-liquidity-provider-tokenJupiter Perpetuals Liquidity Provider Token (JLP) $ 5.06
  • xdce-crowd-saleXDC Network (XDC) $ 0.099798
  • xdce-crowd-saleXDC Network (XDC) $ 0.099798
  • jupiter-exchange-solanaJupiter (JUP) $ 0.537761
  • jupiter-exchange-solanaJupiter (JUP) $ 0.537761
  • kucoin-sharesKuCoin (KCS) $ 11.35
  • kucoin-sharesKuCoin (KCS) $ 11.35
  • usdtbUSDtb (USDTB) $ 0.999525
  • usdtbUSDtb (USDTB) $ 0.999525
  • stakewise-v3-osethStakeWise Staked ETH (OSETH) $ 4,022.09
  • stakewise-v3-osethStakeWise Staked ETH (OSETH) $ 4,022.09
  • mantle-staked-etherMantle Staked Ether (METH) $ 4,071.00
  • mantle-staked-etherMantle Staked Ether (METH) $ 4,071.00
  • liquid-staked-ethereumLiquid Staked ETH (LSETH) $ 4,107.41
  • liquid-staked-ethereumLiquid Staked ETH (LSETH) $ 4,107.41
  • injective-protocolInjective (INJ) $ 14.10
  • injective-protocolInjective (INJ) $ 14.10
  • curve-dao-tokenCurve DAO (CRV) $ 0.990693
  • curve-dao-tokenCurve DAO (CRV) $ 0.990693
  • usdt0USDT0 (USDT0) $ 1.00
  • usdt0USDT0 (USDT0) $ 1.00
  • celestiaCelestia (TIA) $ 1.85
  • celestiaCelestia (TIA) $ 1.85
  • first-digital-usdFirst Digital USD (FDUSD) $ 0.996710
  • first-digital-usdFirst Digital USD (FDUSD) $ 0.996710
  • nexoNEXO (NEXO) $ 1.32
  • nexoNEXO (NEXO) $ 1.32
  • optimismOptimism (OP) $ 0.720305
  • optimismOptimism (OP) $ 0.720305
  • renzo-restaked-ethRenzo Restaked ETH (EZETH) $ 4,005.80
  • renzo-restaked-ethRenzo Restaked ETH (EZETH) $ 4,005.80
  • blockstackStacks (STX) $ 0.776919
  • blockstackStacks (STX) $ 0.776919
  • polygon-bridged-usdt-polygonPolygon Bridged USDT (Polygon) (USDT) $ 0.999549
  • polygon-bridged-usdt-polygonPolygon Bridged USDT (Polygon) (USDT) $ 0.999549
  • falcon-financeFalcon USD (USDF) $ 0.999534
  • falcon-financeFalcon USD (USDF) $ 0.999534

SuperRare $730,000 exploit was easily preventable — Experts weigh in

0 4

SuperRare $730,000 exploit was easily preventable — Experts weigh in

NFT trading platform SuperRare suffered a $730,000 exploit on Monday due to a basic smart contract bug that experts say could have easily been prevented with standard testing practices.

SuperRare’s (RARE) staking contract was exploited on Monday with around $731,000 worth of RARE tokens stolen, according to crypto cybersecurity firm Cyvers.

The vulnerability stems from a function meant to allow only specific addresses to modify the Merkle root, a critical data structure that determines user staking balances. However, the logic was mistakenly written to allow any address to interact with the function.

0xAw, lead developer at Base decentralized exchange Alien Base, pointed out that the mistake in question was obvious enough to be caught by ChatGPT. Cointelegraph independently verified that OpenAI’s o3 model successfully identified the flaw when tested.

SuperRare $730,000 exploit was easily preventable — Experts weigh in

Relevant code in the SuperRare token staking contract. Source: Cointelegraph

“ChatGPT would’ve caught this, any half competent Solidity dev would’ve caught this. Basically anyone, if they looked. Most likely nobody did,” 0xAw told Cointelegraph.

SuperRare co-founder Jonathan Perkins told Cointelegraph that no core protocol funds were lost, and affected users will be made whole. He said that it appears that 61 wallets are affected.

“We’ve learned from it, and now future changes will go through a much more robust review pipeline,“ he said.

Related: Crypto hacks surpass $3.1B in 2025 as access flaws persist: Hacken

Anatomy of a vulnerability

To determine whether changing the Merkle root should be allowed, the smart contract checked if the interacting address was not a specific address or the contract’s owner. This is the opposite logic to what was intended to be enforced, allowing anyone to siphon the staked RARE out of the contract.

SuperRare $730,000 exploit was easily preventable — Experts weigh in

The line containing the relevant check. Source: Cointelegraph

A senior engineer at crypto insurance firm Nexus Mutual told Cointelegraph that “unit tests would have caught this mistake.”

Mike Tiutin, blockchain architect and chief technology officer at firm AMLBot, said, “It’s a silly mistake of the developer that was not covered by tests (that’s why full coverage is important).”

AMLBot CEO Slava Demchuk also came to the same conclusion, noting that “there was no extensive testing (or a bug bounty program) that could have found it pre-deployment.” He highlighted the importance of testing, noting that it is a “classic example why smart contract logic must be rigorously audited.” He added:

“This stands as a stark reminder: in decentralized systems, even a one-character mistake can have severe consequences.”

While Perkins insisted the contracts were audited and unit-tested, he acknowledged that the bug was introduced late in the process and wasn’t covered in final test scenarios:

“It’s a painful reminder of how even small changes in complex systems can have unintended consequences.“

Related: Indian crypto exchange CoinDCX hacked, $44M drained

The importance of unit testing

Unit tests are small, automated tests that check whether individual parts (“units”) of a program — typically functions or methods — work as expected. Each test targets a specific behavior or output based on a given input, helping to catch bugs early.

In this case, the tests that verify whether addresses can or cannot call the function to modify the Merkle root would have failed.

“By oversight or inadequate testing, the effect was the same: an avoidable vulnerability that cost massively,“ Demchuk told Cointelegraph.

0xAw similarly said that “the problem was, of course, the apparently complete lack of testing.” He said that “it’s not even a kind of code that works well in normal conditions, and fails if you push it in the right places.”

“This code just does the opposite of what you expect,“ he added.

Perkins told Cointelegraph that moving forward, SuperRare has introduced new workflows that mandate re-audits for any post-audit changes, no matter how minor.

Most vulnerabilities are oversights

0xAw said that the mistake is “a normal human error.” Instead, what he views as a “monumental mistake” is that it “made it to production and stayed there.”

0xAw highlighted that the vast majority of serious vulnerabilities originate from “really stupid and easily preventable mistakes.” Still, he admitted that “they’re usually a bit harder to notice than this.”

Hacken’s head of incident response, Yehor Rudytsia, agreed that thorough test coverage would have caught the flaw.

“If reviewing this function, it’s a pretty obvious bug,” he said.

Magazine: North Korea crypto hackers tap ChatGPT, Malaysia road money siphoned: Asia Express

Source

Leave A Reply

Your email address will not be published.

Verified by MonsterInsights