Fun

DeFi protocol removed an important line of code that led to a $212K hack

News Feed - 2024-08-02 01:08:57

Brayden Lindrea4 hours agoDeFi protocol removed an important line of code that led to a $212K hackThe attack occurred around 3 am UTC on Aug. 1, leading Convergence’s native token CVG to plummet over 99%.1343 Total views2 Total sharesListen to article 0:00NewsOwn this piece of crypto historyCollect this article as NFTCOINTELEGRAPH IN YOUR SOCIAL FEEDFollow ourSubscribe onDecentralized finance protocol Convergence has confirmed it was hacked via a smart contract exploit on Aug. 1, with a hacker minting and selling $210 million in its native token, as well as stealing $2,000 in unclaimed staking rewards.


According to a newly released post-mortem from Wireshark, the pseudonymous founder of the Convergence protocol, the hacker exploited the protocol’s CvxRewardDistributor contract, allowing them to mint and sell 58 million CVG tokens for approximately $210,000.


The hacker also stole approximately $2,000 of unclaimed rewards from Convex, a DeFi protocol designed to maximize rewards for Curve liquidity providers.


According to Etherscan, the attack occurred on Aug. 1 at around 3:00 am UTC.


Blockchain security firm PeckShield noted that after minting the CVG tokens, the hacker quickly swapped it into 60 wrapped-Ether and 15,900 Curve.fi FRAX.


The movements have since led to a near-100% price wipeout of the CVG governance token, which is now trading at $0.0004 with a market cap of just $57,000. CoinMarketCap data shows.Source:PeckShieldHow the hack happened


Convergence said the attack was possible because the team accidentally removed an essential line of code in its smart contract, which distributes CVG staking rewards. They made the change after the smart contract code was audited four times. 


“The modification (gas-optimization on the first hand) led us to remove the line of code that was checking the input given to the function,” it explained. 


The hacker used this to exploit the CvxRewardDistributor contract through the claimMultipleStaking function.


This meant the staking contract couldn’t be validated, allowing the hacker to pass a separate malicious contract with the same signature as the claimCvgCvxMultiple function.


The hacker then minted all tokens dedicated to staking emissions and then dumped them into CVG liquidity pools, Convergence said. “We apologize to our community and investors, and we take full responsibility for what happened.”


Related:Over 70% of hacked funds are lost to CeFi entities — Cyvers


Convergence says that user funds are safe, but has recommended users withdraw assets from the platform.


“Due to the exploit, the rewards contract for the Stake DAO integration is currently broken. It will be fixed, and stakers will be able to claim their rewards once it’s done. No rewards are lost for Stake DAO integration users," it said. "We will soon communicate about the possibilities for the future of the protocol."


Convergence works to aggregate liquidity, boost returns and enable liquid locking across the Curve Finance ecosystem.


The total value locked on Convergence fell from $5.79 million to $3.69 million, DefiLlama data shows.


The cryptocurrency ecosystem lost around $266 million to hacks in July, mostly coming from the $230 million hack of Indian trading platform WazirX on July 18.


Magazine:THORChain founder and his plan to ‘vampire attack’ all of DeFi# Altcoin# Smart Contracts# Hackers# Hacks# DeFi# LiquidityAdd reaction

News Feed

Toncoin Eyes Notable Uptrend After Breaking Above This Key Chart Pattern
Reason to trust Strict editorial policy that focuses on accuracy, relevance, and impartiality Created by industry experts and meticulously reviewed The highest standards in reporting and pu
Helen Partz9 hours agoBinance limits withdrawals in Europe, cites payment processor issuesIn a since-deleted customer service message, Binance said that the failed withdrawals were caused by temporarily suspended euro tr
Bitcoin Superstar and Bitcoin Era – The Latest Two Faces of the Same Scam
Bitcoin Superstar and Bitcoin Era - The Latest Two Faces of the Same Scam With the rising price and popularity of bitcoin come numerous scams. Bitcoin Superstar and Bitcoin Era a
Linea receives first contributor for open-source L2 rollup
Josh O"Sullivan12 hours agoLinea receives first contributor for open-source L2 rollupStatus partners with Linea, marking the beginning of a significant contribution to Linea’s zkEVM-powered L2 rollup as part of a broad
Why JSON-LD matters for Web3
Brian Platz8 hours agoWhy JSON-LD matters for Web3Web3 is confusing because it’s still in its formative stages. Nobody quite knows which inventions will shape it next.325 Total viewsListen to article 0:00Innovation Cir
FBI Launches ‘Virtual Asset Exploitation Unit’ With Specialized Team of Crypto Experts
FBI Launches "Virtual Asset Exploitation Unit" With Specialized Team of Crypto Experts The Federal Bureau of Investigation (FBI) has launched a new unit to tackle crypto exploitati
Mirror World CEO on building Solana game engine after $12M raise
Zhiyuan Sun8 hours agoMirror World CEO on building Solana game engine after $12M raiseThe firm currently develops Solana’s only SDK designed to onboard GameFi developers to the blockchain.5331 Total views2 Total shares
Maxim Magazine Launches Its NFT Marketplace Together With xSigma, a Subsidiary of Nasdaq: ZKIN
Maxim Magazine Launches Its NFT Marketplace Together With xSigma, a Subsidiary of Nasdaq: ZKIN sponsored xSigma,a blockchain R&D lab and subsidiary of ZK International (Nasdaq: ZKIN
Nigerian Presidential Candidate Says Fixed Exchange Rate Regime ‘Has to End’ — Touts Success of Fintech Unicorn Flutterwave
Nigerian Presidential Candidate Says Fixed Exchange Rate Regime "Has to End" — Touts Success of Fintech Unicorn Flutterwave A Nigerian presidential election candidate, Peter Obi,
Crypto Economy Recaptures $2 Trillion, Bitcoin Moves Back Into the World’s Top 10 Most Valuable Assets
Crypto Economy Recaptures $2 Trillion, Bitcoin Moves Back Into the World"s Top 10 Most Valuable Assets The crypto economy has jumped back above the $2 trillion mark after falling b
Zain Jaffer10 hours agoTradFi shifts perspectives on crypto assetsBut again, there was a progression where the analog versions of this entertainment content were with us. So, many of us in the older crowd have grown to a
Central Bank of Uruguay Describes Roadmap to Crypto Asset Regulation
Central Bank of Uruguay Describes Roadmap to Crypto Asset Regulation The Central Bank of Uruguay has issued a statement describing a roadmap for the regulation of cryptocurrency as