• bitcoinBitcoin (BTC) $ 73,985.00
  • ethereumEthereum (ETH) $ 2,321.40
  • tetherTether (USDT) $ 1.00
  • bnbBNB (BNB) $ 615.54
  • xrpXRP (XRP) $ 1.35
  • usd-coinUSDC (USDC) $ 0.999749
  • solanaSolana (SOL) $ 83.07
  • tronTRON (TRX) $ 0.322290
  • staked-etherLido Staked Ether (STETH) $ 2,265.05
  • figure-helocFigure Heloc (FIGR_HELOC) $ 1.03
  • dogecoinDogecoin (DOGE) $ 0.092975
  • whitebitWhiteBIT Coin (WBT) $ 54.30
  • usdsUSDS (USDS) $ 0.999680
  • hyperliquidHyperliquid (HYPE) $ 43.51
  • leo-tokenLEO Token (LEO) $ 10.14
  • wrapped-stethWrapped stETH (WSTETH) $ 2,779.67
  • cardanoCardano (ADA) $ 0.239969
  • bitcoin-cashBitcoin Cash (BCH) $ 434.50
  • wrapped-bitcoinWrapped Bitcoin (WBTC) $ 76,243.00
  • chainlinkChainlink (LINK) $ 9.06
  • binance-bridged-usdt-bnb-smart-chainBinance Bridged USDT (BNB Smart Chain) (BSC-USD) $ 0.998762
  • moneroMonero (XMR) $ 340.38
  • wrapped-beacon-ethWrapped Beacon ETH (WBETH) $ 2,466.93
  • zcashZcash (ZEC) $ 358.63
  • ethena-usdeEthena USDe (USDE) $ 0.999830
  • canton-networkCanton (CC) $ 0.149309
  • wrapped-eethWrapped eETH (WEETH) $ 2,465.31
  • stellarStellar (XLM) $ 0.156012
  • memecoreMemeCore (M) $ 2.89
  • susdssUSDS (SUSDS) $ 1.08
  • daiDai (DAI) $ 0.999298
  • litecoinLitecoin (LTC) $ 54.22
  • paypal-usdPayPal USD (PYUSD) $ 0.999812
  • coinbase-wrapped-btcCoinbase Wrapped BTC (CBBTC) $ 76,366.00
  • usd1-wlfiUSD1 (USD1) $ 0.999139
  • avalanche-2Avalanche (AVAX) $ 9.32
  • rainRain (RAIN) $ 0.008002
  • wethWETH (WETH) $ 2,268.37
  • hedera-hashgraphHedera (HBAR) $ 0.085495
  • suiSui (SUI) $ 0.936307
  • ravedaoRaveDAO (RAVE) $ 14.12
  • usdt0USDT0 (USDT0) $ 0.998824
  • shiba-inuShiba Inu (SHIB) $ 0.000006
  • the-open-networkToncoin (TON) $ 1.36
  • crypto-com-chainCronos (CRO) $ 0.068582
  • hashnote-usycCircle USYC (USYC) $ 1.12
  • tether-goldTether Gold (XAUT) $ 4,776.99
  • world-liberty-financialWorld Liberty Financial (WLFI) $ 0.079717
  • blackrock-usd-institutional-digital-liquidity-fundBlackRock USD Institutional Digital Liquidity Fund (BUIDL) $ 1.00
  • ethena-staked-usdeEthena Staked USDe (SUSDE) $ 1.22
  • pax-goldPAX Gold (PAXG) $ 4,790.62
  • bittensorBittensor (TAO) $ 248.35
  • global-dollarGlobal Dollar (USDG) $ 0.999709
  • mantleMantle (MNT) $ 0.654531
  • uniswapUniswap (UNI) $ 3.15
  • polkadotPolkadot (DOT) $ 1.15
  • falcon-financeFalcon USD (USDF) $ 0.998326
  • okbOKB (OKB) $ 84.67
  • nearNEAR Protocol (NEAR) $ 1.35
  • skySky (SKY) $ 0.074326
  • little-pepe-5Little Pepe (LILPEPE) $ 2.16
  • pi-networkPi Network (PI) $ 0.167119
  • htx-daoHTX DAO (HTX) $ 0.000002
  • syrupusdcsyrupUSDC (SYRUPUSDC) $ 1.15
  • aster-2Aster (ASTER) $ 0.661378
  • usddUSDD (USDD) $ 1.00
  • aaveAave (AAVE) $ 100.60
  • pepePepe (PEPE) $ 0.000004
  • ripple-usdRipple USD (RLUSD) $ 0.999896
  • janus-henderson-anemoy-treasury-fundJanus Henderson Anemoy Treasury Fund (JTRSY) $ 1.10
  • ondo-us-dollar-yieldOndo US Dollar Yield (USDY) $ 1.12
  • internet-computerInternet Computer (ICP) $ 2.42
  • bitget-tokenBitget Token (BGB) $ 1.90
  • bfusdBFUSD (BFUSD) $ 0.999551
  • ethereum-classicEthereum Classic (ETC) $ 8.31
  • ondo-financeOndo (ONDO) $ 0.251189
  • kucoin-sharesKuCoin (KCS) $ 8.46
  • gatechain-tokenGate (GT) $ 6.97
  • jupiter-perpetuals-liquidity-provider-tokenJupiter Perpetuals Liquidity Provider Token (JLP) $ 4.00
  • pump-funPump.fun (PUMP) $ 0.001832
  • quant-networkQuant (QNT) $ 73.59
  • algorandAlgorand (ALGO) $ 0.113008
  • worldcoin-wldWorldcoin (WLD) $ 0.295106
  • render-tokenRender (RENDER) $ 1.86
  • jito-staked-solJito Staked SOL (JITOSOL) $ 124.46
  • morphoMorpho (MORPHO) $ 1.73
  • eutblSpiko EU T-Bills Money Market Fund (EUTBL) $ 1.24
  • kelp-dao-restaked-ethKelp DAO Restaked ETH (RSETH) $ 2,404.69
  • polygon-ecosystem-tokenPOL (ex-MATIC) (POL) $ 0.084233
  • nexoNEXO (NEXO) $ 0.892234
  • binance-peg-wethBinance-Peg WETH (WETH) $ 2,262.26
  • kaspaKaspa (KAS) $ 0.032327
  • rocket-pool-ethRocket Pool ETH (RETH) $ 2,631.35
  • cosmosCosmos Hub (ATOM) $ 1.74
  • usdtbUSDtb (USDTB) $ 1.00
  • binance-bridged-usdc-bnb-smart-chainBinance Bridged USDC (BNB Smart Chain) (USDC) $ 0.999945
  • ethenaEthena (ENA) $ 0.095822
  • superstate-short-duration-us-government-securities-fund-ustbSuperstate Short Duration U.S. Government Securities Fund (USTB) (USTB) $ 11.05
  • wbnbWrapped BNB (WBNB) $ 759.61
  • blockchain-capitalBlockchain Capital (BCAP) $ 82.76
  • ignition-fbtcFunction FBTC (FBTC) $ 76,389.00
  • aptosAptos (APT) $ 0.861831
  • filecoinFilecoin (FIL) $ 0.892953
  • justJUST (JST) $ 0.077442
  • flare-networksFlare (FLR) $ 0.007969
  • arbitrumArbitrum (ARB) $ 0.112398
  • syrupusdtsyrupUSDT (SYRUPUSDT) $ 1.11
  • official-trumpOfficial Trump (TRUMP) $ 2.82
  • hash-2Provenance Blockchain (HASH) $ 0.011036
  • beldexBeldex (BDX) $ 0.080033
  • binance-staked-solBinance Staked SOL (BNSOL) $ 108.24
  • xdce-crowd-saleXDC Network (XDC) $ 0.030320
  • midnight-3Midnight (NIGHT) $ 0.036183
  • ousgOUSG (OUSG) $ 114.92
  • vechainVeChain (VET) $ 0.006929
  • jupiter-exchange-solanaJupiter (JUP) $ 0.165444
  • ghoGHO (GHO) $ 0.999496
  • new-x-ceo-is-backNEW X CEO IS BACK (XFLOKI) $ 0.506041
  • bridged-usdc-polygon-pos-bridgePolygon Bridged USDC (Polygon PoS) (USDC.E) $ 0.999720
  • yldsYLDS (YLDS) $ 0.999815
  • solv-btcSolv Protocol BTC (SOLVBTC) $ 76,461.00
  • stable-2​​Stable (STABLE) $ 0.025831
  • lombard-staked-btcLombard Staked BTC (LBTC) $ 76,491.00
  • dexeDeXe (DEXE) $ 12.04
  • usual-usdUsual USD (USD0) $ 0.998019
  • pancakeswap-tokenPancakeSwap (CAKE) $ 1.60
  • clbtcclBTC (CLBTC) $ 76,920.00
  • bonkBonk (BONK) $ 0.000006
  • fetch-aiArtificial Superintelligence Alliance (FET) $ 0.225430
  • a7a5A7A5 (A7A5) $ 0.012714
  • true-usdTrueUSD (TUSD) $ 0.999568
  • siren-2Siren (SIREN) $ 0.676730
  • dashDash (DASH) $ 38.62
  • stakewise-v3-osethStakeWise Staked ETH (OSETH) $ 2,419.84
  • layerzeroLayerZero (ZRO) $ 1.91
  • virtual-protocolVirtuals Protocol (VIRTUAL) $ 0.671184
  • kinetic-staked-hypeKinetiq Staked HYPE (KHYPE) $ 33.97
  • adi-tokenADI (ADI) $ 4.22
  • tbtctBTC (TBTC) $ 70,942.00
  • pudgy-penguinsPudgy Penguins (PENGU) $ 0.006918
  • wrappedm-by-m0WrappedM by M0 (WM) $ 1.00
  • euro-coinEURC (EURC) $ 1.18
  • blockstackStacks (STX) $ 0.221495
  • first-digital-usdFirst Digital USD (FDUSD) $ 0.999756
  • janus-henderson-anemoy-aaa-clo-fundJanus Henderson Anemoy AAA CLO Fund (JAAA) $ 1.03
  • monadMonad (MON) $ 0.033702
  • venice-tokenVenice Token (VVV) $ 8.64
  • c8ntinuumc8ntinuum (CTM) $ 0.087592
  • chilizChiliz (CHZ) $ 0.037094
  • mantle-staked-etherMantle Staked Ether (METH) $ 2,455.82
  • tezosTezos (XTZ) $ 0.345770
  • usxUSX (USX) $ 0.999801
  • polygon-pos-bridged-dai-polygon-posPolygon PoS Bridged DAI (Polygon POS) (DAI) $ 0.999983
  • decredDecred (DCR) $ 21.09
  • resolv-wstusrResolv wstUSR (WSTUSR) $ 1.13
  • sei-networkSei (SEI) $ 0.053940
  • cocaCOCA (COCA) $ 1.30
  • kinesis-goldKinesis Gold (KAU) $ 148.92
  • hastra-primePRIME (PRIME) $ 1.03
  • sun-tokenSun Token (SUN) $ 0.018033
  • doge-strategyDoge Strategy (DOGESTR) $ 0.288297
  • liquid-staked-ethereumLiquid Staked ETH (LSETH) $ 2,406.26
  • edgexedgeX (EDGE) $ 0.980112
  • arbitrum-bridged-wbtc-arbitrum-oneArbitrum Bridged WBTC (Arbitrum One) (WBTC) $ 76,200.00
  • aerodrome-financeAerodrome Finance (AERO) $ 0.365531
  • ether-fiEther.fi (ETHFI) $ 0.425851
  • apenftAINFT (NFT) $ 0.00000033
  • curve-dao-tokenCurve DAO (CRV) $ 0.218280
  • wrapped-flareWrapped Flare (WFLR) $ 0.009961
  • bittorrentBitTorrent (BTT) $ 0.00000032
  • l2-standard-bridged-weth-baseL2 Standard Bridged WETH (Base) (WETH) $ 2,266.86
  • gnosisGnosis (GNO) $ 117.46
  • steakhouse-usdc-morpho-vaultSteakhouse USDC Morpho Vault (STEAKUSDC) $ 1.12
  • plasmaPlasma (XPL) $ 0.129910
  • bitcoin-svBitcoin SV (BSV) $ 15.24
  • injective-protocolInjective (INJ) $ 3.01
  • lido-daoLido DAO (LDO) $ 0.352503
  • usdaiUSDai (USDAI) $ 0.999784
  • binance-peg-xrpBinance-Peg XRP (XRP) $ 1.59
  • spx6900SPX6900 (SPX) $ 0.319384
  • ether-fi-liquid-ethEther.Fi Liquid ETH (LIQUIDETH) $ 2,443.47
  • kinesis-silverKinesis Silver (KAG) $ 77.93
  • renzo-restaked-ethRenzo Restaked ETH (EZETH) $ 2,421.84
  • bianrensheng币安人生 (BinanceLife) (币安人生) $ 0.286194
  • celestiaCelestia (TIA) $ 0.311090
  • noonNoon (NOON) $ 0.751949
  • sbtc-2sBTC (SBTC) $ 77,039.00
  • crvusdcrvUSD (CRVUSD) $ 0.999452
  • doublezeroDoubleZero (2Z) $ 0.080428
  • conflux-tokenConflux (CFX) $ 0.053778
  • jupiter-staked-solJupiter Staked SOL (JUPSOL) $ 115.56
  • fraxLegacy Frax Dollar (FRAX) $ 0.993420
  • savings-usddSavings USDD (SUSDD) $ 1.03
  • kaiaKaia (KAIA) $ 0.046403
  • flokiFLOKI (FLOKI) $ 0.000028
  • ape-and-pepeApe and Pepe (APEPE) $ 0.000001
  • msolMarinade Staked SOL (MSOL) $ 133.18
  • official-foOfficial FO (FO) $ 0.263105
  • arbitrum-bridged-weth-arbitrum-oneArbitrum Bridged WETH (Arbitrum One) (WETH) $ 2,265.06
  • jasmycoinJasmyCoin (JASMY) $ 0.005252

