• bitcoinBitcoin (BTC) $ 67,683.00
  • ethereumEthereum (ETH) $ 2,037.90
  • tetherTether (USDT) $ 0.999990
  • xrpXRP (XRP) $ 1.41
  • bnbBNB (BNB) $ 630.46
  • usd-coinUSDC (USDC) $ 0.999821
  • solanaSolana (SOL) $ 87.27
  • tronTRON (TRX) $ 0.285161
  • staked-etherLido Staked Ether (STETH) $ 2,265.05
  • dogecoinDogecoin (DOGE) $ 0.098742
  • figure-helocFigure Heloc (FIGR_HELOC) $ 1.02
  • cardanoCardano (ADA) $ 0.293175
  • whitebitWhiteBIT Coin (WBT) $ 50.48
  • usdsUSDS (USDS) $ 1.00
  • bitcoin-cashBitcoin Cash (BCH) $ 482.85
  • wrapped-stethWrapped stETH (WSTETH) $ 2,779.67
  • leo-tokenLEO Token (LEO) $ 8.79
  • hyperliquidHyperliquid (HYPE) $ 29.03
  • wrapped-bitcoinWrapped Bitcoin (WBTC) $ 76,243.00
  • canton-networkCanton (CC) $ 0.175180
  • binance-bridged-usdt-bnb-smart-chainBinance Bridged USDT (BNB Smart Chain) (BSC-USD) $ 0.998762
  • moneroMonero (XMR) $ 352.45
  • wrapped-beacon-ethWrapped Beacon ETH (WBETH) $ 2,466.93
  • chainlinkChainlink (LINK) $ 9.18
  • ethena-usdeEthena USDe (USDE) $ 0.999250
  • stellarStellar (XLM) $ 0.164883
  • wrapped-eethWrapped eETH (WEETH) $ 2,465.31
  • usd1-wlfiUSD1 (USD1) $ 0.999933
  • rainRain (RAIN) $ 0.009373
  • hedera-hashgraphHedera (HBAR) $ 0.104145
  • susdssUSDS (SUSDS) $ 1.08
  • litecoinLitecoin (LTC) $ 55.93
  • daiDai (DAI) $ 0.999904
  • coinbase-wrapped-btcCoinbase Wrapped BTC (CBBTC) $ 76,366.00
  • paypal-usdPayPal USD (PYUSD) $ 1.00
  • avalanche-2Avalanche (AVAX) $ 9.43
  • zcashZcash (ZEC) $ 240.92
  • wethWETH (WETH) $ 2,268.37
  • suiSui (SUI) $ 0.950460
  • shiba-inuShiba Inu (SHIB) $ 0.000006
  • crypto-com-chainCronos (CRO) $ 0.078146
  • usdt0USDT0 (USDT0) $ 0.998824
  • world-liberty-financialWorld Liberty Financial (WLFI) $ 0.115802
  • the-open-networkToncoin (TON) $ 1.30
  • tether-goldTether Gold (XAUT) $ 5,180.14
  • polkadotPolkadot (DOT) $ 1.60
  • memecoreMemeCore (M) $ 1.43
  • uniswapUniswap (UNI) $ 3.91
  • pax-goldPAX Gold (PAXG) $ 5,210.28
  • ethena-staked-usdeEthena Staked USDe (SUSDE) $ 1.22
  • mantleMantle (MNT) $ 0.646082
  • blackrock-usd-institutional-digital-liquidity-fundBlackRock USD Institutional Digital Liquidity Fund (BUIDL) $ 1.00
  • hashnote-usycCircle USYC (USYC) $ 1.12
  • bittensorBittensor (TAO) $ 187.91
  • aaveAave (AAVE) $ 119.13
  • falcon-financeFalcon USD (USDF) $ 0.997286
  • aster-2Aster (ASTER) $ 0.704582
  • global-dollarGlobal Dollar (USDG) $ 1.00
  • okbOKB (OKB) $ 78.35
  • pepePepe (PEPE) $ 0.000004
  • pi-networkPi Network (PI) $ 0.169745
  • syrupusdcsyrupUSDC (SYRUPUSDC) $ 1.15
  • skySky (SKY) $ 0.068532
  • bitget-tokenBitget Token (BGB) $ 2.24
  • ripple-usdRipple USD (RLUSD) $ 0.999787
  • htx-daoHTX DAO (HTX) $ 0.000002
  • nearNEAR Protocol (NEAR) $ 1.14
  • internet-computerInternet Computer (ICP) $ 2.69
  • ethereum-classicEthereum Classic (ETC) $ 8.98
  • bfusdBFUSD (BFUSD) $ 0.999333
  • ondo-financeOndo (ONDO) $ 0.269975
  • polygon-ecosystem-tokenPOL (ex-MATIC) (POL) $ 0.114335
  • worldcoin-wldWorldcoin (WLD) $ 0.406630
  • kucoin-sharesKuCoin (KCS) $ 8.74
  • superstate-short-duration-us-government-securities-fund-ustbSuperstate Short Duration U.S. Government Securities Fund (USTB) (USTB) $ 11.00
  • gatechain-tokenGate (GT) $ 7.12
  • pump-funPump.fun (PUMP) $ 0.001899
  • jupiter-perpetuals-liquidity-provider-tokenJupiter Perpetuals Liquidity Provider Token (JLP) $ 4.00
  • morphoMorpho (MORPHO) $ 1.88
  • midnight-3Midnight (NIGHT) $ 0.060278
  • cosmosCosmos Hub (ATOM) $ 1.91
  • quant-networkQuant (QNT) $ 64.46
  • hash-2Provenance Blockchain (HASH) $ 0.016889
  • jito-staked-solJito Staked SOL (JITOSOL) $ 124.46
  • ethenaEthena (ENA) $ 0.106062
  • nexoNEXO (NEXO) $ 0.871142
  • kelp-dao-restaked-ethKelp DAO Restaked ETH (RSETH) $ 2,404.69
  • kaspaKaspa (KAS) $ 0.031486
  • usdtbUSDtb (USDTB) $ 1.00
  • binance-peg-wethBinance-Peg WETH (WETH) $ 2,262.26
  • flare-networksFlare (FLR) $ 0.009651
  • rocket-pool-ethRocket Pool ETH (RETH) $ 2,631.35
  • eutblSpiko EU T-Bills Money Market Fund (EUTBL) $ 1.24
  • algorandAlgorand (ALGO) $ 0.089498
  • binance-bridged-usdc-bnb-smart-chainBinance Bridged USDC (BNB Smart Chain) (USDC) $ 0.999945
  • official-trumpOfficial Trump (TRUMP) $ 3.41
  • filecoinFilecoin (FIL) $ 1.04
  • wbnbWrapped BNB (WBNB) $ 759.61
  • aptosAptos (APT) $ 0.989253
  • ignition-fbtcFunction FBTC (FBTC) $ 76,389.00
  • pippinpippin (PIPPIN) $ 0.768367
  • render-tokenRender (RENDER) $ 1.48
  • usddUSDD (USDD) $ 0.999579
  • ousgOUSG (OUSG) $ 114.42
  • stable-2​​Stable (STABLE) $ 0.036972
  • syrupusdtsyrupUSDT (SYRUPUSDT) $ 1.11
  • janus-henderson-anemoy-aaa-clo-fundJanus Henderson Anemoy AAA CLO Fund (JAAA) $ 1.03
  • ondo-us-dollar-yieldOndo US Dollar Yield (USDY) $ 1.10
  • xdce-crowd-saleXDC Network (XDC) $ 0.035317
  • binance-staked-solBinance Staked SOL (BNSOL) $ 108.24
  • vechainVeChain (VET) $ 0.007685
  • beldexBeldex (BDX) $ 0.080093
  • arbitrumArbitrum (ARB) $ 0.103776
  • decredDecred (DCR) $ 34.86
  • janus-henderson-anemoy-treasury-fundJanus Henderson Anemoy Treasury Fund (JTRSY) $ 1.10
  • usual-usdUsual USD (USD0) $ 0.998435
  • bridged-usdc-polygon-pos-bridgePolygon Bridged USDC (Polygon PoS) (USDC.E) $ 0.999720
  • jupiter-exchange-solanaJupiter (JUP) $ 0.159321
  • solv-btcSolv Protocol BTC (SOLVBTC) $ 76,461.00
  • bonkBonk (BONK) $ 0.000006
  • lombard-staked-btcLombard Staked BTC (LBTC) $ 76,491.00
  • ghoGHO (GHO) $ 0.999922
  • a7a5A7A5 (A7A5) $ 0.012889
  • true-usdTrueUSD (TUSD) $ 0.999287
  • clbtcclBTC (CLBTC) $ 76,920.00
  • blockstackStacks (STX) $ 0.265651
  • sei-networkSei (SEI) $ 0.071155
  • fasttokenFasttoken (FTN) $ 1.09
  • euro-coinEURC (EURC) $ 1.18
  • virtual-protocolVirtuals Protocol (VIRTUAL) $ 0.709375
  • usdaiUSDai (USDAI) $ 0.999934
  • stakewise-v3-osethStakeWise Staked ETH (OSETH) $ 2,419.84
  • pudgy-penguinsPudgy Penguins (PENGU) $ 0.007153
  • kite-2Kite (KITE) $ 0.250789
  • kinetic-staked-hypeKinetiq Staked HYPE (KHYPE) $ 33.97
  • dashDash (DASH) $ 35.36
  • tbtctBTC (TBTC) $ 70,942.00
  • pancakeswap-tokenPancakeSwap (CAKE) $ 1.32
  • wrappedm-by-m0WrappedM by M0 (WM) $ 1.00
  • tezosTezos (XTZ) $ 0.398828
  • justJUST (JST) $ 0.046187
  • kinesis-goldKinesis Gold (KAU) $ 167.43
  • ether-fiEther.fi (ETHFI) $ 0.516317
  • first-digital-usdFirst Digital USD (FDUSD) $ 1.00
  • curve-dao-tokenCurve DAO (CRV) $ 0.254540
  • power-protocolPower Protocol (POWER) $ 1.82
  • mantle-staked-etherMantle Staked Ether (METH) $ 2,455.82
  • fetch-aiArtificial Superintelligence Alliance (FET) $ 0.164525
  • c8ntinuumc8ntinuum (CTM) $ 0.084729
  • polygon-pos-bridged-dai-polygon-posPolygon PoS Bridged DAI (Polygon POS) (DAI) $ 0.999983
  • story-2Story (IP) $ 1.01
  • resolv-wstusrResolv wstUSR (WSTUSR) $ 1.13
  • bittorrentBitTorrent (BTT) $ 0.00000036
  • cocaCOCA (COCA) $ 1.30
  • lighterLighter (LIT) $ 1.40
  • usxUSX (USX) $ 0.999659
  • chilizChiliz (CHZ) $ 0.033296
  • liquid-staked-ethereumLiquid Staked ETH (LSETH) $ 2,406.26
  • gnosisGnosis (GNO) $ 129.70
  • arbitrum-bridged-wbtc-arbitrum-oneArbitrum Bridged WBTC (Arbitrum One) (WBTC) $ 76,200.00
  • layerzeroLayerZero (ZRO) $ 1.70
  • hastra-primePRIME (PRIME) $ 1.02
  • aerodrome-financeAerodrome Finance (AERO) $ 0.364802
  • kaiaKaia (KAIA) $ 0.056988
  • wrapped-flareWrapped Flare (WFLR) $ 0.009961
  • apenftAINFT (NFT) $ 0.00000033
  • injective-protocolInjective (INJ) $ 3.24
  • l2-standard-bridged-weth-baseL2 Standard Bridged WETH (Base) (WETH) $ 2,266.86
  • bitcoin-svBitcoin SV (BSV) $ 16.11
  • steakhouse-usdc-morpho-vaultSteakhouse USDC Morpho Vault (STEAKUSDC) $ 1.12
  • adi-tokenADI (ADI) $ 3.26
  • sun-tokenSun Token (SUN) $ 0.016200
  • pyth-networkPyth Network (PYTH) $ 0.053040
  • iotaIOTA (IOTA) $ 0.070222
  • spx6900SPX6900 (SPX) $ 0.322885
  • binance-peg-xrpBinance-Peg XRP (XRP) $ 1.59
  • celestiaCelestia (TIA) $ 0.337805
  • ether-fi-liquid-ethEther.Fi Liquid ETH (LIQUIDETH) $ 2,443.47
  • flokiFLOKI (FLOKI) $ 0.000030
  • renzo-restaked-ethRenzo Restaked ETH (EZETH) $ 2,421.84
  • the-graphThe Graph (GRT) $ 0.027156
  • crvusdcrvUSD (CRVUSD) $ 0.995457
  • sbtc-2sBTC (SBTC) $ 77,039.00
  • jasmycoinJasmyCoin (JASMY) $ 0.005800
  • doublezeroDoubleZero (2Z) $ 0.080583
  • syrupMaple Finance (SYRUP) $ 0.240327
  • jupiter-staked-solJupiter Staked SOL (JUPSOL) $ 115.56
  • olympusOlympus (OHM) $ 17.60
  • savings-usddSavings USDD (SUSDD) $ 1.03
  • fraxLegacy Frax Dollar (FRAX) $ 0.991970
  • lido-daoLido DAO (LDO) $ 0.313856
  • siren-2Siren (SIREN) $ 0.371871
  • msolMarinade Staked SOL (MSOL) $ 133.18
  • conflux-tokenConflux (CFX) $ 0.050647
  • arbitrum-bridged-weth-arbitrum-oneArbitrum Bridged WETH (Arbitrum One) (WETH) $ 2,265.06
  • heliumHelium (HNT) $ 1.40
  • optimismOptimism (OP) $ 0.122359
  • btse-tokenBTSE Token (BTSE) $ 1.56
  • telcoinTelcoin (TEL) $ 0.002623
  • staked-aaveStaked Aave (STKAAVE) $ 126.65

Onyx Protocol Loses $3.8 Million in Preventable Hack

0 116

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.