• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
CoinLaw LogoCoinLaw

Bringing Crypto & Finance Closer to You

  • Latest News
  • Statistics
  • About
  • Contact
  • Subscribe
Subscribe
CoinLaw Logo
  • Latest News
  • Statistics
  • About
  • Contact
  • Subscribe
Subscribe
Home » Cryptocurrency

Crypto Hackers Exploit Ethereum Smart Contracts in NPM Attacks

Published on: September 4, 2025, 10:22 AM EDT
Kathleen Kinder
Written By
Kathleen Kinder
Kathleen Kinder
Senior Editor • 1,954 Articles
Kathleen Kinder brings over 11 years of experience in the research industry, with deep expertise in finance, cryptocurrency, and insurance. ... See full bio
LATEST POSTS:
Soneium, DayOneDream Unveil K-Pop IP Tokenization Deal
Bybit Launches ByPick Prediction Game With 100,000 USDT Prize Pool
Bitmine Adds 17,362 ETH, Lifting Treasury Past 6 Million
Hackers Exploit Ethereum Smart Contracts
As Featured In
Deloitte logoForbes LogoFortune LogoCoinDesk LogoInvestopedia logo
Share on LinkedIn ChatGPT Perplexity Share on X Share on Facebook

Hackers have found a new way to deliver malware by hiding malicious links inside Ethereum smart contracts, bypassing traditional security measures.

Key Takeaways

  • Two NPM packages, colortoolsv2 and mimelib2, used Ethereum smart contracts to hide URLs for downloading second-stage malware.
  • This method makes detection difficult by disguising malicious activity as legitimate blockchain traffic.
  • The attack was part of a wider social engineering campaign using fake GitHub repositories to appear trustworthy.
  • Researchers at ReversingLabs said this marks a new evolution in supply chain attacks targeting crypto developers.

What Happened?

A pair of malicious JavaScript packages found on the Node Package Manager (NPM) repository used Ethereum smart contracts to distribute malware. These packages accessed smart contracts to fetch URLs leading to additional payloads, effectively hiding malware download commands within blockchain transactions.

This technique bypassed conventional security tools, which typically do not flag blockchain queries as suspicious.

⚠️ New RL threat research: 2 malicious #npm packages abuse #Ethereum smart contracts to load #malware on compromised devices. https://t.co/wzDRKfm2yh

— ReversingLabs (@ReversingLabs) September 3, 2025

A Sophisticated Attack Vector

Cybersecurity firm ReversingLabs identified the two malicious packages, colortoolsv2 and mimelib2, in July 2025. Though they seemed like basic tools, the packages acted as simple loaders. Instead of embedding harmful code directly, they pulled command-and-control server addresses from Ethereum smart contracts.

Once installed, the malware queried the blockchain to get a URL that then led to the download of the second-stage payload, which executed the malicious activity. The use of Ethereum smart contracts obscures the origin of the malware and allows the malicious code to blend in with ordinary blockchain traffic.

Lucija Valentić, a researcher at ReversingLabs, explained, “This is something we haven’t seen previously. It highlights the fast evolution of detection evasion strategies by malicious actors who are trolling open source repositories and developers.”

More Than Just Malware

This operation was part of a larger deception campaign on GitHub. Hackers set up fake cryptocurrency trading bot repositories that looked authentic, complete with:

  • Fabricated commits
  • Multiple fake user accounts
  • Professional documentation and visuals
  • Artificially inflated stars and watchers

These repositories were designed to lure unsuspecting developers, who might unknowingly integrate malicious packages into their own projects. The attackers successfully combined social engineering with technical stealth, exploiting the trust placed in active-looking GitHub repositories.

Newsletter Img
Don't chase the news. Let us curate it.

You get one weekly briefing with only the stories that matter. If the market is quiet, we skip it.

✅ Join readers from Visa, Mastercard, Vanguard, and the FDIC.

Not Limited to Ethereum

While this attack used Ethereum, other blockchains have been exploited similarly. In April, a fake GitHub repo disguised as a Solana trading bot spread malware that stole crypto wallet credentials. Another attack targeted Bitcoinlib, a Python tool for Bitcoin development.

The threat landscape for open-source crypto development is growing more dangerous. In 2024 alone, over 20 crypto-focused malware campaigns were documented across platforms like NPM and PyPI.

Zhonghui Gu, founder of CertiK and a professor at Columbia University, recently called the cybersecurity situation in crypto an “endless war” against hackers.

CoinLaw’s Takeaway