Onyx Protocol Loses $3.8 Million in Preventable Hack

0 136

Onyx Protocol Loses $3.8 Million in Preventable Hack

Onyx Protocol, a Compound Finance fork, suffered a $3.8 million loss on Thursday to mark another entry in a series of attacks as bad actors explore system vulnerability.

Cyber-attacks continue to plague the crypto industry, highlighting the need for enhanced security.

$3.8 Million Hack Hits Onyx Protocol

Blockchain security firm PeckShield highlighted suspicious transactions on OnyxDAO, drawing attention to a possible attack on the protocol. In a follow-up post, the on-chain detective revealed losses reaching $3.8 million, indicating that the hacker was already swapping the funds.

Onyx Protocol Loses $3.8 Million in Preventable Hack

Onyx Protocol Hack. Source: PeckShield

Web3 security firm Cyvers corroborated the incident, citing suspicious transactions involving OnyxDAO on the Ethereum blockchain. According to Cyvers, most of the loss was in VUSD stablecoin.

“Our system has detected a suspicious transaction involving OnyxDAO on the ETH chain! The total loss is around $3.2 million [at the time]. Most of the losses are in VUSD. Attacker currently holds 521 ETH ($1.36 million). The rest of the digital assets are not swapped yet,” Cyvers wrote.

