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

Reserve Bank of Zimbabwe ‘Developed a Roadmap for Adoption of CBDC,’ Says Governor
Reserve Bank of Zimbabwe "Developed a Roadmap for Adoption of CBDC," Says Governor The governor of the Zimbabwean central bank, John Mangudya, recently said his organization ȁ
Curve Finance reduces CRV emissions, boosting DAO sustainability
Josh O"Sullivan11 hours agoCurve Finance reduces CRV emissions, boosting DAO sustainabilityCurve Finance’s CRV token emissions reduced to 137 million annually, while Curve DAO’s earnings surpassed emissions for the f
Helen Partz10 hours agoBinance-linked HKVAEX still preparing to apply for license in Hong KongHKVAEX and VAEXC are different crypto platforms in Hong Kong and have nothing to do with each other, a HKVAEX representative s
Bitcoin’s Rising Correlation With Gold Indicates Investors See It as a Safe-Haven, Says Bank of America Market Strategists
Bitcoin’s Rising Correlation With Gold Indicates Investors See It as a Safe-Haven, Says Bank of America Market Strategists Amid the economic uncertainty affecting a myriad of cou
Savannah Fortis13 hours agoAnthropic AI raises $100M from South Korea to bolster telecommunications industryGoogle-backed AI developer Anthropic raised $100 million in funding from South Korean telecommunications giant S
Tom Mitchelhill3 hours agoSolana hoses down ‘inaccurate’ CertiK report on Saga phone security flawsCertiK claims Solana’s Saga smartphone contains a critical “bootloader vulnerability”; Solana Labs says the cla
Fantom seeks Multichain liquidation in attempt to recover $122M from exploit
Jesse Coghlan6 hours agoFantom seeks Multichain liquidation in attempt to recover $122M from exploitFantom plans to petition a Singapore court to wind up the Multichain Foundation to recover millions it lost due to the M
FL Gov. DeSantis Proposes Ban on Central Bank Digital Currency Use as Money
FL Gov. DeSantis Proposes Ban on Central Bank Digital Currency Use as Money Governor Ron DeSantis of the U.S. state of Florida has proposed legislation to prohibit the use of centr
Tom Mitchelhill31 minutes agoJudge rejects SEC’s motion to file an appeal against Ripple rulingDistrict court judge Analisa Torres denied the SEC"s motion to file an appeal, claiming that the regulator did not show tha
Terra Fiasco Stirs Value Locked in Defi — Lido, Anchor Plummet to Lower Positions
Terra Fiasco Stirs Value Locked in Defi — Lido, Anchor Plummet to Lower Positions Decentralized finance (defi) protocols are having a hard time weathering the storm, as the total
A Tor-Integrated Cashfusion Build for Bitcoin Cash Is Coming
A Tor-Integrated Cashfusion Build for Bitcoin Cash Is Coming On Monday, Electron Cash developer Jonald Fyookball updated the Bitcoin Cash (BCH) community in regards to the Cashfu
Coinbase CEO’s Hot Take: Bitcoin Is Basically A ‘Meme Coin’
Este artículo también está disponible en español. Brian Armstrong, the CEO of Coinbase, has recently made an audacious statement regarding Bitcoin that has caused quite a