• bitcoinBitcoin (BTC) $ 85,681.00
  • ethereumEthereum (ETH) $ 1,634.74
  • tetherTether (USDT) $ 0.999940
  • xrpXRP (XRP) $ 2.16
  • bnbBNB (BNB) $ 588.64
  • solanaSolana (SOL) $ 132.44
  • usd-coinUSDC (USDC) $ 0.999995
  • dogecoinDogecoin (DOGE) $ 0.159808
  • tronTRON (TRX) $ 0.248722
  • cardanoCardano (ADA) $ 0.639704
  • staked-etherLido Staked Ether (STETH) $ 1,629.86
  • wrapped-bitcoinWrapped Bitcoin (WBTC) $ 85,587.00
  • leo-tokenLEO Token (LEO) $ 9.43
  • avalanche-2Avalanche (AVAX) $ 19.98
  • chainlinkChainlink (LINK) $ 12.62
  • stellarStellar (XLM) $ 0.242208
  • the-open-networkToncoin (TON) $ 2.98
  • usdsUSDS (USDS) $ 1.00
  • suiSui (SUI) $ 2.20
  • shiba-inuShiba Inu (SHIB) $ 0.000012
  • hedera-hashgraphHedera (HBAR) $ 0.166599
  • wrapped-stethWrapped stETH (WSTETH) $ 1,960.74
  • bitcoin-cashBitcoin Cash (BCH) $ 332.07
  • litecoinLitecoin (LTC) $ 77.70
  • polkadotPolkadot (DOT) $ 3.65
  • hyperliquidHyperliquid (HYPE) $ 16.26
  • bitget-tokenBitget Token (BGB) $ 4.32
  • binance-bridged-usdt-bnb-smart-chainBinance Bridged USDT (BNB Smart Chain) (BSC-USD) $ 0.998877
  • ethena-usdeEthena USDe (USDE) $ 0.999349
  • pi-networkPi Network (PI) $ 0.668257
  • wethWETH (WETH) $ 1,634.53
  • whitebitWhiteBIT Coin (WBT) $ 27.88
  • moneroMonero (XMR) $ 214.26
  • wrapped-eethWrapped eETH (WEETH) $ 1,745.00
  • uniswapUniswap (UNI) $ 5.39
  • coinbase-wrapped-btcCoinbase Wrapped BTC (CBBTC) $ 85,713.00
  • okbOKB (OKB) $ 52.41
  • daiDai (DAI) $ 0.999644
  • pepePepe (PEPE) $ 0.000007
  • aptosAptos (APT) $ 4.71
  • gatechain-tokenGate (GT) $ 22.57
  • ondo-financeOndo (ONDO) $ 0.876157
  • tokenize-xchangeTokenize Xchange (TKX) $ 33.69
  • nearNEAR Protocol (NEAR) $ 2.10
  • susdssUSDS (SUSDS) $ 1.05
  • blackrock-usd-institutional-digital-liquidity-fundBlackRock USD Institutional Digital Liquidity Fund (BUIDL) $ 1.00
  • internet-computerInternet Computer (ICP) $ 4.91
  • crypto-com-chainCronos (CRO) $ 0.085148
  • mantleMantle (MNT) $ 0.690503
  • ethereum-classicEthereum Classic (ETC) $ 15.25
  • ethena-staked-usdeEthena Staked USDe (SUSDE) $ 1.17
  • aaveAave (AAVE) $ 139.73
  • bittensorBittensor (TAO) $ 239.69
  • render-tokenRender (RENDER) $ 3.92
  • vechainVeChain (VET) $ 0.023657
  • kaspaKaspa (KAS) $ 0.078099
  • cosmosCosmos Hub (ATOM) $ 4.13
  • lombard-staked-btcLombard Staked BTC (LBTC) $ 85,531.00
  • fasttokenFasttoken (FTN) $ 4.14
  • first-digital-usdFirst Digital USD (FDUSD) $ 0.996095
  • ethenaEthena (ENA) $ 0.299664
  • algorandAlgorand (ALGO) $ 0.191347
  • filecoinFilecoin (FIL) $ 2.50
  • sonic-3Sonic (prev. FTM) (S) $ 0.506763
  • polygon-ecosystem-tokenPOL (ex-MATIC) (POL) $ 0.184505
  • official-trumpOfficial Trump (TRUMP) $ 7.98
  • celestiaCelestia (TIA) $ 2.48
  • jupiter-perpetuals-liquidity-provider-tokenJupiter Perpetuals Liquidity Provider Token (JLP) $ 3.82
  • arbitrumArbitrum (ARB) $ 0.291791
  • solv-btcSolv Protocol SolvBTC (SOLVBTC) $ 85,583.00
  • kucoin-sharesKuCoin (KCS) $ 10.36
  • fetch-aiArtificial Superintelligence Alliance (FET) $ 0.475747
  • makerMaker (MKR) $ 1,394.21
  • xdce-crowd-saleXDC Network (XDC) $ 0.073696
  • binance-staked-solBinance Staked SOL (BNSOL) $ 138.84
  • story-2Story (IP) $ 4.13
  • optimismOptimism (OP) $ 0.655485
  • jupiter-exchange-solanaJupiter (JUP) $ 0.380278
  • usdt0USDT0 (USDT0) $ 0.996787
  • nexoNEXO (NEXO) $ 1.03
  • flare-networksFlare (FLR) $ 0.016183
  • bonkBonk (BONK) $ 0.000013
  • binance-peg-wethBinance-Peg WETH (WETH) $ 1,632.47
  • kelp-dao-restaked-ethKelp DAO Restaked ETH (RSETH) $ 1,711.75
  • worldcoin-wldWorldcoin (WLD) $ 0.740667
  • blockstackStacks (STX) $ 0.612208
  • eosEOS (EOS) $ 0.610567
  • sei-networkSei (SEI) $ 0.180855
  • fartcoinFartcoin (FARTCOIN) $ 0.920862
  • binance-bridged-usdc-bnb-smart-chainBinance Bridged USDC (BNB Smart Chain) (USDC) $ 0.999268
  • paypal-usdPayPal USD (PYUSD) $ 1.00
  • dexeDeXe (DEXE) $ 14.31
  • polygon-bridged-usdt-polygonPolygon Bridged USDT (Polygon) (USDT) $ 0.999947
  • wbnbWrapped BNB (WBNB) $ 588.46
  • tether-goldTether Gold (XAUT) $ 3,236.44
  • rocket-pool-ethRocket Pool ETH (RETH) $ 1,842.75
  • curve-dao-tokenCurve DAO (CRV) $ 0.594382
  • injective-protocolInjective (INJ) $ 7.97
  • jasmycoinJasmyCoin (JASMY) $ 0.015771
  • the-graphThe Graph (GRT) $ 0.079746
  • solv-protocol-solvbtc-bbnSolv Protocol xSolvBTC (XSOLVBTC) $ 85,023.00
  • pax-goldPAX Gold (PAXG) $ 3,243.29
  • immutable-xImmutable (IMX) $ 0.409229
  • usual-usdUsual USD (USD0) $ 0.998050
  • movementMovement (MOVE) $ 0.291517
  • arbitrum-bridged-wbtc-arbitrum-oneArbitrum Bridged WBTC (Arbitrum One) (WBTC) $ 85,472.00
  • chain-2Onyxcoin (XCN) $ 0.020642
  • theta-tokenTheta Network (THETA) $ 0.680342
  • heliumHelium (HNT) $ 3.56
  • galaGALA (GALA) $ 0.014689
  • mantle-staked-etherMantle Staked Ether (METH) $ 1,735.65
  • jupiter-staked-solJupiter Staked SOL (JUPSOL) $ 146.00
  • the-sandboxThe Sandbox (SAND) $ 0.257513
  • lido-daoLido DAO (LDO) $ 0.698410
  • usdx-money-usdxStables Labs USDX (USDX) $ 0.999477
  • raydiumRaydium (RAY) $ 2.14
  • bittorrentBitTorrent (BTT) $ 0.00000062
  • msolMarinade Staked SOL (MSOL) $ 170.13
  • iotaIOTA (IOTA) $ 0.162878
  • kaiaKaia (KAIA) $ 0.101507
  • ondo-us-dollar-yieldOndo US Dollar Yield (USDY) $ 1.10
  • walrus-2Walrus (WAL) $ 0.454811
  • mantra-daoMANTRA (OM) $ 0.587754
  • bitcoin-svBitcoin SV (BSV) $ 28.08
  • flowFlow (FLOW) $ 0.351918
  • pancakeswap-tokenPancakeSwap (CAKE) $ 1.86
  • flokiFLOKI (FLOKI) $ 0.000056
  • jito-governance-tokenJito (JTO) $ 1.67
  • tezosTezos (XTZ) $ 0.500562
  • pendlePendle (PENDLE) $ 3.19
  • decentralandDecentraland (MANA) $ 0.273219
  • renzo-restaked-ethRenzo Restaked ETH (EZETH) $ 1,712.19
  • coredaoorgCore (CORE) $ 0.503407
  • zcashZcash (ZEC) $ 31.29
  • true-usdTrueUSD (TUSD) $ 0.998112
  • ethereum-name-serviceEthereum Name Service (ENS) $ 14.62
  • pyth-networkPyth Network (PYTH) $ 0.133077
  • sonic-bridged-usdc-e-sonicSonic Bridged USDC.e (Sonic) (USDC.E) $ 0.999994
  • beldexBeldex (BDX) $ 0.069156
  • pumpbtcpumpBTC (PUMPBTC) $ 81,384.00
  • spx6900SPX6900 (SPX) $ 0.505295
  • bridged-usdc-polygon-pos-bridgeBridged USDC (Polygon PoS Bridge) (USDC.E) $ 0.999997
  • kavaKava (KAVA) $ 0.420454
  • telcoinTelcoin (TEL) $ 0.004874
  • berachain-beraBerachain (BERA) $ 4.09
  • grassGrass (GRASS) $ 1.60
  • bitcoin-avalanche-bridged-btc-bAvalanche Bridged BTC (Avalanche) (BTC.B) $ 85,671.00
  • dydx-chaindYdX (DYDX) $ 0.557416
  • clbtcclBTC (CLBTC) $ 85,306.00
  • apenftAPENFT (NFT) $ 0.00000042
  • dogwifcoindogwifhat (WIF) $ 0.418597
  • reserve-rights-tokenReserve Rights (RSR) $ 0.007373
  • stakewise-v3-osethStakeWise Staked ETH (OSETH) $ 1,704.95
  • solayerSolayer (LAYER) $ 1.95
  • binance-peg-dogecoinBinance-Peg Dogecoin (DOGE) $ 0.159674
  • usdbUSDB (USDB) $ 1.00
  • hashnote-usycHashnote USYC (USYC) $ 1.08
  • thorchainTHORChain (RUNE) $ 1.15
  • virtual-protocolVirtuals Protocol (VIRTUAL) $ 0.612595
  • ousgOUSG (OUSG) $ 110.69
  • elrond-erd-2MultiversX (EGLD) $ 14.13
  • mantle-restaked-ethMantle Restaked ETH (CMETH) $ 1,735.14
  • ecasheCash (XEC) $ 0.000020
  • tbtctBTC (TBTC) $ 85,496.00
  • olympusOlympus (OHM) $ 22.89
  • ether-fi-staked-ethether.fi Staked ETH (EETH) $ 1,634.13
  • resolv-usrResolv USR (USR) $ 0.999481
  • neoNEO (NEO) $ 5.24
  • based-brettBrett (BRETT) $ 0.036724
  • honey-3Honey (HONEY) $ 0.998913
  • compound-governance-tokenCompound (COMP) $ 40.52
  • l2-standard-bridged-weth-baseL2 Standard Bridged WETH (Base) (WETH) $ 1,631.04
  • conflux-tokenConflux (CFX) $ 0.069906
  • axie-infinityAxie Infinity (AXS) $ 2.23
  • chilizChiliz (CHZ) $ 0.037236
  • ubtcuBTC (UBTC) $ 77,106.00
  • starknetStarknet (STRK) $ 0.121060
  • super-oethSuper OETH (SUPEROETHB) $ 1,635.19
  • mantle-bridged-usdt-mantleMantle Bridged USDT (Mantle) (USDT) $ 0.999254
  • aerodrome-financeAerodrome Finance (AERO) $ 0.430498
  • arbitrum-bridged-weth-arbitrum-oneArbitrum Bridged WETH (Arbitrum One) (WETH) $ 1,629.63
  • arweaveArweave (AR) $ 5.19
  • apecoinApeCoin (APE) $ 0.417599
  • stargate-bridged-usdc-berachainStargate Bridged USDC (Berachain) (USDC.E) $ 1.00
  • infrared-beraInfrared Bera (IBERA) $ 4.11
  • usddUSDD (USDD) $ 0.999953
  • sun-tokenSun Token (SUN) $ 0.016791
  • wormholeWormhole (W) $ 0.071143
  • binance-peg-busdBinance-Peg BUSD (BUSD) $ 0.997003
  • matic-networkPolygon (MATIC) $ 0.184806
  • fraxFrax (FRAX) $ 0.999974
  • terra-lunaTerra Luna Classic (LUNC) $ 0.000059
  • aioz-networkAIOZ Network (AIOZ) $ 0.270882
  • trust-wallet-tokenTrust Wallet (TWT) $ 0.757785
  • beam-2Beam (BEAM) $ 0.005982
  • saros-financeSaros (SAROS) $ 0.119340
  • wemix-tokenWEMIX (WEMIX) $ 0.736244
  • plumePlume (PLUME) $ 0.154072
  • amp-tokenAmp (AMP) $ 0.003618
  • pudgy-penguinsPudgy Penguins (PENGU) $ 0.004822

Onyx Protocol Loses $3.8 Million in Preventable Hack

0 22

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.