Honestly, this attack feels like a wake-up call for everyone in the crypto and developer communities. I’ve seen how quickly trust can be abused in the open-source ecosystem. When even basic packages can be backdoors and smart contracts get twisted into malware tools, it’s no longer enough to just scan code for suspicious strings. We need to rethink trust models in blockchain and open-source tooling. In my experience, even seasoned devs can fall for well-crafted deception, especially when it’s dressed up with blockchain buzz. This is a reminder to verify the integrity of both code and its creators.

Definition of Blockchain. Link to full glossary entry follows the description.Blockchain

A distributed digital ledger that records transactions across a network, with each block cryptographically linked to the previous one for security.

Read more

Definition of Smart Contract. Link to full glossary entry follows the description.Smart Contract

A smart contract is a self-executing program stored on a blockchain that automatically enforces agreement terms when predefined conditions are met, without intermediaries.

Read more

CoinLaw follows strict Publishing Principles and a documented Fact-Check Policy to ensure accuracy, transparency, and editorial independence across all content.

Add CoinLaw as a Preferred Source on Google for instant updates! Follow on Google News
Share ChatGPT Perplexity
Kathleen Kinder

Kathleen Kinder

Senior Editor


Kathleen Kinder brings over 11 years of experience in the research industry, with deep expertise in finance, cryptocurrency, and insurance. At CoinLaw, she writes timely, reader-focused news articles and also serves as a senior editorial reviewer. Drawing on her background in B2B research, consumer insights, and executive interviews, she ensures every piece delivers clarity, accuracy, and real-world relevance.

Related Posts

Trust Wallet Hacked Through Vulnerable Chrome Extension
Cryptocurrency

Trust Wallet Hack Hits Hundreds, $7 Million Stolen in Browser Extension Breach

Ripple Shares Dprk Hacker Intel After 577m Crypto Hacks
Cryptocurrency

Ripple Shares DPRK Hacker Intel After $577M Crypto Hacks

Gnosis Safe Wallets Hit In 3m Squid Exploit
Cryptocurrency

86 Gnosis Safe Wallets Hit in $3M Squid Exploit

Disclaimer: The content published on CoinLaw is intended solely for informational and educational purposes. It does not constitute financial, legal, or investment advice, nor does it reflect the views or recommendations of CoinLaw regarding the buying, selling, or holding of any assets. All investments carry risk, and you should conduct your own research or consult with a qualified advisor before making any financial decisions. You use the information on this website entirely at your own risk.

Reader Interactions

Leave a Comment Cancel reply

Primary Sidebar

Connect With Us

facebook x linkedin google-news telegram pinterest whatsapp email
google-preferred-source-badge Add as a preferred source on Google

You Should Also Read

Malware in Crypto Smart Contracts Statistics 2026: Critical Mistakes to Avoid
$300M Coinbase Hack Wallet Accumulates 3,976 ETH Despite Two-Week High price
Trust Wallet Launches Address Poisoning Scam Protection

Table of Contents

  • Key Takeaways
  • What Happened?
  • A Sophisticated Attack Vector
  • More Than Just Malware
  • Not Limited to Ethereum
  • CoinLaw’s Takeaway

Weekly stats quiz Week 40

How much of a crypto geek are you?

5 fast questions from this week's verified market data. About a minute.

Play the quiz New every Monday

Footer

CoinLaw Logo

Bringing Finance Closer to You.

Connect With Us

Follow Us on Google News

Editorial & Trust

  • About
  • Publishing Principles
  • Fact-Check Policy
  • Corrections Policy
  • Ethics Policy
  • Disclaimer
  • Cookie Policy

Worth Checking

  • The Crypto Desk
  • Exchange Listings Tracker
  • Crypto Regulation Tracker
  • Retail Options Trading Stats
  • Banking Customer Retention Stats
  • NFT Market Growth Stats
  • DeFi Market Stats
Contact Us
13570 Grove Dr #189,
Maple Grove, MN 55311,
United States
10 a.m. – 6 p.m. | Every day

Copyright © 2024–2026 CoinLaw. All Rights Reserved. Powered by the HODL Force ❤️

  • Privacy Policy
  • Terms
  • Accessibility Statement
Manage your privacy

To provide the best experiences, we and our partners use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us and our partners to process personal data such as browsing behavior or unique IDs on this site and show (non-) personalized ads. Not consenting or withdrawing consent, may adversely affect certain features and functions.

