Attacker Steals $11M Worth of Crypto

0

[ad_1]

Not one, but two decentralized finance (DeFi) protocols – Agave and Hundred Finance – were exploited in a fresh case of a “re-entrancy” attack.

The hacker reportedly managed to siphon funds worth $11 million in Wrapped ETH, Wrapped BTC, Chainlink, USDC, Gnosis, and Wrapped XDAI on both DeFi protocols on the Gnosis chain using a flash loan exploit.

The Hacks

Gauging at the data available on Tenderly for both breaches, it was found that the hacker exploited a re-entrancy bug in the two protocols.

For the uninitiated, “re-entrancy” is a vulnerability in the Solidity programming language that enables a malicious entity to deceive a protocol’s smart contract into making an external call to an untrusted contract. After the attacker gains control of the untrusted contract, they can make recursive calls to the original function to drain its funds.

Blockchain and security researcher, Mudit Gupta, revealed that the official bridged tokens on Gnosis are the main culprit and stated that they are “non-standard and have a hook that calls the token receiver on every transfer.” He added that this is what allows re-entrancy attacks.

Agave is a fork of DeFi lending platform Aave, while the multi-chain lending project, Hundred Finance, is a fork of Compound. Gupta also claimed that Compound does not follow the recommended checks-effects-interactions pattern despite referring to it.

The re-entrancy attacks become more staggering since “the code executes interactions before applying the effects.” On the other hand, Aave tries to follow the aforementioned checks-effects-interactions pattern. However, there exists a path via liquidations using which the attacker “broke the pattern” in the recent attack. He went on to add,

“The agave and hundred protocol teams messed up by listing a token that can reenter. Aave and compound governance actively check for reentrancy before listing tokens on the mainnet to avoid similar attacks.”

Popular DeFi lending platform Cream Finance, which shares a similar codebase to that of Compound, was also exploited in an $18.8 million flash loan reentrancy attack in August last year.

Funds Are Not SAFU

According to a developer at DeFi protocol DanceFloor, “Shegan,” the funds are not safe. However, Martin Köppelmann, the founder of Gnosis, said he would support a measure from the DAO. The team behind Hundred Finance and Agave is currently investigating the exploits and has paused the contracts.

SPECIAL OFFER (Sponsored)
Binance Free $100 (Exclusive): Use this link to register and receive $100 free and 10% off fees on Binance Futures first month (terms).

PrimeXBT Special Offer: Use this link to register & enter POTATO50 code to receive up to $7,000 on your deposits.

[ad_2]

Source link

Leave A Reply

Your email address will not be published.

bitcoin
Bitcoin (BTC) $ 58,069.00
ethereum
Ethereum (ETH) $ 1,622.38
tether
Tether (USDT) $ 0.999030
bnb
BNB (BNB) $ 546.06
usd-coin
USDC (USDC) $ 0.999510
xrp
XRP (XRP) $ 0.924729
solana
Solana (SOL) $ 70.35
figure-heloc
Figure Heloc (FIGR_HELOC) $ 1.07
staked-ether
Lido Staked Ether (STETH) $ 2,265.05
tron
TRON (TRX) $ 0.295480
hyperliquid
Hyperliquid (HYPE) $ 64.28
zcash
Zcash (ZEC) $ 766.40
dogecoin
Dogecoin (DOGE) $ 0.057527
leo-token
LEO Token (LEO) $ 9.14
monero
Monero (XMR) $ 382.90
whitebit
WhiteBIT Coin (WBT) $ 58.73
wrapped-steth
Wrapped stETH (WSTETH) $ 2,779.67
chainlink
Chainlink (LINK) $ 9.01
usds
USDS (USDS) $ 0.999824
wrapped-bitcoin
Wrapped Bitcoin (WBTC) $ 76,243.00
cardano
Cardano (ADA) $ 0.142721
binance-bridged-usdt-bnb-smart-chain
Binance Bridged USDT (BNB Smart Chain) (BSC-USD) $ 0.998762
ethena-usde
Ethena USDe (USDE) $ 0.999460
wrapped-beacon-eth
Wrapped Beacon ETH (WBETH) $ 2,466.93
dai
Dai (DAI) $ 0.999977
stellar
Stellar (XLM) $ 0.121473
bitcoin-cash
Bitcoin Cash (BCH) $ 207.09
wrapped-eeth
Wrapped eETH (WEETH) $ 2,465.31
near
NEAR Protocol (NEAR) $ 2.94
litecoin
Litecoin (LTC) $ 42.74
quantixai
Quantix Finance (QFI) $ 999.15
susds
sUSDS (SUSDS) $ 1.08
canton-network
Canton (CC) $ 0.074209
tether-gold
Tether Gold (XAUT) $ 3,618.32
avalanche-2
Avalanche (AVAX) $ 6.38
coinbase-wrapped-btc
Coinbase Wrapped BTC (CBBTC) $ 76,366.00
uniswap
Uniswap (UNI) $ 4.62
the-open-network
Gram (prev. Toncoin) (GRAM) $ 0.943799
blockchain-usd
Blockchain USD (USDB) $ 0.932324
ripple-usd
Ripple USD (RLUSD) $ 0.999907
weth
WETH (WETH) $ 2,268.37
sui
Sui (SUI) $ 0.646084
global-dollar
Global Dollar (USDG) $ 1.00
usd1-wlfi
USD1 (USD1) $ 0.998832
usdt0
USDT0 (USDT0) $ 0.998824
ondo-us-dollar-yield
Ondo US Dollar Yield (USDY) $ 1.15
paypal-usd
PayPal USD (PYUSD) $ 0.999755
hedera-hashgraph
Hedera (HBAR) $ 0.050334
hashnote-usyc
Circle USYC (USYC) $ 1.15
shiba-inu
Shiba Inu (SHIB) $ 0.000004
Shares