• 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
  • Tools
  • About
  • Contact
  • Subscribe
Subscribe
CoinLaw Logo
  • Latest News
  • Statistics
  • Tools
  • About
  • Contact
Add as a preferred
source on Google
Home » Cryptocurrency

Crypto Hackers Exploit Ethereum Smart Contracts in NPM Attacks

Published on: September 4, 2025, 10:22 AM EDT
Kathleen Kinder
Senior Editor • 2,000 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:
Hyperliquid Strategies Makes Bold Bid for US Futures Trading
Kraken Parent Payward Buys AAVE Tokens, Deepens Its DeFi Push
Bitget Faces Dec. 5 Block in Thailand Over Licensing Allegations
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.

Read by pros at 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 about Blockchain

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 about Smart Contract

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

Coinbase Hack Wallet Accumulates Eth
Cryptocurrency

$300M Coinbase Hack Wallet Accumulates 3,976 ETH Despite Two-Week High price

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

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
Trust Wallet Launches Address Poisoning Scam Protection
Polymarket Hack Exposes Users as $3M Stolen in Phishing Attack

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

Weekly stats quiz Week 45

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
We use technologies like cookies to store and/or access device information. We do this to improve browsing experience and to show (non-) personalized ads. 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.
  • 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.
  • 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
Bitcoin Mining Revenue Statistics Block Subsidy Fees and Halving Impact
Bitcoin Mining Revenue Statistics 2026: Block Subsidy, Fees and Halving Impact
Bitcoin Mining by Country Statistics Hashrate Share by Nation
Bitcoin Mining by Country Statistics 2026: Hashrate Share by Nation
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
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 TPV Revenue Profit and Customer Mix
Marqeta Statistics 2026: TPV, Revenue, Profit 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 Revenue Profit Customers and BaFin Oversight
N26 Statistics 2026: Revenue, Profit, Customers and BaFin Oversight
Revolut vs Monzo Statistics
Revolut vs Monzo Statistics 2026: Customers & Profit
Islamic Banking Statistics Assets Growth and Top Markets
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
Kraken And Aave Defi Push
Kraken Parent Payward Buys AAVE Tokens, Deepens Its DeFi Push
Polygon Hard Fork Could Return 6 8 Million in Stolen POL
Polygon Hard Fork Could Return $6.8 Million in Stolen POL
Justin Sun Wlfi Sanction Uae
Justin Sun Seeks Sanctions Against World Liberty Over UAE Ties
1win Token Launched On Solana
1win’s $1WIN Token Goes Live After 15x Oversubscribed Sale
Liquid Network Restores Bitcoin Reserves
Liquid Network Restores Full Bitcoin Backing After $320 Million Exploit
Bitmine 5 983 940 Eth Purchase
Bitmine Adds 8,573 ETH, Nears 5% of Ethereum Supply
Fintech
Google Mpc Crypto Custody Preview
Google Challenges Fireblocks and BitGo With New MPC Crypto Custody Service
Ledger Atom Hardware Wallet Launch
Ledger Unveils Atom Android Wallet Amid Implant Probe
Payward And Saldo Bank Acquisition
Kraken Owner Payward Plans Saldo Bank Purchase: Report
Og Com Cryptostruct Event Contracts
CryptoStruct Opens OG.com Event Contracts to Algo Traders
Bybit Ceo Ben Zhou Keynote October 13
Bybit CEO Ben Zhou Sets Global Livestream Keynote
Pharos Network Realfi Ai Agent Native Upgrade
Pharos Expands RealFi With Powerful AI Agent Upgrade
Payments
Gnosis Pay Confirms Security Breach
Gnosis Pay Confirms Consumer Card Breach Weeks Before Planned Shutdown
Visa And Fireblocks Acquisition Rumours
Fireblocks Denies $2.5 Billion Visa Acquisition Talks
Mastercard Ai Agent Payment Early Access
Mastercard Opens Agent Pay for Machines to Developers
Coinbase Marqeta Stablecoin Cards
Marqeta Taps Coinbase to Power Stablecoin-Backed Cards
Sbi Startale Join Open Standard
SBI, Startale Join Open Standard for JPYSC-OUSD Pilot
Mastercard and BVNK Launch Global Money Platform for Stablecoins
Mastercard and BVNK Launch Global Money Platform for Stablecoins
Compliance
Hyperliquid Strategies Cftc Filing
Hyperliquid Strategies Makes Bold Bid for US Futures Trading
Bitget Thailand Ban December
Bitget Faces Dec. 5 Block in Thailand Over Licensing Allegations
Bybit Dubai Vara License Spot Trading
Bybit Wins VARA Approval for Dubai Spot Trading Services
Utah State Sues Kalshi Gambling
Utah Sues Kalshi for Up to $60 Million Over Illegal Wagers
Bingx Eu Mica License
BingX EU Secures MiCA License From Austria’s FMA
Celsius Alex Mashinsky Crypto Ban New York
Alex Mashinsky Hit With Lifetime Ban in New York Celsius Deal
Investments
Okx Investment Ripple Circle Standard Chartered
OKX Raises Strategic Capital at $25 Billion Valuation
Payward And Bny Partnership Crypto Custody
Payward and BNY Explore Strategic Crypto Tie-Up
Strategy Locks Strc Dividend Rate At 12 For October
Strategy Locks STRC Dividend Rate at 12% for October
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
Crypto Calculators
  • Crypto Profit Calculator Profit, return and break-even on a trade after fees.
  • APY to APR Converter Convert APR and APY at any compounding frequency.
  • Satoshi to USD Converter Convert sats, BTC and dollars at the live bitcoin price.
  • DCA Calculator Backtest buying crypto every week or month at real past prices.
Finance Calculators
  • Compound Interest Calculator Growth with monthly deposits, or what a goal needs.
  • CD Calculator Interest and maturity value on a certificate of deposit.
  • HELOC Payment Calculator Monthly payments in the draw and repayment periods.
  • Coast FIRE Calculator What you need invested today to stop saving and still retire.
  • Percent Off Calculator Sale price and savings for any percent off.
All 8 Finance Calculators
All 12 tools
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.

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