Click below to consent to the above or make granular choices. Your choices will be applied to this site only. You can change your settings at any time, including withdrawing your consent, by using the toggles on the Cookie Policy, or by clicking on the manage consent button at the bottom of the screen.

Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Statistics

Marketing

Features
Always active

Always active
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
Manage options
  • {title}
  • {title}
  • {title}
Manage your privacy
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Statistics

Marketing

Features
Always active

Always active
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
Manage options
  • {title}
  • {title}
  • {title}
Company
  • About Us
  • Our Team
  • Our Mission
  • Core Values
Discover
  • glossary icon
    Glossary
  • Stats
    Stats Research Process
  • Brand Guide Icon
    Brand Assets
Categories
  • Cryptocurrency
  • Payments
  • Investments
  • Banking
  • Finance
Cryptocurrency
Crypto Regulation by Country 2026: Legal Status, Tax and Licensing
Crypto Regulation by Country Statistics 2026: Legal Status, Tax and Licensing
Biggest Crypto Hacks Statistics Ranked by Value Stolen
Biggest Crypto Hacks Statistics 2026: Ranked by Value Stolen
Perpetual Futures Statistics Volume Funding and Leverage
Perpetual Futures Statistics 2026: Volume, Funding and Leverage
Bitcoin Treasury Companies Statistics Holdings and Cost Basis
Bitcoin Treasury Companies Statistics 2026: Holdings and Cost Basis
Prediction Market Statistics Kalshi vs Polymarket Volume
Prediction Market Statistics 2026: Kalshi vs Polymarket Volume
AI Trading Bot Statistics
AI Trading Bot Statistics 2026: Market, Platforms and MEV Data
Payments
Remittances By Country Statistics
Remittances by Country Statistics 2026: Inflows and Cost
Cash App vs Zelle Statistics
Cash App vs Zelle Statistics 2026: Speed, Limits and User Data
Venmo vs. PayPal Statistics
Venmo vs PayPal Statistics 2026: Users, Fees and Volume
Toast Statistics 2026: ARR, GPV, Take Rate and Revenue
Toast Statistics 2026: ARR, GPV, Take Rate and Revenue
Rapyd Statistics 2026: Valuation, Revenue and PayU Deal
Rapyd Statistics 2026: Valuation, Revenue and PayU Deal
Marqeta Statistics
Marqeta Statistics 2026: TPV, Revenue and Customer Mix
Investments
Crypto ETF Statistics Net Assets Fees and Flows by Issuer
Crypto ETF Statistics 2026: Net Assets, Fees and Flows by Issuer
Largest Investment Banks Statistics
Largest Investment Banks Statistics 2026: Revenue, League Tables and Headcount
Public vs Robinhood Statistics
Public vs Robinhood Statistics 2026: Users, Assets, and Fees Compared
Robinhood vs Acorns Statistics
Robinhood vs Acorns Statistics 2026: Users, AUM and Fees
Robinhood vs Fidelity Statistics
Robinhood vs Fidelity Statistics 2026: Accounts, AUM, and Fees Compared
Robinhood vs Schwab Statistics
Robinhood vs Schwab Statistics 2026: Users, Assets, Pricing
Banking
Global Systemically Important Banks Statistics
Global Systemically Important Banks Statistics 2026: Bucket Allocation and Capital Surcharges
Bank Failures Statistics
Bank Failures Statistics 2026: FDIC Data, DIF Costs, and Recent Trends
The 15 Largest Banks in the US
The 15 Largest Banks in the US in 2026: By Assets, Deposits, and Branches
N26 Statistics
N26 Statistics 2026: Customers, Deposits, Revenue and the BaFin Growth Cap
Revolut vs Monzo Statistics
Revolut vs Monzo Statistics 2026: Customers & Profit
Islamic Banking Statistics
Islamic Banking Statistics 2026: Assets, Growth, and Top Markets
Finance
Federal Tax Revenue By State Statistics
Federal Tax Revenue by State Statistics 2026: IRS Gross Collections, Top 10 States, Donor vs Recipient
Tariff Revenue Statistics
Tariff Revenue Statistics 2026: Customs Duties and IEEPA Refunds
Emergency Fund Statistics
Emergency Fund Statistics 2026: How Much Americans Have Saved (and How Much They Should)
Financial Advisor Statistics
Financial Advisor Statistics 2026: Headcount, AUM, and Demographics
Wealth Inequality Statistics
Wealth Inequality Statistics 2026: Hidden Wealth Divide
Blockchain In Supply Chain Finance Statistics
Blockchain in Supply Chain Finance Statistics 2026: Trade Breakthrough
Categories
  • Cryptocurrency
  • Fintech
  • Payments
  • Compliance
  • Investments
