• bitcoinBitcoin (BTC) $ 91,061.00
  • ethereumEthereum (ETH) $ 3,051.30
  • tetherTether (USDT) $ 1.00
  • xrpXRP (XRP) $ 2.19
  • bnbBNB (BNB) $ 885.84
  • usd-coinUSDC (USDC) $ 0.999719
  • tronTRON (TRX) $ 0.280932
  • staked-etherLido Staked Ether (STETH) $ 3,050.76
  • dogecoinDogecoin (DOGE) $ 0.150399
  • cardanoCardano (ADA) $ 0.420960
  • figure-helocFigure Heloc (FIGR_HELOC) $ 1.04
  • whitebitWhiteBIT Coin (WBT) $ 58.92
  • wrapped-stethWrapped stETH (WSTETH) $ 3,720.42
  • wrapped-bitcoinWrapped Bitcoin (WBTC) $ 90,753.00
  • bitcoin-cashBitcoin Cash (BCH) $ 551.33
  • wrapped-beacon-ethWrapped Beacon ETH (WBETH) $ 3,304.97
  • hyperliquidHyperliquid (HYPE) $ 34.66
  • usdsUSDS (USDS) $ 0.999768
  • chainlinkChainlink (LINK) $ 13.20
  • binance-bridged-usdt-bnb-smart-chainBinance Bridged USDT (BNB Smart Chain) (BSC-USD) $ 1.00
  • leo-tokenLEO Token (LEO) $ 9.70
  • stellarStellar (XLM) $ 0.255178
  • wethWETH (WETH) $ 3,051.82
  • wrapped-eethWrapped eETH (WEETH) $ 3,301.05
  • zcashZcash (ZEC) $ 460.07
  • moneroMonero (XMR) $ 403.63
  • ethena-usdeEthena USDe (USDE) $ 0.999333
  • coinbase-wrapped-btcCoinbase Wrapped BTC (CBBTC) $ 91,069.00
  • litecoinLitecoin (LTC) $ 84.45
  • avalanche-2Avalanche (AVAX) $ 14.86
  • hedera-hashgraphHedera (HBAR) $ 0.146621
  • suiSui (SUI) $ 1.53
  • shiba-inuShiba Inu (SHIB) $ 0.000009
  • daiDai (DAI) $ 0.999622
  • world-liberty-financialWorld Liberty Financial (WLFI) $ 0.160741
  • crypto-com-chainCronos (CRO) $ 0.109276
  • ethena-staked-usdeEthena Staked USDe (SUSDE) $ 1.21
  • the-open-networkToncoin (TON) $ 1.60
  • susdssUSDS (SUSDS) $ 1.08
  • uniswapUniswap (UNI) $ 6.19
  • paypal-usdPayPal USD (PYUSD) $ 0.999843
  • polkadotPolkadot (DOT) $ 2.30
  • usdt0USDT0 (USDT0) $ 0.999966
  • mantleMantle (MNT) $ 1.07
  • canton-networkCanton (CC) $ 0.085863
  • bittensorBittensor (TAO) $ 301.83
  • aaveAave (AAVE) $ 186.33
  • usd1-wlfiUSD1 (USD1) $ 0.999431
  • bitget-tokenBitget Token (BGB) $ 3.62
  • nearNEAR Protocol (NEAR) $ 1.89
  • blackrock-usd-institutional-digital-liquidity-fundBlackRock USD Institutional Digital Liquidity Fund (BUIDL) $ 1.00
  • okbOKB (OKB) $ 109.31
  • tether-goldTether Gold (XAUT) $ 4,212.65
  • internet-computerInternet Computer (ICP) $ 4.05
  • aster-2Aster (ASTER) $ 1.08
  • falcon-financeFalcon USD (USDF) $ 0.998760
  • memecoreMemeCore (M) $ 1.27
  • ethereum-classicEthereum Classic (ETC) $ 13.75
  • pi-networkPi Network (PI) $ 0.254399
  • ethenaEthena (ENA) $ 0.282228
  • pepePepe (PEPE) $ 0.000005
  • jito-staked-solJito Staked SOL (JITOSOL) $ 171.55
  • binance-peg-wethBinance-Peg WETH (WETH) $ 3,053.84
  • pump-funPump.fun (PUMP) $ 0.002945
  • jupiter-perpetuals-liquidity-provider-tokenJupiter Perpetuals Liquidity Provider Token (JLP) $ 4.70
  • rainRain (RAIN) $ 0.007140
  • solanaSolana (SOL) $ 137.72
  • ondo-financeOndo (ONDO) $ 0.519498
  • htx-daoHTX DAO (HTX) $ 0.000002
  • kaspaKaspa (KAS) $ 0.058505
  • aptosAptos (APT) $ 2.13
  • worldcoin-wldWorldcoin (WLD) $ 0.644212
  • kucoin-sharesKuCoin (KCS) $ 11.57
  • polygon-ecosystem-tokenPOL (ex-MATIC) (POL) $ 0.135057
  • pax-goldPAX Gold (PAXG) $ 4,227.35
  • syrupusdcsyrupUSDC (SYRUPUSDC) $ 1.14
  • usdtbUSDtb (USDTB) $ 1.00
  • bfusdBFUSD (BFUSD) $ 0.999129
  • rocket-pool-ethRocket Pool ETH (RETH) $ 3,503.25
  • binance-bridged-usdc-bnb-smart-chainBinance Bridged USDC (BNB Smart Chain) (USDC) $ 0.999859
  • algorandAlgorand (ALGO) $ 0.143756
  • ripple-usdRipple USD (RLUSD) $ 0.999349
  • gatechain-tokenGate (GT) $ 10.59
  • hash-2Provenance Blockchain (HASH) $ 0.024025
  • wbnbWrapped BNB (WBNB) $ 885.53
  • global-dollarGlobal Dollar (USDG) $ 0.999707
  • arbitrumArbitrum (ARB) $ 0.218002
  • hashnote-usycCircle USYC (USYC) $ 1.11
  • official-trumpOfficial Trump (TRUMP) $ 6.05
  • skySky (SKY) $ 0.051821
  • flare-networksFlare (FLR) $ 0.015074
  • cosmosCosmos Hub (ATOM) $ 2.46
  • vechainVeChain (VET) $ 0.013702
  • filecoinFilecoin (FIL) $ 1.63
  • binance-staked-solBinance Staked SOL (BNSOL) $ 149.31
  • kelp-dao-restaked-ethKelp DAO Restaked ETH (RSETH) $ 3,230.21
  • ignition-fbtcFunction FBTC (FBTC) $ 91,360.00
  • kinetic-staked-hypeKinetiq Staked HYPE (KHYPE) $ 34.90
  • lombard-staked-btcLombard Staked BTC (LBTC) $ 91,150.00
  • liquid-staked-ethereumLiquid Staked ETH (LSETH) $ 3,248.91
  • solv-btcSolv Protocol BTC (SOLVBTC) $ 91,701.00
  • nexoNEXO (NEXO) $ 0.995929
  • syrupusdtsyrupUSDT (SYRUPUSDT) $ 1.11
  • xdce-crowd-saleXDC Network (XDC) $ 0.053210
  • render-tokenRender (RENDER) $ 1.81
  • first-digital-usdFirst Digital USD (FDUSD) $ 0.996520
  • superstate-short-duration-us-government-securities-fund-ustbSuperstate Short Duration U.S. Government Securities Fund (USTB) (USTB) $ 10.91
  • sei-networkSei (SEI) $ 0.138737
  • story-2Story (IP) $ 2.60
  • morphoMorpho (MORPHO) $ 1.54
  • bonkBonk (BONK) $ 0.000010
  • pancakeswap-tokenPancakeSwap (CAKE) $ 2.40
  • jupiter-exchange-solanaJupiter (JUP) $ 0.249542
  • ousgOUSG (OUSG) $ 113.44
  • mantle-staked-etherMantle Staked Ether (METH) $ 3,300.32
  • janus-henderson-anemoy-aaa-clo-fundJanus Henderson Anemoy AAA CLO Fund (JAAA) $ 1.02
  • renzo-restaked-ethRenzo Restaked ETH (EZETH) $ 3,250.44
  • arbitrum-bridged-wbtc-arbitrum-oneArbitrum Bridged WBTC (Arbitrum One) (WBTC) $ 91,007.00
  • dashDash (DASH) $ 58.07
  • pudgy-penguinsPudgy Penguins (PENGU) $ 0.011249
  • clbtcclBTC (CLBTC) $ 90,661.00
  • fetch-aiArtificial Superintelligence Alliance (FET) $ 0.266982
  • ondo-us-dollar-yieldOndo US Dollar Yield (USDY) $ 1.11
  • spx6900SPX6900 (SPX) $ 0.707286
  • jupiter-staked-solJupiter Staked SOL (JUPSOL) $ 158.84
  • starknetStarknet (STRK) $ 0.140249
  • aerodrome-financeAerodrome Finance (AERO) $ 0.702693
  • optimismOptimism (OP) $ 0.330870
  • virtual-protocolVirtuals Protocol (VIRTUAL) $ 0.953371
  • bridged-usdc-polygon-pos-bridgePolygon Bridged USDC (Polygon PoS) (USDC.E) $ 0.999719
  • curve-dao-tokenCurve DAO (CRV) $ 0.434595
  • usdaiUSDai (USDAI) $ 0.999924
  • stakewise-v3-osethStakeWise Staked ETH (OSETH) $ 3,175.44
  • polygon-pos-bridged-dai-polygon-posPolygon PoS Bridged DAI (Polygon POS) (DAI) $ 0.999803
  • beldexBeldex (BDX) $ 0.081343
  • injective-protocolInjective (INJ) $ 6.06
  • lido-daoLido DAO (LDO) $ 0.664788
  • blockstackStacks (STX) $ 0.319841
  • tbtctBTC (TBTC) $ 90,746.00
  • newton-projectAB (AB) $ 0.006330
  • msolMarinade Staked SOL (MSOL) $ 184.82
  • usual-usdUsual USD (USD0) $ 0.997370
  • the-graphThe Graph (GRT) $ 0.051074
  • l2-standard-bridged-weth-baseL2 Standard Bridged WETH (Base) (WETH) $ 3,051.88
  • tezosTezos (XTZ) $ 0.501785
  • arbitrum-bridged-weth-arbitrum-oneArbitrum Bridged WETH (Arbitrum One) (WETH) $ 3,052.38
  • celestiaCelestia (TIA) $ 0.613704
  • true-usdTrueUSD (TUSD) $ 0.996255
  • cgeth-hashkey-cloudcgETH Hashkey Cloud (CGETH.HASH) $ 2,460.42
  • ether-fiEther.fi (ETHFI) $ 0.807106
  • mantle-bridged-usdt-mantleMantle Bridged USDT (Mantle) (USDT) $ 1.00
  • flokiFLOKI (FLOKI) $ 0.000050
  • myx-financeMYX Finance (MYX) $ 2.53
  • iotaIOTA (IOTA) $ 0.113571
  • usddUSDD (USDD) $ 1.00
  • gtethGTETH (GTETH) $ 3,051.67
  • kaiaKaia (KAIA) $ 0.079995
  • stader-ethxStader ETHx (ETHX) $ 3,279.91
  • telcoinTelcoin (TEL) $ 0.004849
  • pendlePendle (PENDLE) $ 2.79
  • ethereum-name-serviceEthereum Name Service (ENS) $ 11.81
  • eutblSpiko EU T-Bills Money Market Fund (EUTBL) $ 1.21
  • ether-fi-liquid-ethEther.Fi Liquid ETH (LIQUIDETH) $ 3,195.06
  • plasmaPlasma (XPL) $ 0.222323
  • pyth-networkPyth Network (PYTH) $ 0.075972
  • trust-wallet-tokenTrust Wallet (TWT) $ 1.04
  • conflux-tokenConflux (CFX) $ 0.083116
  • steakhouse-usdc-morpho-vaultSteakhouse USDC Morpho Vault (STEAKUSDC) $ 1.11
  • bitcoin-svBitcoin SV (BSV) $ 21.10
  • sonic-3Sonic (S) $ 0.111030
  • basic-attention-tokenBasic Attention (BAT) $ 0.279535
  • ghoGHO (GHO) $ 0.999010
  • the-sandboxThe Sandbox (SAND) $ 0.159247
  • bittorrentBitTorrent (BTT) $ 0.00000042
  • doublezeroDoubleZero (2Z) $ 0.117500
  • usdbUSDB (USDB) $ 1.00
  • sun-tokenSun Token (SUN) $ 0.021211
  • heliumHelium (HNT) $ 2.17
  • swethSwell Ethereum (SWETH) $ 3,336.98
  • merlin-chainMerlin Chain (MERL) $ 0.381477
  • decredDecred (DCR) $ 23.25
  • sbtc-2sBTC (SBTC) $ 90,353.00
  • coinbase-wrapped-staked-ethCoinbase Wrapped Staked ETH (CBETH) $ 3,377.59
  • justJUST (JST) $ 0.039154
  • lorenzo-wrapped-bitcoinLorenzo Wrapped Bitcoin (ENZOBTC) $ 90,454.00
  • binance-peg-dogecoinBinance-Peg Dogecoin (DOGE) $ 0.150410
  • dogwifcoindogwifhat (WIF) $ 0.383670
  • apenftAINFT (NFT) $ 0.00000039
  • flowFlow (FLOW) $ 0.234735
  • wrapped-hypeWrapped HYPE (WHYPE) $ 34.59
  • monadMonad (MON) $ 0.034786
  • bitcoin-avalanche-bridged-btc-bAvalanche Bridged BTC (Avalanche) (BTC.B) $ 91,019.00
  • benqi-liquid-staked-avaxBENQI Liquid Staked AVAX (SAVAX) $ 18.31
  • ether-fi-staked-ethether.fi Staked ETH (EETH) $ 3,051.53
  • galaGALA (GALA) $ 0.007859
  • jasmycoinJasmyCoin (JASMY) $ 0.007390
  • olympusOlympus (OHM) $ 22.30
  • gnosisGnosis (GNO) $ 135.98
  • theta-tokenTheta Network (THETA) $ 0.356636
  • compound-governance-tokenCompound (COMP) $ 35.78

Onyx Protocol Loses $3.8 Million in Preventable Hack

0 77

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.