Hackers Exploit Ethereum to Inject Malware in Popular Coding Libraries
Hackers are now exploiting vulnerabilities in widely-used NPM coding libraries to inject malware into Ethereum smart contracts, according to cybersecurity research by blockchain compliance firm Reversing Labs(RL).In a Se...
Archive context
Older archive item. Useful for background and entity history, but not a fresh market-moving signal.
Hackers are now exploiting vulnerabilities in widely-used NPM coding libraries to inject malware into Ethereum smart contracts, according to cybersecurity research by blockchain compliance firm Reversing Labs(RL).
In a September 3 blog post detailing the discovery, researcher Lucija Valentić revealed that threat actors bypass security scans by exploiting new open-source malware present in the Node Package Manager (NPM) package repository, which contains extensive JavaScript packages and libraries.
The most destructive malware discovered was “colortoolsv2” and “mimelib2“, both published in July, which were found to abuse smart contracts to conceal malicious commands that install downloader malware on infected systems.
Source: ReversingLabsHow Ethereum Smart Contracts Turn Into Malware Command CentersThese packages are part of broader open-source libraries affecting both NPM and GitHub, where malicious supply chain actors use advanced social engineering and deception tactics to trick developers into incorporating harmful code into their projects.
According to ReversingLabs, 2025 has witnessed a diverse range of malicious campaigns targeting NPM, the leading online repository for JavaScript packages.
In March, RL documented the discovery of NPM packages ethers-provider2 and ethers-providerz
Since discovering the ethers campaign, researchers have detected numerous additional infostealers, downloaders, and droppers found on NPM.
At the beginning of July, RL researcher Karlo Zanki discovered and reported a new NPM campaign involving a basic package that deployed blockchain in a novel way to deliver a malicious second stage.
RL threat researchers detected a malicious #npm package abusing #blockchain for malicious command hosting: https://t.co/Hc0QjaH3So pic.twitter.com/uQ3xXAIEkZ
— ReversingLabs (@ReversingLabs) July 11, 2025The exact package colortoolsv2 is being used to infiltrate Ethereum smart contracts.
According to RL researchers, the malware is a basic NPM package containing just two files.
The major file is a script named index.js, which contains a hidden malicious payload.
Once installed in a project, the script would run to fetch blockchain data and execute a harmful command by loading the URL for a command and control (C2) server that would then download second-stage malware to the requesting system.
Although “downloader” malware is a common method hackers use in NPM repositories to target victims, this specific malware is unusual as it uses Ethereum smart contracts to host the URLs where malicious commands are located for downloading the second-stage malware.
It gets even more fancy: the way Etherscan was tricked showing the wrong implementation contract is based on setting 2 different proxy slots in the same frontrunning tx. So Etherscan uses a certain heuristic that incorporates different storage slots to retrieve the implementation… https://t.co/8VSCKK7DfY pic.twitter.com/OyxcxZwg5N
— sudo rm -rf –no-preserve-root / (@pcaversaccio) July 10, 2025Notably, the cybersecurity researchers acknowledge that they haven’t encountered this approach previously.
Two-File Malware Hides a $2.5M Bridge Exploit MethodThe researchers uncovered a Solana-trading-bot infected by the malicious colortoolsv2 package called solana-trading-bot-v2, which appears to be a trustworthy GitHub project to the average observer.
Source: ReversingLabsIt has thousands of commits, several active contributors, and a decent number of stars and watchers, all characteristics of legitimate open-source repositories.
However, all these details were fabricated, and any developer who installs it risks having user wallets that interact with the bot drained of funds.
Software supply chain attacks targeting smart contracts and blockchain infrastructure are now on the rise.
In July, hackers exploited a vulnerability in Arcadia Finance’s Rebalancer contract, draining approximately $2.5 million in cryptocurrency from the decentralized finance platform operating on Base blockchain.
The attackers manipulated arbitrary swapData parameters to execute unauthorized swaps that emptied user vaults.
A recent report by blockchain analytics firm Global Ledger revealed that hackers have now stolen $3 billion worth of crypto in 119 separate incidents during the first half of 2025, which is 150% more than all of 2024.
Slava Demchuk, CEO of analytics firm AMLBot, said access-control flaws and smart contract vulnerabilities, especially in bridges, continue to be dominant attack methods.
Demchuk told Cryptonews that these hackers are exploiting the interconnected and composable nature of decentralized finance (DeFi) protocols to amplify the impact.
Blockchain auditors advised that it is critical for developers to assess each library they are considering implementing before deciding to include it in their development cycle.
The post Hackers Exploit Ethereum to Inject Malware in Popular Coding Libraries appeared first on Cryptonews.
Why this matters
This security story adds another data point to the current market tape and is useful when read alongside nearby source coverage.
Original source
Read on CryptonewsRelated market context
As Ethereum turns 11 years old it hosts $148B in stablecoins, but daily mainnet revenue just fell to $330k
Ethereum turned 11 on July 30, the anniversary of the day users generated and loaded the Frontier genesis block in 2015. In its fi...
Ethereum Turns 11 With $148B Stablecoin Base But Cooler Mainnet Fees
Ethereum has turned 11, and the network’s birthday arrives with a very Ethereum-style contradiction: it is still one of the most i...
Ethereum Price Prediction: Blackrock Backed Stablecoin to Launch on ETH
Ethereum price is trading near $1,900, but the market may be underestimating a major institutional development that could boost it...
Ethereum (ETH) Price Prediction: $2,000 or $1,680 Next as ETH Reaches a Critical Turning Point
Ethereum price has fallen back below $1,900 after buyers failed to maintain the latest recovery, leaving ETH positioned between an...
Bitcoin And Ethereum Edge Higher As Traders Watch Altcoin Rotation
Bitcoin and Ethereum edged higher into July 31, while a small shift in market dominance suggested traders were again watching whet...
Crypto News, July 31: July Round Up, Kospi Coming Back, Bitcoin Price Ignores Political Noise as Market Splits
The Kospi ended July with a powerful rebound, while the Bitcoin price stayed remarkably steady despite several major headlines. We...