• bitcoinBitcoin (BTC) $ 95,108.00
  • ethereumEthereum (ETH) $ 1,803.16
  • tetherTether (USDT) $ 1.00
  • xrpXRP (XRP) $ 2.30
  • bnbBNB (BNB) $ 606.96
  • solanaSolana (SOL) $ 148.21
  • usd-coinUSDC (USDC) $ 0.999997
  • dogecoinDogecoin (DOGE) $ 0.179763
  • cardanoCardano (ADA) $ 0.707770
  • tronTRON (TRX) $ 0.249715
  • staked-etherLido Staked Ether (STETH) $ 1,802.20
  • wrapped-bitcoinWrapped Bitcoin (WBTC) $ 94,890.00
  • suiSui (SUI) $ 3.56
  • chainlinkChainlink (LINK) $ 15.19
  • avalanche-2Avalanche (AVAX) $ 21.94
  • stellarStellar (XLM) $ 0.283944
  • leo-tokenLEO Token (LEO) $ 8.98
  • the-open-networkToncoin (TON) $ 3.29
  • shiba-inuShiba Inu (SHIB) $ 0.000014
  • hedera-hashgraphHedera (HBAR) $ 0.191306
  • usdsUSDS (USDS) $ 0.999975
  • wrapped-stethWrapped stETH (WSTETH) $ 2,163.85
  • bitcoin-cashBitcoin Cash (BCH) $ 372.12
  • litecoinLitecoin (LTC) $ 86.78
  • polkadotPolkadot (DOT) $ 4.30
  • hyperliquidHyperliquid (HYPE) $ 18.87
  • binance-bridged-usdt-bnb-smart-chainBinance Bridged USDT (BNB Smart Chain) (BSC-USD) $ 1.00
  • bitget-tokenBitget Token (BGB) $ 4.41
  • wethWETH (WETH) $ 1,803.36
  • moneroMonero (XMR) $ 264.02
  • ethena-usdeEthena USDe (USDE) $ 0.999458
  • pi-networkPi Network (PI) $ 0.609748
  • whitebitWhiteBIT Coin (WBT) $ 29.41
  • wrapped-eethWrapped eETH (WEETH) $ 1,921.56
  • coinbase-wrapped-btcCoinbase Wrapped BTC (CBBTC) $ 95,057.00
  • pepePepe (PEPE) $ 0.000009
  • aptosAptos (APT) $ 5.63
  • uniswapUniswap (UNI) $ 5.48
  • bittensorBittensor (TAO) $ 375.66
  • daiDai (DAI) $ 1.00
  • nearNEAR Protocol (NEAR) $ 2.59
  • okbOKB (OKB) $ 52.19
  • ondo-financeOndo (ONDO) $ 0.985826
  • susdssUSDS (SUSDS) $ 1.05
  • official-trumpOfficial Trump (TRUMP) $ 14.64
  • gatechain-tokenGate (GT) $ 22.42
  • internet-computerInternet Computer (ICP) $ 5.14
  • ethereum-classicEthereum Classic (ETC) $ 17.09
  • blackrock-usd-institutional-digital-liquidity-fundBlackRock USD Institutional Digital Liquidity Fund (BUIDL) $ 1.00
  • aaveAave (AAVE) $ 167.69
  • kaspaKaspa (KAS) $ 0.096036
  • crypto-com-chainCronos (CRO) $ 0.090818
  • tokenize-xchangeTokenize Xchange (TKX) $ 31.07
  • mantleMantle (MNT) $ 0.737852
  • vechainVeChain (VET) $ 0.027668
  • render-tokenRender (RENDER) $ 4.50
  • ethena-staked-usdeEthena Staked USDe (SUSDE) $ 1.17
  • polygon-ecosystem-tokenPOL (ex-MATIC) (POL) $ 0.239859
  • cosmosCosmos Hub (ATOM) $ 4.49
  • algorandAlgorand (ALGO) $ 0.233560
  • lombard-staked-btcLombard Staked BTC (LBTC) $ 94,710.00
  • fetch-aiArtificial Superintelligence Alliance (FET) $ 0.716728
  • filecoinFilecoin (FIL) $ 2.82
  • ethenaEthena (ENA) $ 0.335053
  • fasttokenFasttoken (FTN) $ 4.29
  • celestiaCelestia (TIA) $ 2.95
  • sonic-3Sonic (prev. FTM) (S) $ 0.521318
  • arbitrumArbitrum (ARB) $ 0.337332
  • bonkBonk (BONK) $ 0.000020
  • jupiter-perpetuals-liquidity-provider-tokenJupiter Perpetuals Liquidity Provider Token (JLP) $ 4.11
  • worldcoin-wldWorldcoin (WLD) $ 1.12
  • first-digital-usdFirst Digital USD (FDUSD) $ 0.997771
  • solv-btcSolv Protocol SolvBTC (SOLVBTC) $ 94,391.00
  • jupiter-exchange-solanaJupiter (JUP) $ 0.474191
  • kucoin-sharesKuCoin (KCS) $ 10.67
  • blockstackStacks (STX) $ 0.856416
  • optimismOptimism (OP) $ 0.785992
  • makerMaker (MKR) $ 1,536.34
  • xdce-crowd-saleXDC Network (XDC) $ 0.080133
  • binance-staked-solBinance Staked SOL (BNSOL) $ 155.54
  • nexoNEXO (NEXO) $ 1.21
  • flare-networksFlare (FLR) $ 0.018247
  • fartcoinFartcoin (FARTCOIN) $ 1.12
  • quant-networkQuant (QNT) $ 76.49
  • sei-networkSei (SEI) $ 0.215652
  • story-2Story (IP) $ 4.08
  • binance-peg-wethBinance-Peg WETH (WETH) $ 1,802.85
  • immutable-xImmutable (IMX) $ 0.590713
  • eosEOS (EOS) $ 0.688954
  • kelp-dao-restaked-ethKelp DAO Restaked ETH (RSETH) $ 1,876.77
  • injective-protocolInjective (INJ) $ 10.05
  • usdt0USDT0 (USDT0) $ 1.00
  • virtual-protocolVirtuals Protocol (VIRTUAL) $ 1.47
  • the-graphThe Graph (GRT) $ 0.099464
  • wbnbWrapped BNB (WBNB) $ 606.86
  • binance-bridged-usdc-bnb-smart-chainBinance Bridged USDC (BNB Smart Chain) (USDC) $ 0.999819
  • paypal-usdPayPal USD (PYUSD) $ 1.00
  • curve-dao-tokenCurve DAO (CRV) $ 0.648026
  • raydiumRaydium (RAY) $ 2.97
  • flokiFLOKI (FLOKI) $ 0.000088
  • rocket-pool-ethRocket Pool ETH (RETH) $ 2,044.30
  • iotaIOTA (IOTA) $ 0.225704
  • tether-goldTether Gold (XAUT) $ 3,332.44
  • jasmycoinJasmyCoin (JASMY) $ 0.016934
  • solv-protocol-solvbtc-bbnSolv Protocol xSolvBTC (XSOLVBTC) $ 93,399.00
  • bitcoin-svBitcoin SV (BSV) $ 40.32
  • polygon-bridged-usdt-polygonPolygon Bridged USDT (Polygon) (USDT) $ 1.00
  • coredaoorgCore (CORE) $ 0.791619
  • pax-goldPAX Gold (PAXG) $ 3,333.41
  • galaGALA (GALA) $ 0.017584
  • walrus-2Walrus (WAL) $ 0.615593
  • theta-tokenTheta Network (THETA) $ 0.762803
  • arbitrum-bridged-wbtc-arbitrum-oneArbitrum Bridged WBTC (Arbitrum One) (WBTC) $ 94,995.00
  • lido-daoLido DAO (LDO) $ 0.842084
  • dexeDeXe (DEXE) $ 13.17
  • jupiter-staked-solJupiter Staked SOL (JUPSOL) $ 163.56
  • pudgy-penguinsPudgy Penguins (PENGU) $ 0.011936
  • heliumHelium (HNT) $ 4.10
  • the-sandboxThe Sandbox (SAND) $ 0.302160
  • clbtcclBTC (CLBTC) $ 95,440.00
  • msolMarinade Staked SOL (MSOL) $ 190.88
  • usd1-wlfiUSD1 (USD1) $ 1.00
  • bittorrentBitTorrent (BTT) $ 0.00000072
  • kaiaKaia (KAIA) $ 0.117199
  • mantle-staked-etherMantle Staked Ether (METH) $ 1,919.13
  • pancakeswap-tokenPancakeSwap (CAKE) $ 2.10
  • usual-usdUsual USD (USD0) $ 0.997665
  • based-brettBrett (BRETT) $ 0.065829
  • flowFlow (FLOW) $ 0.409636
  • chain-2Onyxcoin (XCN) $ 0.018830
  • usdx-money-usdxStables Labs USDX (USDX) $ 0.999827
  • dogwifcoindogwifhat (WIF) $ 0.619752
  • movementMovement (MOVE) $ 0.251919
  • decentralandDecentraland (MANA) $ 0.328491
  • solayerSolayer (LAYER) $ 2.93
  • ethereum-name-serviceEthereum Name Service (ENS) $ 18.26
  • ondo-us-dollar-yieldOndo US Dollar Yield (USDY) $ 1.10
  • jito-governance-tokenJito (JTO) $ 1.83
  • pyth-networkPyth Network (PYTH) $ 0.160752
  • tezosTezos (XTZ) $ 0.558774
  • zcashZcash (ZEC) $ 35.73
  • renzo-restaked-ethRenzo Restaked ETH (EZETH) $ 1,884.12
  • deepDeepBook (DEEP) $ 0.225850
  • pendlePendle (PENDLE) $ 3.38
  • spx6900SPX6900 (SPX) $ 0.580343
  • reserve-rights-tokenReserve Rights (RSR) $ 0.009352
  • mantra-daoMANTRA (OM) $ 0.535359
  • dydx-chaindYdX (DYDX) $ 0.663390
  • aerodrome-financeAerodrome Finance (AERO) $ 0.622260
  • kavaKava (KAVA) $ 0.460144
  • true-usdTrueUSD (TUSD) $ 0.999094
  • telcoinTelcoin (TEL) $ 0.005373
  • elrond-erd-2MultiversX (EGLD) $ 17.44
  • thorchainTHORChain (RUNE) $ 1.39
  • sonic-bridged-usdc-e-sonicSonic Bridged USDC.e (Sonic) (USDC.E) $ 0.999926
  • ubtcuBTC (UBTC) $ 94,865.00
  • bitcoin-avalanche-bridged-btc-bAvalanche Bridged BTC (Avalanche) (BTC.B) $ 94,942.00
  • beldexBeldex (BDX) $ 0.067569
  • aioz-networkAIOZ Network (AIOZ) $ 0.408954
  • pumpbtcpumpBTC (PUMPBTC) $ 92,820.00
  • arweaveArweave (AR) $ 7.19
  • stakewise-v3-osethStakeWise Staked ETH (OSETH) $ 1,884.87
  • bridged-usdc-polygon-pos-bridgeBridged USDC (Polygon PoS Bridge) (USDC.E) $ 0.999994
  • binance-peg-dogecoinBinance-Peg Dogecoin (DOGE) $ 0.179512
  • ecasheCash (XEC) $ 0.000023
  • grassGrass (GRASS) $ 1.65
  • neoNEO (NEO) $ 6.31
  • starknetStarknet (STRK) $ 0.152339
  • apecoinApeCoin (APE) $ 0.550523
  • tbtctBTC (TBTC) $ 94,672.00
  • ousgOUSG (OUSG) $ 110.86
  • apenftAPENFT (NFT) $ 0.00000043
  • axie-infinityAxie Infinity (AXS) $ 2.62
  • l2-standard-bridged-weth-baseL2 Standard Bridged WETH (Base) (WETH) $ 1,802.48
  • conflux-tokenConflux (CFX) $ 0.082085
  • matic-networkPolygon (MATIC) $ 0.239732
  • wormholeWormhole (W) $ 0.090546
  • chilizChiliz (CHZ) $ 0.042695
  • hashnote-usycHashnote USYC (USYC) $ 1.09
  • usdbUSDB (USDB) $ 1.00
  • berachain-beraBerachain (BERA) $ 3.73
  • mantle-restaked-ethMantle Restaked ETH (CMETH) $ 1,918.95
  • super-oethSuper OETH (SUPEROETHB) $ 1,802.84
  • justJUST (JST) $ 0.039261
  • beam-2Beam (BEAM) $ 0.007312
  • compound-governance-tokenCompound (COMP) $ 42.80
  • popcatPopcat (POPCAT) $ 0.387366
  • arbitrum-bridged-weth-arbitrum-oneArbitrum Bridged WETH (Arbitrum One) (WETH) $ 1,802.92
  • olympusOlympus (OHM) $ 21.62
  • amp-tokenAmp (AMP) $ 0.004188
  • axelarAxelar (AXL) $ 0.371813
  • mantle-bridged-usdt-mantleMantle Bridged USDT (Mantle) (USDT) $ 1.00
  • roninRonin (RON) $ 0.562834
  • sun-tokenSun Token (SUN) $ 0.017959
  • saros-financeSaros (SAROS) $ 0.131182
  • ether-fi-staked-ethether.fi Staked ETH (EETH) $ 1,797.47
  • trust-wallet-tokenTrust Wallet (TWT) $ 0.822618
  • terra-lunaTerra Luna Classic (LUNC) $ 0.000063
  • usddUSDD (USDD) $ 1.00
  • turboTurbo (TURBO) $ 0.004883

Onyx Protocol Loses $3.8 Million in Preventable Hack

0 34

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.

Verified by MonsterInsights