BSV
$54.28
Vol 32.32m
-3.59%
BTC
$97209
Vol 46063.76m
-1.13%
BCH
$457.46
Vol 388.17m
-2.28%
LTC
$103.15
Vol 860.24m
-0.82%
DOGE
$0.32
Vol 5564.29m
-4.46%
Getting your Trinity Audio player ready...

DeFi developers and auditors are getting lax. Attackers are taking advantage of an exploit that exists across multiple DeFi platforms and making off with millions of dollars as a result.

In the latest DeFi exploit, ‘Popsicle Finance,’ a platform that automatically deploys user funds to the liquidity pool that gives them the highest yield, was exploited for $25 million by an attacker that took advantage of a loophole in the Popsicle Finance code.

What’s unfortunate is, Mudit Gupta, a security researcher, pointed out that that this bug existed in DeFi contract protocols in late June.

Yet, the DeFi projects that came to fruition afterward, as well as smart contract developers and auditors, failed to recognize and patch this bug that exists in many DeFi protocols.

“When a user deposits tokens into Popsicle, it updates `token0PerSharePaid` and `token1PerSharePaid` against their account to keep track of when they deposited the tokens. This helps the contract pay rewards to the user from the date they entered rather than from the first day,” said Gupta shortly after the attack occurred.

“The bug in Popsicle is that these variables are not updated when the user transfers their share to a different address. The new address is eligible to claim rewards from day 0 rather than from when the user deposited their tokens. This is what the attacker did. This bug also allows the user to keep transferring the shares and claiming rewards for the same shares multiple times using different accounts.”

Where’s the progress?

Rather than taking the time to write the contract for the app or service they are looking to build, several DeFi developers simply copy and paste the code from projects that accomplish similar goals. Even when DeFi platforms pay for a security audit before they go live, it is not uncommon for auditors to miss crucial bugs in contracts that pave the way for multi-million dollar exploits–like when Akropolis, the DeFi platform that underwent two independent audits, was exploited.

“Auditors and Smart contract devs need to keep up with the ecosystem. This code should not have made it to production,” said Gupta.

The lack of innovation and progress shows that a majority of the DeFi industry has not improved over time. New projects are typically forks of old projects with no new features just a new name, developers and auditors are still missing critical bugs in the code that can drain a project’s liquidity pool, and attackers are still exploiting these bugs and making off with millions of dollars. Although a significant amount of time has passed since the creation of DeFi, not much has changed.

Recommended for you

Who wants to be an entrepreneur?
Embodying the big five personality traits could be beneficial for aspiring entrepreneurs, but Block Dojo shows that there is more...
December 20, 2024
UNISOT, PSU China team up for supply chain business intelligence
UNISOT revealed a new partnership with business intelligence and research firm PSU China, which will combine its data with UNISOT's...
December 20, 2024
Advertisement
Advertisement
Advertisement