Cryptocurrency
Moonpay Launches Korean Subsidiary
MoonPay Korea Launches With Bank Stablecoin Push
Bybit Bypick Predictions Game Launch
Bybit Launches ByPick Prediction Game With 100,000 USDT Prize Pool
Bitmine 17362 Eth Purchase
Bitmine Adds 17,362 ETH, Lifting Treasury Past 6 Million
Strategy Buys 1665 Btc
Strategy Buys 1,665 Bitcoin, Spends More on STRC Buyback
Coinbase Tokenized Stocks Go Live as Aave V4 Collateral on Base
Coinbase Tokenized Stocks Officially Go Live on Aave V4
Bitget Freezes Withdrawals After 351 6 Million Spoofed-Transfer Hack
Bitget Freezes Withdrawals After $351.6 Million Spoofed-Transfer Hack
Fintech
Soneium Dayonedream Unveil K Pop Ip Tokenization Deal
Soneium, DayOneDream Unveil K-Pop IP Tokenization Deal
Binanec 100m Circle Stock Purchase
Binance Takes $100M Circle Stake in Strategic USDC Move
World Launches Provekit For Zk Proofs
World Launches ProveKit for On-Device Zero-Knowledge Proofs
Kraken Lseg Tokenized Stocks Deal
LSEG and Kraken Forge Major Deal for Tokenized Shares
World ID Comes to peaqOS Robots Without Sharing Identity
World ID Comes to peaqOS Robots Without Sharing Identity
K Lab Names Nasdaq Veteran Jay Heller U S CEO
K Lab Names Nasdaq Veteran Jay Heller U.S. CEO
Payments
Circle Foundation Backs UNDP WFP Stablecoin Aid Payments
Circle Foundation Backs UNDP, WFP Stablecoin Aid Payments
Bybit Openpayd Unified Fiat Payments
Bybit’s OpenPayd Deal Brings Fiat Payments Under One Roof
Ecb Launches Pontes Digital Euro
ECB Launches Pontes, Its Wholesale Digital Euro Platform
Moneygram Launches Stablecoin Backed Visa Card In Colombia
MoneyGram Launches Stablecoin-Backed Visa Card in Colombia
Openpayd Sage Capital Partnership
Sage Capital Taps OpenPayd for USD, EUR and GBP Rails
Circle Tazapay Singapore Acquisition
Circle Seals Tazapay Deal to Widen USDC Payment Rails
Compliance
New York Sues Polymarket Calls Prediction Markets Illegal Gambling
New York Sues Polymarket, Calls Prediction Markets Illegal Gambling
Ecb Central Banks Drop Stablecoin Deposits Rule Featured 1
ECB Pushes to Drop Mandatory Stablecoin Deposit Rule
Avalanche L1 Uaepass Blockchain Id
Avalanche Powers UAE Identity Vault for 12.5M People
Fca Review Uk Predictions Market
UK Prediction Markets Gain Hope as FCA Reviews Ban
Bitpanda Mica Austria Fine
Bitpanda Fined €70,000 in First Austrian MiCA Penalty
Wintermute Wins Us Broker Dealer Status
Wintermute Enters US Markets With Broker-Dealer Status
Investments
Cboe S P 500 Options Spx
Cboe and S&P DJI Extend SPX Options Exclusivity to 2051
Ondo Finance Blackrock Tokenized Stock
Ondo Brings BlackRock Portfolios On-Chain in Major Move
Kalshi Eyes 60 Stock Perps
Kalshi Eyes 60 Stock Perps as Leverage Debate Heats Up
Dag Wealth Xrp Parataxis Capital Custody
DAG Wealth Puts Client XRP to Work Without Moving Custody
Strategy Strc Dividend Rate
Strategy Confirms 12% STRC Rate in Major Dividend Update
Cantor Opens Kalshi Block Trading To 3 000 Institutions
Cantor Opens Kalshi Block Trading to 3,000 Institutions
Newsletter Img

Too much noise in crypto?

We respect your time. You get one high-impact briefing a week. If the market is quiet, so are we.

✅ Join readers from Visa, Mastercard, Vanguard, and the FDIC.
Newsletter Img

The Weekly Briefing

We track the market 24/7. You get a 5-minute summary. If it’s quiet, we skip it.

✅ Read by pros at Visa, Mastercard, Vanguard, and the FDIC.