Close Menu
Crypto Valley Journal
    Facebook X (Twitter) Instagram
    Crypto Valley Journal
    • Hot Topics
      • News
      • Minds
    • Focus
      • Background
      • Blockchain
      • Legal & Compliance
      • Non-Fungible Token (NFTs)
    • Investing
      • Markets
      • Financial Products
      • Decentralized Finance (DeFi)
      • Exchange overview
    • Education
      • Basics
      • Glossary
      • Politicians on crypto
    • Statistics
      • Bitcoin-ETF-Flows
      • Ethereum-ETF-Flows
      • Crypto market data
      • On-chain data
    • Academy
      • Overview
      • Part 1: Blockchain
      • Part 2: Money
      • Part 3: Bitcoin
      • Part 4: Cryptocurrencies
      • Part 5: Decentralized Finance
      • Part 6: Investing
    • English
      • Deutsch
    Crypto Valley Journal
    You are at:Home » Hot Topics » News » NPM malware leads to crypto losses
    NPM malware leads to crypto losses

    NPM malware leads to crypto losses

    By Editorial Office CVJ.CH on 9. September 2025 News

    Cybercriminals have developed two malicious npm packages - colortoolsv2 and mimelib2 - that target developer environments by using Ethereum blockchain smart contracts as a disguise mechanism. This sophisticated method enables the download of harmful software in an unexpected way.

    The npm packages, uploaded in July 2025, use Ethereum smart contracts to conceal the URLs for downloader malware. When used within a project, they fetch additional malware through these blockchain links. The campaign leveraged targeted GitHub repositories and manipulated popularity tactics to lure developers. Thanks to the rapid identification of the vulnerabilities, the overall damage remained limited, as Hackernews reported.

    Subscribe to our newsletter

    The best articles of the week, directly delivered into your mailbox.

    How did the attack work?

    As soon as one of the packages (colortoolsv2 or mimelib2) is integrated into a project, an obfuscated code activates a smart contract on the Ethereum blockchain that contains the address of the next malware download location. This method - known as “EtherHiding” - cleverly conceals the malicious command from traditional scans. The GitHub repositories using these packages posed as legitimate trading bot projects. Behind them was a network (Stargazers Ghost Network), whose fake accounts manipulated repository metrics to gain trust.

    These cyberattacks are carried out through so-called supply chain attacks: malicious packages are indirectly distributed via popular repositories. Developers should therefore carefully examine libraries before use - particularly their origin, maintainers, and code. Tools for analyzing dependencies, chains, and smart contract activity can provide critical protection here.

    Ray Dalio advises 10 to 15% gold and a small Bitcoin position, because he expects a US debt crisis within about three years. Minds

    Star investor Ray Dalio considers Bitcoin inferior to gold

    Bitcoin overtakes gold in the US: per River's report, 49.6 million Americans own Bitcoin, while just 28.8 million still hold gold. Background

    Bitcoin overtakes gold among US investors for the first time

    The House of Satoshi Bitcoin ETP shifts its allocation between Bitcoin and cash each month via an AI model, with SIX trading starting in October. Financial Products

    House of Satoshi launches Bitcoin ETP with AI-driven allocation

    What separates Dogecoin from Bitcoin is its unlimited supply, and the 2013 satire coin now trades through its own US spot ETF. Basics

    What is Dogecoin? From satire project to ETF asset

    Ray Dalio advises 10 to 15% gold and a small Bitcoin position, because he expects a US debt crisis within about three years. Minds

    Star investor Ray Dalio considers Bitcoin inferior to gold

    Bitcoin overtakes gold in the US: per River's report, 49.6 million Americans own Bitcoin, while just 28.8 million still hold gold. Background

    Bitcoin overtakes gold among US investors for the first time

    What does this mean for developers?

    The combination of the open-source ecosystem and blockchain technology makes this attack particularly dangerous. While classic supply chain attacks often rely on tampered libraries, the use of Ethereum smart contracts adds an extra layer of obfuscation. This makes it significantly harder for security tools to detect malicious activity at an early stage.

    Security researchers are therefore calling for stronger collaboration between platforms like npm, GitHub, and blockchain analysts. Only if malicious packages are reported and blocked more quickly - and their smart contract infrastructure uncovered - can the damage be contained. At the same time, experts urge developers to continuously monitor their dependencies and integrate automated scans into their CI/CD pipelines.

    Share. Facebook Twitter LinkedIn Email Telegram WhatsApp

    About the author

    Editorial Office CVJ.CH
    • Website
    • Twitter
    • LinkedIn

    Since 2018, the editorial team at Crypto Valley Journal has been reporting from Zug - the heart of Switzerland’s Crypto Valley - on Bitcoin, cryptocurrency, blockchain, and regulatory developments in digital assets. Behind the publication’s collective editorial voice is a team of writers with backgrounds in financial markets, law, and technology.

    Related Articles

    The anonymous GTA 6 leaker releases further stolen clips only once the Cyberleek memecoin reaches set market capitalization thresholds.

    Cyberleek memecoin unlocks new GTA 6 leaks

    Since mid-August 2026, PostFinance Ethereum staking runs without the twelve-week lock-up, and customers initiate unstaking themselves.

    PostFinance drops the fixed lock-up for Ethereum staking

    Ray Dalio advises 10 to 15% gold and a small Bitcoin position, because he expects a US debt crisis within about three years.

    Ray Dalio recommends gold and Bitcoin against looming debt crisis

    The anonymous GTA 6 leaker releases further stolen clips only once the Cyberleek memecoin reaches set market capitalization thresholds.
    24. August 2026

    Cyberleek memecoin unlocks new GTA 6 leaks

    The House of Satoshi Bitcoin ETP shifts its allocation between Bitcoin and cash each month via an AI model, with SIX trading starting in October.
    24. August 2026

    House of Satoshi launches Bitcoin ETP with AI-driven allocation

    Since mid-August 2026, PostFinance Ethereum staking runs without the twelve-week lock-up, and customers initiate unstaking themselves.
    24. August 2026

    PostFinance drops the fixed lock-up for Ethereum staking

    twitter image button instagram image button linkedin image button youtube image button

    About Crypto Valley Journal
    About Crypto Valley Journal

    On the pulse of the movement

    • Academy
    • Contact
    • Advertising
    • About us
    • Partner
    • Imprint
    • Privacy
    • Disclaimer
    Search

    Type above and press Enter to search. Press Esc to cancel.