Threat Intelligence

Nearly 800 Fake npm Packages Caught Spreading Malware Across Windows, Mac and Linux

The Hacker News · 8 Aug 2026
Key Takeaway If your business uses custom software or works with developers, ensure they verify package names carefully and use trusted, up-to-date dependency-scanning tools before installing open-source code.

Security researchers have uncovered a large-scale campaign involving nearly 800 malicious packages uploaded to npm, the popular repository developers use to download open-source code for building software. The packages are designed to run on Windows, Mac, and Linux systems, making them a broad threat regardless of what operating system a business uses.

According to researcher Paul from OpenSourceMalware, the packages rely on deceptive naming tricks—some appear to be AI-generated variations, while others mimic legitimate package names in the hope that a developer will make a typing mistake and install the wrong one. Once installed, these packages deliver a remote access trojan (RAT) and an information-stealing program, giving attackers the ability to control infected systems and extract sensitive data such as passwords and business files.

This campaign highlights a growing risk in the software supply chain: attackers are increasingly targeting the tools and code libraries that businesses and developers rely on, rather than attacking companies directly. Even small businesses that don't write their own software can be affected if they use products built with compromised open-source components.

Carrying this risk through a supplier? Assessing third-party and supply chain security ->

Summarised by CISO AI from The Hacker News. We link back to every original so you can read it yourself.