• bitcoinBitcoin (BTC) $ 91,090.00
  • ethereumEthereum (ETH) $ 3,094.45
  • tetherTether (USDT) $ 0.998888
  • xrpXRP (XRP) $ 2.05
  • bnbBNB (BNB) $ 902.09
  • usd-coinUSDC (USDC) $ 0.999795
  • tronTRON (TRX) $ 0.299657
  • staked-etherLido Staked Ether (STETH) $ 3,093.19
  • dogecoinDogecoin (DOGE) $ 0.136347
  • figure-helocFigure Heloc (FIGR_HELOC) $ 1.04
  • cardanoCardano (ADA) $ 0.385276
  • bitcoin-cashBitcoin Cash (BCH) $ 623.70
  • wrapped-stethWrapped stETH (WSTETH) $ 3,788.46
  • moneroMonero (XMR) $ 633.89
  • whitebitWhiteBIT Coin (WBT) $ 54.74
  • wrapped-bitcoinWrapped Bitcoin (WBTC) $ 90,920.00
  • wrapped-beacon-ethWrapped Beacon ETH (WBETH) $ 3,366.46
  • wrapped-eethWrapped eETH (WEETH) $ 3,360.23
  • usdsUSDS (USDS) $ 0.999726
  • chainlinkChainlink (LINK) $ 13.06
  • binance-bridged-usdt-bnb-smart-chainBinance Bridged USDT (BNB Smart Chain) (BSC-USD) $ 0.998745
  • leo-tokenLEO Token (LEO) $ 9.11
  • wethWETH (WETH) $ 3,095.24
  • stellarStellar (XLM) $ 0.219115
  • coinbase-wrapped-btcCoinbase Wrapped BTC (CBBTC) $ 91,089.00
  • suiSui (SUI) $ 1.75
  • zcashZcash (ZEC) $ 396.77
  • ethena-usdeEthena USDe (USDE) $ 0.999315
  • litecoinLitecoin (LTC) $ 75.94
  • avalanche-2Avalanche (AVAX) $ 13.50
  • hyperliquidHyperliquid (HYPE) $ 24.06
  • canton-networkCanton (CC) $ 0.138726
  • shiba-inuShiba Inu (SHIB) $ 0.000008
  • hedera-hashgraphHedera (HBAR) $ 0.114806
  • world-liberty-financialWorld Liberty Financial (WLFI) $ 0.169555
  • susdssUSDS (SUSDS) $ 1.08
  • usdt0USDT0 (USDT0) $ 0.998962
  • daiDai (DAI) $ 1.00
  • the-open-networkToncoin (TON) $ 1.73
  • crypto-com-chainCronos (CRO) $ 0.099059
  • ethena-staked-usdeEthena Staked USDe (SUSDE) $ 1.21
  • paypal-usdPayPal USD (PYUSD) $ 0.999887
  • usd1-wlfiUSD1 (USD1) $ 0.999192
  • polkadotPolkadot (DOT) $ 2.07
  • uniswapUniswap (UNI) $ 5.36
  • mantleMantle (MNT) $ 0.948783
  • rainRain (RAIN) $ 0.008653
  • memecoreMemeCore (M) $ 1.69
  • bittensorBittensor (TAO) $ 281.79
  • aaveAave (AAVE) $ 165.09
  • bitget-tokenBitget Token (BGB) $ 3.56
  • pepePepe (PEPE) $ 0.000006
  • tether-goldTether Gold (XAUT) $ 4,578.99
  • okbOKB (OKB) $ 111.04
  • nearNEAR Protocol (NEAR) $ 1.70
  • falcon-financeFalcon USD (USDF) $ 0.998010
  • jito-staked-solJito Staked SOL (JITOSOL) $ 173.69
  • ethereum-classicEthereum Classic (ETC) $ 12.24
  • binance-peg-wethBinance-Peg WETH (WETH) $ 3,094.14
  • pax-goldPAX Gold (PAXG) $ 4,592.97
  • blackrock-usd-institutional-digital-liquidity-fundBlackRock USD Institutional Digital Liquidity Fund (BUIDL) $ 1.00
  • pi-networkPi Network (PI) $ 0.205674
  • internet-computerInternet Computer (ICP) $ 3.12
  • ethenaEthena (ENA) $ 0.213336
  • aster-2Aster (ASTER) $ 0.686578
  • solanaSolana (SOL) $ 138.63
  • polygon-ecosystem-tokenPOL (ex-MATIC) (POL) $ 0.149874
  • htx-daoHTX DAO (HTX) $ 0.000002
  • jupiter-perpetuals-liquidity-provider-tokenJupiter Perpetuals Liquidity Provider Token (JLP) $ 4.77
  • binance-staked-solBinance Staked SOL (BNSOL) $ 151.48
  • hashnote-usycCircle USYC (USYC) $ 1.11
  • global-dollarGlobal Dollar (USDG) $ 0.999664
  • worldcoin-wldWorldcoin (WLD) $ 0.555789
  • kucoin-sharesKuCoin (KCS) $ 11.17
  • pump-funPump.fun (PUMP) $ 0.002451
  • syrupusdcsyrupUSDC (SYRUPUSDC) $ 1.15
  • ripple-usdRipple USD (RLUSD) $ 0.999895
  • aptosAptos (APT) $ 1.77
  • bfusdBFUSD (BFUSD) $ 0.998492
  • wbnbWrapped BNB (WBNB) $ 902.02
  • hash-2Provenance Blockchain (HASH) $ 0.024398
  • skySky (SKY) $ 0.056089
  • binance-bridged-usdc-bnb-smart-chainBinance Bridged USDC (BNB Smart Chain) (USDC) $ 0.999669
  • rocket-pool-ethRocket Pool ETH (RETH) $ 3,574.09
  • kaspaKaspa (KAS) $ 0.046622
  • render-tokenRender (RENDER) $ 2.36
  • cosmosCosmos Hub (ATOM) $ 2.50
  • ondo-financeOndo (ONDO) $ 0.385896
  • gatechain-tokenGate (GT) $ 10.28
  • arbitrumArbitrum (ARB) $ 0.201599
  • algorandAlgorand (ALGO) $ 0.129160
  • kelp-dao-restaked-ethKelp DAO Restaked ETH (RSETH) $ 3,285.10
  • myx-financeMYX Finance (MYX) $ 5.85
  • midnight-3Midnight (NIGHT) $ 0.065719
  • filecoinFilecoin (FIL) $ 1.46
  • official-trumpOfficial Trump (TRUMP) $ 5.35
  • story-2Story (IP) $ 3.04
  • bridged-wrapped-lido-staked-ether-scrollBridged Wrapped Lido Staked Ether (Scroll) (WSTETH) $ 3,782.44
  • lombard-staked-btcLombard Staked BTC (LBTC) $ 91,190.00
  • ignition-fbtcFunction FBTC (FBTC) $ 90,961.00
  • vechainVeChain (VET) $ 0.011266
  • solv-btcSolv Protocol BTC (SOLVBTC) $ 90,949.00
  • nexoNEXO (NEXO) $ 0.957550
  • flare-networksFlare (FLR) $ 0.011289
  • usddUSDD (USDD) $ 0.998475
  • bonkBonk (BONK) $ 0.000010
  • xdce-crowd-saleXDC Network (XDC) $ 0.046216
  • janus-henderson-anemoy-aaa-clo-fundJanus Henderson Anemoy AAA CLO Fund (JAAA) $ 1.02
  • usdtbUSDtb (USDTB) $ 0.999154
  • mantle-staked-etherMantle Staked Ether (METH) $ 3,348.57
  • liquid-staked-ethereumLiquid Staked ETH (LSETH) $ 3,277.23
  • ousgOUSG (OUSG) $ 113.94
  • superstate-short-duration-us-government-securities-fund-ustbSuperstate Short Duration U.S. Government Securities Fund (USTB) (USTB) $ 10.95
  • wrappedm-by-m0WrappedM by M^0 (WM) $ 0.999865
  • sei-networkSei (SEI) $ 0.118408
  • bridged-usdc-polygon-pos-bridgePolygon Bridged USDC (Polygon PoS) (USDC.E) $ 0.999697
  • pudgy-penguinsPudgy Penguins (PENGU) $ 0.011733
  • arbitrum-bridged-wbtc-arbitrum-oneArbitrum Bridged WBTC (Arbitrum One) (WBTC) $ 90,877.00
  • clbtcclBTC (CLBTC) $ 91,345.00
  • morphoMorpho (MORPHO) $ 1.29
  • blockstackStacks (STX) $ 0.385229
  • renzo-restaked-ethRenzo Restaked ETH (EZETH) $ 3,304.75
  • ondo-us-dollar-yieldOndo US Dollar Yield (USDY) $ 1.11
  • jupiter-staked-solJupiter Staked SOL (JUPSOL) $ 161.04
  • beldexBeldex (BDX) $ 0.090155
  • usdaiUSDai (USDAI) $ 1.00
  • jupiter-exchange-solanaJupiter (JUP) $ 0.206598
  • syrupusdtsyrupUSDT (SYRUPUSDT) $ 1.11
  • wrapped-flareWrapped Flare (WFLR) $ 0.011296
  • pancakeswap-tokenPancakeSwap (CAKE) $ 1.94
  • fetch-aiArtificial Superintelligence Alliance (FET) $ 0.280580
  • stakewise-v3-osethStakeWise Staked ETH (OSETH) $ 3,287.31
  • virtual-protocolVirtuals Protocol (VIRTUAL) $ 0.975422
  • l2-standard-bridged-weth-baseL2 Standard Bridged WETH (Base) (WETH) $ 3,094.51
  • polygon-pos-bridged-dai-polygon-posPolygon PoS Bridged DAI (Polygon POS) (DAI) $ 0.999833
  • optimismOptimism (OP) $ 0.309753
  • tezosTezos (XTZ) $ 0.554850
  • eutblSpiko EU T-Bills Money Market Fund (EUTBL) $ 1.22
  • curve-dao-tokenCurve DAO (CRV) $ 0.393478
  • arbitrum-bridged-weth-arbitrum-oneArbitrum Bridged WETH (Arbitrum One) (WETH) $ 3,095.72
  • kinetic-staked-hypeKinetiq Staked HYPE (KHYPE) $ 24.28
  • usual-usdUsual USD (USD0) $ 0.986857
  • tbtctBTC (TBTC) $ 90,959.00
  • lighterLighter (LIT) $ 2.12
  • spx6900SPX6900 (SPX) $ 0.571786
  • chilizChiliz (CHZ) $ 0.051171
  • lido-daoLido DAO (LDO) $ 0.609064
  • aerodrome-financeAerodrome Finance (AERO) $ 0.558279
  • dashDash (DASH) $ 40.54
  • injective-protocolInjective (INJ) $ 5.03
  • ghoGHO (GHO) $ 1.00
  • first-digital-usdFirst Digital USD (FDUSD) $ 1.00
  • gtethGTETH (GTETH) $ 3,092.73
  • true-usdTrueUSD (TUSD) $ 0.997644
  • flokiFLOKI (FLOKI) $ 0.000051
  • msolMarinade Staked SOL (MSOL) $ 187.35
  • ether-fiEther.fi (ETHFI) $ 0.724422
  • fasttokenFasttoken (FTN) $ 1.09
  • celestiaCelestia (TIA) $ 0.529661
  • ether-fi-liquid-ethEther.Fi Liquid ETH (LIQUIDETH) $ 3,338.10
  • steakhouse-usdc-morpho-vaultSteakhouse USDC Morpho Vault (STEAKUSDC) $ 1.11
  • syrupMaple Finance (SYRUP) $ 0.388205
  • stader-ethxStader ETHx (ETHX) $ 3,336.94
  • the-graphThe Graph (GRT) $ 0.040601
  • coinbase-wrapped-staked-ethCoinbase Wrapped Staked ETH (CBETH) $ 3,464.08
  • newton-projectAB (AB) $ 0.004455
  • jasmycoinJasmyCoin (JASMY) $ 0.008573
  • sbtc-2sBTC (SBTC) $ 90,543.00
  • bittorrentBitTorrent (BTT) $ 0.00000041
  • usdbUSDB (USDB) $ 1.00
  • starknetStarknet (STRK) $ 0.080801
  • wrapped-apecoinWrapped ApeCoin (WAPE) $ 0.202526
  • staked-aaveStaked Aave (STKAAVE) $ 163.86
  • iotaIOTA (IOTA) $ 0.094918
  • doublezeroDoubleZero (2Z) $ 0.115725
  • justJUST (JST) $ 0.040305
  • sun-tokenSun Token (SUN) $ 0.020651
  • riverRiver (RIVER) $ 19.84
  • ethereum-name-serviceEthereum Name Service (ENS) $ 10.10
  • conflux-tokenConflux (CFX) $ 0.074655
  • bitcoin-svBitcoin SV (BSV) $ 19.10
  • wrapped-stx-velarWrapped STX (Velar) (WSTX) $ 0.381450
  • pyth-networkPyth Network (PYTH) $ 0.064626
  • dogwifcoindogwifhat (WIF) $ 0.370056
  • chain-2Onyxcoin (XCN) $ 0.008698
  • gnosisGnosis (GNO) $ 139.75
  • trust-wallet-tokenTrust Wallet (TWT) $ 0.876426
  • fartcoinFartcoin (FARTCOIN) $ 0.365020
  • apenftAINFT (NFT) $ 0.00000037
  • cap-usdCap USD (CUSD) $ 0.995123
  • crvusdcrvUSD (CRVUSD) $ 0.996891
  • kaiaKaia (KAIA) $ 0.061271
  • euro-coinEURC (EURC) $ 1.17
  • pendlePendle (PENDLE) $ 2.12
  • telcoinTelcoin (TEL) $ 0.003716
  • bitcoin-avalanche-bridged-btc-bAvalanche Bridged BTC (Avalanche) (BTC.B) $ 90,908.00
  • kinesis-goldKinesis Gold (KAU) $ 147.66
  • olympusOlympus (OHM) $ 21.40
  • binance-peg-dogecoinBinance-Peg Dogecoin (DOGE) $ 0.136325
  • c8ntinuumc8ntinuum (CTM) $ 0.079897

Onyx Protocol Loses $3.8 Million in Preventable Hack

0 91

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.