• 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
CoinLaw Logo
  • Latest News
  • Statistics
  • About
  • Contact
Subscribe
Home » Cryptocurrency

Crypto Hackers Exploit Ethereum Smart Contracts in NPM Attacks

Published on: September 4, 2025
Kathleen Kinder
Written By
Kathleen Kinder
Kathleen Kinder
Senior Editor • 1,864 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:
MoonPay PayBox Unlocks Secure AI Payments for ChatGPT
OSL’s Powerful XRP Launch Opens Hong Kong Retail Access
Core Scientific Liquidates Bitcoin as $14B AMD Deal Lands
Hackers Exploit Ethereum Smart Contracts
As Featured In
Bloomberg LogoForbes LogoFortune LogoCoinDesk LogoCoinMarketCap 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 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
Connect on Telegram

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

  • Best Cloud Mining Platforms
  • Millennial vs. Gen Z Banking
  • Ethereum Gas Fees Statistics
  • Binance vs. Coinbase Statistics
  • Zelle vs. Venmo Statistics
  • Traditional Banks vs. Neobanks
  • Crypto Exchange Hack Statistics
  • Crypto Regulation Tracker
  • ETF Flow Tracker
  • Exchange Listings Tracker
  • Crypto Treasuries Tracker
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
  • Banking
  • Finance
  • Insurance
Cryptocurrency
Crypto Ownership By Generation Statistics
Crypto Ownership by Generation Statistics 2026: Gen Z vs Millennials
How Many Cryptocurrencies Are There Statistics
How Many Cryptocurrencies Are There Statistics 2026: Crypto Boom
How Many Bitcoins Are There
How Many Bitcoins Are There 2026: Growth and Circulating Supply
Bitcoin All-Time High Statistics
Bitcoin All-Time High Statistics 2026: Every Cycle Peak Across Four Halvings
Crypto Market Capitalization Statistics
Crypto Market Capitalization Statistics 2026: Totals, Dominance, and Trends
How Many People Use Cryptocurrency Worldwide
How Many People Use Cryptocurrency Worldwide 2026: Global User Count by Year and Region
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
Toast Statistics 2026: ARR, GPV & Revenue Data
Rapyd Statistics
Rapyd Statistics 2026: TPV, Valuation & Licences
Marqeta Statistics
Marqeta Statistics 2026: TPV, Revenue and Customer Mix
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
Insurance
Lemonade Insurance Statistics
Lemonade Insurance Statistics 2026: Customers, In-Force Premium, Loss Ratio, Pet & Auto Segments
Chubb Statistics
Chubb Statistics 2026: Powerful Data Insights
Virtual Reality In Insurance Statistics
Virtual Reality In Insurance Statistics 2026: Innovations, Risks, and Opportunities
US Life Insurance Industry Statistics
US Life Insurance Industry Statistics 2026: Growth Facts
US Auto Insurance Industry Statistics
US Auto Insurance Industry Statistics 2026: What You Must Know Now
UK Insurance Industry Statistics
UK Insurance Industry Statistics 2026: Growth Data
Categories
  • Cryptocurrency
  • Investments
  • Fintech
  • Compliance
  • Finance
Cryptocurrency
Osl Hong Kong Opens Xrp To Retail Traders
OSL’s Powerful XRP Launch Opens Hong Kong Retail Access
Core Scientific Liquidates Bitcoin
Core Scientific Liquidates Bitcoin as $14B AMD Deal Lands
Minnesota Prediction Markets Ban Blocked
Minnesota Prediction Markets Ban Blocked by Federal Judge
Emirates Crypto Com Pay For Aed Flights
Emirates Goes Live With Crypto.com Pay for AED Flights
Morgan Stanley Sol Eth Staking Etp
Morgan Stanley Launches Ethereum, Solana ETPs at 0.14% Fee
Securitize Clears Sec Adviser Registration
Securitize Clears SEC Adviser Registration, Shares Slide 46%
Investments
Coinhako Sbi Holdings Acquisition
SBI Holdings Acquires Coinhako Crypto Exchange
Keyrock Acquires Blockfills Trading And Brokerage Assets
Keyrock Completes the Acquisition of BlockFills’ Trading Assets
Crypto Com Raises 400 Million From Citadel Securities
Crypto.com Raises $400 Million From Citadel Securities
Moonpay Acquires Glide Crypto Deposit Startup
MoonPay Acquires Glide in All-Equity Crypto Deposits Deal
Hyperliquid Perpetual Prices Cxmt Above Its Shanghai Ipo
Hyperliquid Perpetual Prices CXMT Above Its Shanghai IPO
Former Tether Cio Seeks To Sell 1 26 Stake
Former Tether CIO Seeks to Sell 1.26% Stake via PJT Partners
Fintech
OKX App Returns to South Korea's Google Play Store
OKX Wins Back Korea’s Play Store After 4-Day Block
Uphold Cuts 17 Of Global Workforce
Uphold Cuts 17% of Global Workforce Amid Crypto Winter
Samsung Wallet To Add Native Stablecoin Support
Samsung Wallet to Add Native Stablecoin Support
Coinbase Launches Usdc Payments For Ai Agents
Coinbase Launches USDC Payments Support for AI Agents
Keeta Layerzero Partner To Tokenize Bank Deposits
Keeta, LayerZero Partner to Tokenize Bank Deposits On-Chain
Gtn And Payward Expand Xstocks Beyond U S Equities
Payward and GTN to Expand xStocks in International markets
Compliance
Russia S State Duma Passes Crypto Law
Russia’s State Duma Passes First Comprehensive Crypto Law
Maharashtra Directs Draft Of India S First Land Tokenization Law
Maharashtra Directs Draft of India’s First Land Tokenization Law
Fss Opens Sanctions Process Against Dunamu Over Upbit Hack
FSS Opens Sanctions Process Against Dunamu Over Upbit Hack
Bitpay Secures Dutch Mica License
BitPay Secures Dutch MiCA License for EU Crypto Payments
Revolut Secures Vara Approval In Dubai
Revolut Secures VARA Approval to Launch Crypto in UAE
Aba Icba Urge Senate To Close Stablecoin Yield Loophole
ABA, ICBA Urge Senate to Close Stablecoin Yield Loophole
Finance
Lsg To Operate 24 7 For Etps
London Stock Exchange Plans Overnight Trading by 2027
Avax One Regains Nasdaq Listing Compliance
AVAX One Regains Nasdaq Listing Compliance
Kraken Lets Traders Post Tokenized Stocks As Collateral
Kraken Lets Traders Post Tokenized Stocks as Collateral
Kalshi Targets Ipo After Massive Valuation
Kalshi Targets IPO After Massive Growth and $22B Valuation
Coinbase To Launch Tokenized Us Stocks
Coinbase Sparks New Race With 1:1 Backed Tokenized Stocks
Bitmine Launches 300m Preferred Stock Offering
Bitmine Launches $300M Preferred Stock to Buy More ETH
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.