‘Unlucky’: Agave and Hundred Finance DeFi protocols exploited for $11M

2 years ago

A hacker has made disconnected with astir $11 million successful Wrapped ETH, Wrapped BTC, Chainlink, USDC, Gnosis, and Wrapped XDAI aft utilizing a “re-entrancy” onslaught connected DeFi lending protocol applications Agave and Hundred Finance.

The onslaught comes wrong 24 hours of quality breaking of the Deus Finance exploit, wherever hackers stole implicit $3 cardinal successful Dai and Ethereum from the lending declaration platform.

Agave’s token, AGVE, dropped by 20 per cent pursuing the attack, according to information from CoinGecko. Hundred Finances’ token HND fell 3.5 per cent aft it announced the exploit, nevertheless it’s since recovered to deed a 24-hour-high.

“Agave is presently investigating an exploit connected the agave concern protocol”, Agave tweeted connected Tuesday 15th astatine 1:30pm UTC, “We volition update you arsenic soon arsenic we cognize more.” It noted that the contracts person been paused until the concern is resolved.

The Hundred Finance squad besides tweeted it was exploited connected Gnosis chain, and has paused its markets whilst it pursued investigations.

According to on-chain analysis, the address associated with the attacker has sent implicit 2,100 ETH, worthy implicit $5.5 million, to a crypto mixer successful an effort to launder the stolen tokens.

Related:Deus Finance exploit: Hackers get distant with $3M worthy of DAI and Ether

Solidity developer and creator of an NFT liquidity protocol app, Shegen (@shegenerates) tweeted that she mislaid $225,000 successful the exploit, and that her investigations revealed the onslaught worked by exploiting a wETH declaration relation connected Gnosis Chain that allowed the attacker to proceed borrowing crypto earlier the apps could cipher the debt, which would forestall further borrowing.

The attacker ran this exploit, continually borrowing against the aforesaid collateral they were posting until the funds were drained from the protocols.

Shegen told Cointelegraph that portion the astute declaration connected Agave is fundamentally the aforesaid arsenic Aave, which secures $18.4B, “every information researcher has audited it,” she said “so it’s tenable to presume the declaration is safe.”

“I deliberation this hack stands retired much than immoderate bigger ones,” Shegen said, noting that adjacent if it's a smaller hack compared to others that stole millions more, the similarity to Aave meant “it seems apical tier safe, but wasn't, and that interruption of spot hurts.”

“It’s similar you can't adjacent spot “safe” code.”

Blockchain information researcher Mudit Gupta says the quality betwixt Aave and Agave is that “Aave actively checks for re-entrancy earlier listing tokens connected the main nett to debar akin attacks.”

Shegen stated that she did not blasted the Agave developers for failing to forestall the attack.

“Agave was utilized successful an unsafe way”, she said, “maybe the developer should not person allowed tokens with callbacks successful them to beryllium utilized successful the platform, oregon added much re-entrancy guards.”

“Curve, for example, was not hacked today, due to the fact that it has other re-entrancy guards, but I don't truly blasted Luigy and the Agave squad due to the fact that it's truthful improbable that this would person happened, and slipped past galore people.”

Shegen besides didn’t constituent the blasted astatine Gnosis for creating tokens with a callback relation which the hacker exploited, saying that the diagnostic stops users from accidentally losing their crypto.

“That's really a large diagnostic for bridged tokens, it's conscionable a truly unfortunate, and unlucky condition successful my opinion.”

View source