Supply Chain Attack on npm Packages with Billions of Weekly Downloads
Summary
Hide β²
Show βΌ
A supply chain attack compromised multiple npm packages with over 2.6 billion weekly downloads. Attackers injected malicious code into these packages after hijacking a maintainer's account via phishing. The malware targets web-based cryptocurrency transactions, redirecting them to attacker-controlled wallets. The attack was detected and mitigated by the NPM team, who removed the malicious versions within two hours. The phishing campaign targeted multiple maintainers, using a fake domain to trick them into updating their 2FA credentials. The malicious code operates by hooking into JavaScript functions and wallet APIs, intercepting and altering cryptocurrency transactions. The attack impacts users who installed the compromised packages during a specific time window and have vulnerable dependencies. The attack targeted Josh Junon, also known as Qix, who received a phishing email mimicking npm. The phishing email prompted the maintainer to enter their username, password, and 2FA token, which were stolen via an adversary-in-the-middle (AitM) attack. The attack affected 20 packages, including ansi-regex, chalk, debug, and others, with over 2 billion weekly downloads. The malware intercepts cryptocurrency transaction requests by computing the Levenshtein distance to swap the destination wallet address. The payload hooks into window.fetch, XMLHttpRequest, and window.ethereum.request, along with other wallet provider APIs. The attack also compromised another maintainer, duckdb_admin, to distribute the same wallet-drainer malware. The affected packages from the second maintainer include @coveops/abi, @duckdb/duckdb-wasm, and prebid, among others. The attack impacted roughly 10% of all cloud environments. The attackers diverted five cents worth of ETH and $20 worth of a virtually unknown memecoin. The attackerβs wallet addresses holding significant amounts have been flagged, limiting their ability to convert or use the funds.
Timeline
-
09.09.2025 09:13 π° 2 articles Β· β± 7d ago
Second maintainer compromised in npm supply chain attack
The attack also compromised another maintainer, duckdb_admin, to distribute the same wallet-drainer malware. The affected packages from the second maintainer include @coveops/abi, @duckdb/duckdb-wasm, and prebid, among others.
Show sources
- 20 Popular npm Packages With 2 Billion Weekly Downloads Compromised in Supply Chain Attack β thehackernews.com β 09.09.2025 09:13
- Hackers left empty-handed after massive NPM supply-chain attack β www.bleepingcomputer.com β 10.09.2025 20:56
-
08.09.2025 19:47 π° 3 articles Β· β± 8d ago
Supply Chain Attack on npm Packages with Billions of Weekly Downloads
The attack impacted roughly 10% of all cloud environments. The compromised packages were removed within two hours of the attack. The malicious code targeted browser environments, hooking Ethereum and Solana signing requests. The attackers diverted five cents worth of ETH and $20 worth of a virtually unknown memecoin. The attackerβs wallet addresses holding significant amounts have been flagged, limiting their ability to convert or use the funds.
Show sources
- Hackers hijack npm packages with 2 billion weekly downloads in supply chain attack β www.bleepingcomputer.com β 08.09.2025 19:47
- 20 Popular npm Packages With 2 Billion Weekly Downloads Compromised in Supply Chain Attack β thehackernews.com β 09.09.2025 09:13
- Hackers left empty-handed after massive NPM supply-chain attack β www.bleepingcomputer.com β 10.09.2025 20:56
Information Snippets
-
The attack targeted npm packages with over 2.6 billion weekly downloads.
First reported: 08.09.2025 19:47π° 2 sources, 3 articlesShow sources
- Hackers hijack npm packages with 2 billion weekly downloads in supply chain attack β www.bleepingcomputer.com β 08.09.2025 19:47
- 20 Popular npm Packages With 2 Billion Weekly Downloads Compromised in Supply Chain Attack β thehackernews.com β 09.09.2025 09:13
- Hackers left empty-handed after massive NPM supply-chain attack β www.bleepingcomputer.com β 10.09.2025 20:56
-
Attackers used a phishing campaign to hijack a maintainer's account.
First reported: 08.09.2025 19:47π° 2 sources, 3 articlesShow sources
- Hackers hijack npm packages with 2 billion weekly downloads in supply chain attack β www.bleepingcomputer.com β 08.09.2025 19:47
- 20 Popular npm Packages With 2 Billion Weekly Downloads Compromised in Supply Chain Attack β thehackernews.com β 09.09.2025 09:13
- Hackers left empty-handed after massive NPM supply-chain attack β www.bleepingcomputer.com β 10.09.2025 20:56
-
The malicious code intercepts and redirects cryptocurrency transactions.
First reported: 08.09.2025 19:47π° 2 sources, 3 articlesShow sources
- Hackers hijack npm packages with 2 billion weekly downloads in supply chain attack β www.bleepingcomputer.com β 08.09.2025 19:47
- 20 Popular npm Packages With 2 Billion Weekly Downloads Compromised in Supply Chain Attack β thehackernews.com β 09.09.2025 09:13
- Hackers left empty-handed after massive NPM supply-chain attack β www.bleepingcomputer.com β 10.09.2025 20:56
-
The affected packages include debug, chalk, and ansi-styles, among others.
First reported: 08.09.2025 19:47π° 2 sources, 3 articlesShow sources
- Hackers hijack npm packages with 2 billion weekly downloads in supply chain attack β www.bleepingcomputer.com β 08.09.2025 19:47
- 20 Popular npm Packages With 2 Billion Weekly Downloads Compromised in Supply Chain Attack β thehackernews.com β 09.09.2025 09:13
- Hackers left empty-handed after massive NPM supply-chain attack β www.bleepingcomputer.com β 10.09.2025 20:56
-
The attack was detected and mitigated by the NPM team.
First reported: 08.09.2025 19:47π° 1 source, 2 articlesShow sources
- Hackers hijack npm packages with 2 billion weekly downloads in supply chain attack β www.bleepingcomputer.com β 08.09.2025 19:47
- Hackers left empty-handed after massive NPM supply-chain attack β www.bleepingcomputer.com β 10.09.2025 20:56
-
The phishing emails threatened account lockout to coerce users into clicking malicious links.
First reported: 08.09.2025 19:47π° 1 source, 1 articleShow sources
- Hackers hijack npm packages with 2 billion weekly downloads in supply chain attack β www.bleepingcomputer.com β 08.09.2025 19:47
-
The malware hooks into JavaScript functions and wallet APIs to alter transactions.
First reported: 08.09.2025 19:47π° 2 sources, 2 articlesShow sources
- Hackers hijack npm packages with 2 billion weekly downloads in supply chain attack β www.bleepingcomputer.com β 08.09.2025 19:47
- 20 Popular npm Packages With 2 Billion Weekly Downloads Compromised in Supply Chain Attack β thehackernews.com β 09.09.2025 09:13
-
The attack impacts users who installed the compromised packages between 9 AM and 11:30 AM ET.
First reported: 08.09.2025 19:47π° 1 source, 1 articleShow sources
- Hackers hijack npm packages with 2 billion weekly downloads in supply chain attack β www.bleepingcomputer.com β 08.09.2025 19:47
-
The attack targeted Josh Junon, also known as Qix, who received a phishing email mimicking npm.
First reported: 09.09.2025 09:13π° 2 sources, 2 articlesShow sources
- 20 Popular npm Packages With 2 Billion Weekly Downloads Compromised in Supply Chain Attack β thehackernews.com β 09.09.2025 09:13
- Hackers left empty-handed after massive NPM supply-chain attack β www.bleepingcomputer.com β 10.09.2025 20:56
-
The phishing email prompted the maintainer to enter their username, password, and 2FA token, which were stolen via an adversary-in-the-middle (AitM) attack.
First reported: 09.09.2025 09:13π° 2 sources, 2 articlesShow sources
- 20 Popular npm Packages With 2 Billion Weekly Downloads Compromised in Supply Chain Attack β thehackernews.com β 09.09.2025 09:13
- Hackers left empty-handed after massive NPM supply-chain attack β www.bleepingcomputer.com β 10.09.2025 20:56
-
The attack affected 20 packages, including ansi-regex, chalk, debug, and others, with over 2 billion weekly downloads.
First reported: 09.09.2025 09:13π° 2 sources, 2 articlesShow sources
- 20 Popular npm Packages With 2 Billion Weekly Downloads Compromised in Supply Chain Attack β thehackernews.com β 09.09.2025 09:13
- Hackers left empty-handed after massive NPM supply-chain attack β www.bleepingcomputer.com β 10.09.2025 20:56
-
The malware intercepts cryptocurrency transaction requests by computing the Levenshtein distance to swap the destination wallet address.
First reported: 09.09.2025 09:13π° 1 source, 1 articleShow sources
- 20 Popular npm Packages With 2 Billion Weekly Downloads Compromised in Supply Chain Attack β thehackernews.com β 09.09.2025 09:13
-
The payload hooks into window.fetch, XMLHttpRequest, and window.ethereum.request, along with other wallet provider APIs.
First reported: 09.09.2025 09:13π° 2 sources, 2 articlesShow sources
- 20 Popular npm Packages With 2 Billion Weekly Downloads Compromised in Supply Chain Attack β thehackernews.com β 09.09.2025 09:13
- Hackers left empty-handed after massive NPM supply-chain attack β www.bleepingcomputer.com β 10.09.2025 20:56
-
The attack also compromised another maintainer, duckdb_admin, to distribute the same wallet-drainer malware.
First reported: 09.09.2025 09:13π° 2 sources, 2 articlesShow sources
- 20 Popular npm Packages With 2 Billion Weekly Downloads Compromised in Supply Chain Attack β thehackernews.com β 09.09.2025 09:13
- Hackers left empty-handed after massive NPM supply-chain attack β www.bleepingcomputer.com β 10.09.2025 20:56
-
The affected packages from the second maintainer include @coveops/abi, @duckdb/duckdb-wasm, and prebid, among others.
First reported: 09.09.2025 09:13π° 2 sources, 2 articlesShow sources
- 20 Popular npm Packages With 2 Billion Weekly Downloads Compromised in Supply Chain Attack β thehackernews.com β 09.09.2025 09:13
- Hackers left empty-handed after massive NPM supply-chain attack β www.bleepingcomputer.com β 10.09.2025 20:56
-
The attack impacted roughly 10% of all cloud environments.
First reported: 10.09.2025 20:56π° 1 source, 1 articleShow sources
- Hackers left empty-handed after massive NPM supply-chain attack β www.bleepingcomputer.com β 10.09.2025 20:56
-
The compromised packages were removed within two hours of the attack.
First reported: 10.09.2025 20:56π° 1 source, 1 articleShow sources
- Hackers left empty-handed after massive NPM supply-chain attack β www.bleepingcomputer.com β 10.09.2025 20:56
-
The malicious code targeted browser environments, hooking Ethereum and Solana signing requests.
First reported: 10.09.2025 20:56π° 1 source, 1 articleShow sources
- Hackers left empty-handed after massive NPM supply-chain attack β www.bleepingcomputer.com β 10.09.2025 20:56
-
The attackers diverted five cents worth of ETH and $20 worth of a virtually unknown memecoin.
First reported: 10.09.2025 20:56π° 1 source, 1 articleShow sources
- Hackers left empty-handed after massive NPM supply-chain attack β www.bleepingcomputer.com β 10.09.2025 20:56
-
The attackerβs wallet addresses holding significant amounts have been flagged, limiting their ability to convert or use the funds.
First reported: 10.09.2025 20:56π° 1 source, 1 articleShow sources
- Hackers left empty-handed after massive NPM supply-chain attack β www.bleepingcomputer.com β 10.09.2025 20:56
Similar Happenings
SlopAds Fraud Ring Exploits 224 Android Apps to Drive 2.3 Billion Daily Ad Bids
A fraudulent ad operation, SlopAds, has been identified, exploiting 224 Android apps to generate 2.3 billion ad bids daily. The apps, collectively downloaded 38 million times across 228 countries, use steganography and hidden WebViews to create fraudulent ad impressions and clicks. The operation was disrupted after Google removed the offending apps from the Play Store. The SlopAds campaign is notable for its sophisticated tactics, including conditional fraud execution and the use of AI-themed services for command and control. The fraudulent behavior is triggered only when apps are downloaded via ad clicks, making detection more challenging. The campaign's infrastructure includes multiple domains and a complex feedback loop designed to evade security researchers. The campaign's highest concentration of ad impressions originated from the United States (30%), followed by India (10%) and Brazil (7%).
FileFix Attack Using Steganography to Deploy StealC Infostealer
A new FileFix social engineering campaign impersonates Meta account suspension warnings to trick users into installing the StealC infostealer malware. The attack uses steganography to hide malicious scripts and executables within a JPG image. The campaign targets various credentials, cryptocurrency wallets, and cloud services. The FileFix technique abuses the File Explorer address bar to execute PowerShell commands, bypassing traditional detection methods. The attack was discovered by Acronis and observed over a two-week period, with multiple variants using different payloads and domains. The StealC malware aims to steal sensitive information from infected devices, including browser credentials, messaging app data, and cryptocurrency wallets. The FileFix technique was created by red team researcher mr.d0x and has been previously used by the Interlock ransomware gang. The attack uses a multilingual phishing site to trick users into copying and pasting a malicious command into the File Explorer address bar. The campaign abuses Bitbucket repositories to host malicious components, leveraging trust in the platform to bypass detection. The FileFix campaign is the most widespread, customized, and sophisticated to date, targeting users in over 16 countries. The phishing site has been translated into at least 16 different languages. The attack chain involves a phishing email impersonating Facebook security, warning users of account suspension. The attack uses AI-generated images in the steganography process. The FileFix technique is more elegant and less suspicious than ClickFix, using File Explorer instead of the Run dialog. The FileFix attack offers a broader range of high-value targets due to its use of File Explorer. Security researcher Eliad Kimhy predicts an increase in FileFix attacks in the near future.
Supply Chain Attack Targeting npm Registry Compromises 40 Packages
A supply chain attack targeting the npm registry has compromised over 187 packages maintained by multiple developers. The attack uses a malicious script (bundle.js) to steal credentials from developer machines. The compromised packages include various npm modules used in different projects. The attack is capable of targeting both Windows and Linux systems. The malicious script scans for secrets using TruffleHog's credential scanner and transmits them to an external server controlled by the attackers. Developers are advised to audit their environments and rotate credentials if the affected packages are present.
UNC6040 and UNC6395 Target Salesforce Platforms in Data Theft Campaigns
The FBI has issued an alert about two cybercriminal groups, UNC6040 and UNC6395, targeting Salesforce platforms for data theft and extortion. UNC6395 exploited compromised OAuth tokens for the Salesloft Drift application, while UNC6040 used vishing campaigns and modified Salesforce tools to breach Salesforce instances. Both groups have been active since at least October 2024, impacting multiple organizations. UNC6040 has been linked to extortion activities, with Google attributing these to a separate cluster, UNC6240, which has claimed to be the ShinyHunters group. The ShinyHunters group, along with Scattered Spider and LAPSUS$, recently announced they are going dark, but experts warn that the threat persists. UNC6040 impersonated corporate IT support personnel to gain access to Salesforce environments and used modified versions of Salesforce's Data Loader to exfiltrate data. Salesforce re-enabled integrations with Salesloft technologies, except for the Drift app, which remains disabled.
Fourth Spyware Campaign Targeting French Apple Users in 2025
Apple has notified French users of a fourth spyware campaign in 2025. The Computer Emergency Response Team of France (CERT-FR) confirmed the alerts on September 3, 2025. The campaign targets individuals based on their status or function, including journalists, lawyers, activists, politicians, and senior officials. The alerts are part of a series of notifications sent throughout the year, with previous alerts on March 5, April 29, and June 25. These alerts indicate that at least one device linked to the users' iCloud accounts may have been compromised in highly-targeted attacks. The campaign follows a previous incident involving a security flaw in WhatsApp (CVE-2025-55177) and an Apple iOS bug (CVE-2025-43300), which were used in zero-click attacks. Apple has been sending these notifications since November 2021. Apple introduced Memory Integrity Enforcement (MIE) in the latest iPhone models to combat memory corruption vulnerabilities.