Additional investigations by PeckShield revealed that the attacker capitalized on a known precision issue presented as a bug in the forked Compound V2 code base. They then siphoned 4.1 million VUSD, 7.35 million XCN, 5,000 DAI, 0.23 WBTC, and 50,000 USDT. Reportedly, the bug leveraged a nearly empty market to manipulate the exchange rate.

Notably, hackers used the same approach in October 2023, hacking the same protocol for $2.1 million. In the October incident, the vulnerability was a rounding error. At the time, researchers ascribed the vulnerability to Onyx Protocol being a fork of Compound Finance.

How the Code Vulnerability Occurs

With many DeFi protocols being open-source, developers tend to avoid the long approach. They opt to build off of an existing code as opposed to implementing functionality from scratch.

The approach is considered popular as it can improve efficiency and security when done correctly. The downside is that if the template code is not secure, the fork may inherit the vulnerabilities.

“In the case of the Onyx protocol, the Compound Finance code that it used had a known vulnerability that had already been exploited in Hundred Finance and Midas Capital, which also forked the Compound Finance code. However, the Onyx Protocol used the same code and lacked the community support and vigilance needed to prevent the vulnerability from being exploited,” security firm Halborn reported.

This means the Onyx Protocol hack could have been prevented, given the prevalence of rounding errors. Notably, guidance already exists when launching new markets on Compound Finance and its forks.

“At Hexagate, we recommend any Compound V2 fork, when launching new markets to mint some cTokens and burn them to make sure the total supply never goes to zero. When the total supply goes to zero, the protocol becomes vulnerable and this strategy mitigates this situation,” security firm Hexgate guided in April 2023.

These incidences, including a $4.6 million attack on decentralized infrastructure Truflation on Wednesday, reflect the prevalent challenge in the crypto industry, where bad actors use different mechanisms to steal digital assets.

Source

Leave A Reply

Your email address will not be published.