Export
The link always opens the latest version of this page.
Ask an AI about it
Open in ChatGPTA new chat that reads this entry from the site Open in ClaudeThe same, in ClaudeShare the link instead of a file, and they will always see the latest version.
Files are a snapshot of today. The live page has anything newer.
NPM
NPM is a package manager and software registry for JavaScript, operated by npm.
Bottom line
npm 12 disabled install scripts by default to reduce supply chain risk.1 Attackers have also exploited npm packages directly through campaigns such as PhantomRaven and an npm package phishing campaign.2345
Why it matters. npm is widely used to distribute JavaScript packages, so compromise of the registry or its packages propagates through downstream software supply chains, as shown by recurring worm and phishing campaigns.2613 Registry-level defenses such as disabling install scripts by default have become a focal point for reducing supply chain risk.1
From the wiki entry
The platform is operated by npm, Inc. 19
What to check first
| Platform | Check | Why | Sources |
|---|---|---|---|
| npm CLI / CI pipelines | Verify that npm 12's default of disabled install scripts is enforced and not overridden in build pipelines. | npm 12 disabled install scripts by default to reduce supply chain risk. | 1 |
| npm dependencies | Check for use of the promzard library at version 4.0.0 or earlier, which is vulnerable to remote code execution via context key injection. | CERT/CC published a vulnerability note for promzard enabling RCE. | 14 |
| AI coding agents installing npm packages | Scan npm packages for typosquatting, deprecation, and known vulnerabilities before allowing an AI agent to auto-install them. | A tool was built to check npm packages before AI installs them. | 15 |
What to watch
- Hijacked GitHub accounts have been used to plant CI secret stealers across thousands of repositories, a technique that could extend into npm publishing pipelines.1617
- npm's registry is assessed, not confirmed, to wait at least 12 months before offering post-quantum signature verification in its CLI.18
Questions for policy
- Should disabling install scripts by default become a baseline requirement across package registries, not just npm?1
- What account-security requirements should apply to maintainers given repeated worm and phishing campaigns against npm packages?46
- Should automated pre-install vetting of packages be required for AI coding agents that install dependencies autonomously?15
What we don't know
- Rests on a single source: Operator npm, Inc..
- Linked on too little reporting to stand: Lazarus Group.
Latest
- 9d ago US disrupts North Korean campaign behind $400 million crypto theft BleepingComputer
- 10d ago Hijacked GitHub Accounts Put GitHub Actions Secrets at Risk LinuxSecurity: Articles
- 11d ago Post-Quantum Authentication: Lessons from Prague IETF
- 11d ago VU#685399: PromZard context key code injection leads to remote code execution CERT/CC Vulnerability Notes
- 12d ago Vite vs webpack vs npm vs Yarn vs Bun: What's the Difference? HackerNoon
Timeline
- npm 12 disabled install scripts by default to reduce supply chain risk.1
- Shai-Hulud malware began targeting npm packages.6789
- Miasma malware was reported targeting npm packages.10
- A broader npm supply chain attacks campaign was reported.11
- The keyv/cacheable npm worm began targeting the npm registry.12
- The ChainDrop campaign began targeting npm packages.13
- An npm package phishing campaign exploited npm packages.4
- PhantomRaven malware exploited npm packages.2
- CERT/CC published a vulnerability note (VU#685399) for the npm library promzard, enabling remote code execution via context key code injection.14
Connections
- targeted byShai-HuludA self-propagating worm has repeatedly spread through the npm registry across multiple incidents.
- targeted byChainDrop
- targeted bynpm supply chain attacksA recurring campaign label used across several incidents targeting the registry.
- targeted bykeyv/cacheable npm wormA worm using popular npm packages to self-propagate across dependents.
- targeted byMiasma
- exploited byPhantomRavenMalware that exploited npm packages to distribute payloads.
- exploited bynpm package phishing campaignA phishing campaign used to compromise npm maintainer accounts and packages.
- developed byGitHubExplains the ownership chain behind the registry's operation.
- developed byMicrosoftExplains the ownership chain behind the registry's operation.
- mitigatesInstall Script Executionnpm 12's change to install script defaults directly addresses this technique.
weakly sourced
Developed by 2
Exploited by 13
Mitigates 4
Targeted by 26
Sources 187
- npm 12 Disables Install Scripts by Default to Reduce Supply Chain Risk · The Hacker News
- PhantomRaven: An LLM-Generated Information Stealer Developed for Bug Bounty Hunting · CrowdStrike Counter Adversary Operations
- Claimed Bug Bounty Hunter Likely Used LLM to Build PhantomRaven npm Stealer · The Hacker News
- 24 npm Packages Abuse unpkg Mirrors to Host Fake Cloudflare CAPTCHA Pages · The Hacker News
- Hackers abuse npm mirrors to host phishing redirect pages · BleepingComputer
- 148 npm Packages Disguised as Student Proxies Turned Browsers Into a DDoS Botnet · The Hacker News
- The npm Threat Landscape: Attack Surface and Mitigations (Updated July 15) · Unit 42
- Shai-Hulud hackers: two men charged over TeamPCP’s global supply chain crime spree that hit OpenAI, and thousands more · Graham Cluley
- 10 ways attackers abuse AI services to hack your business · CSO Online
- Compromised AsyncAPI npm Packages Deliver Multi-Stage Botnet Malware · The Hacker News
- Microsoft at Black Hat USA 2026: Defending trust in the age of AI and supply chain attacks · Microsoft Security Blog
- Keyv-Linked npm Worm Poisons Hundreds of Packages, Plants Claude Code and VS Code Hooks · The Hacker News
- ChainDrop credential stealing worm infects over 400 npm packages · CSO Online
- VU#685399: PromZard context key code injection leads to remote code execution · CERT/CC Vulnerability Notes
- How to Build an MCP Server That Checks npm Packages Before AI Installs Them · HackerNoon
- Attacker Used 4,837 Hijacked GitHub Accounts to Run a CI Secret Stealer in 1,806+ Repositories · The Hacker News
- Hijacked GitHub Accounts Put GitHub Actions Secrets at Risk · LinuxSecurity: Articles
- Post-Quantum Authentication: Lessons from Prague · IETF
- 101 Malicious npm Packages Add Developers' WhatsApp Accounts to Groups Without Consent · The Hacker News
- US disrupts North Korean campaign behind $400 million crypto theft · BleepingComputer
- Vite vs webpack vs npm vs Yarn vs Bun: What's the Difference? · HackerNoon
- I Ran 13 Claude Code Sessions at Once. Here's What the Data Revealed · HackerNoon
- ChainDrop supply chain compromise: Anatomy of a self-propagating worm · Microsoft Security Blog
- Amazon ties DPRK hackers to axios and three other NPM attacks - Developer Tech News · Google News: Hacking
- Don't Revoke That Token Yet: Inside the keyv/cacheable npm Worm, (Wed, Aug 5th) · SANS Internet Storm Center
- Who owns my stack? · Lobsters
- Maak v1.0.0 :: infinitely extensible command runner, build sys in Lisp · Lobsters
- OX Security Launches OX Radar and Response Center to Show Companies Which Cyber Threats Actually Affect Them · CSO Online
- Hackers Compromise Ethersphere's bee-js and Swarm Desktop to Deliver Wallet-Stealing Malware · The Hacker News
- What's new in Node.js 27 · Lobsters
- New Falcon Cloud Security Innovations Secure the Cloud AI Runs On · CrowdStrike Counter Adversary Operations
- short How Do You Detect Malicious npm Packages Early? · Wiz
- What happens when a fake coding test reaches a security company? · Sophos News
- short Software Supply Chain Security: What's the Real Root Cause? · Wiz
- short Does SLSA Provenance Mean an npm Package Is Safe? · Wiz
- Inside a malicious Claude Code-branded extension and its persistent SSH backdoor · Microsoft Security Blog
- Trojanized Claude Code Extension 2.1.313 in Cursor Marketplace Plants SSH Backdoor · Rescana
- No, npm, “estee” is not a typo of “testem” · Lobsters
- short What Happened in the Red Hat npm Supply Chain Attack? · Wiz
- Official Claude Code Extension Compromise: Security Advisory · phorion.io
- Attackers compromised 42 GitHub repositories by using files too large to be searched · CSO Online
- Worm armed 42 GitHub repos by hiding a payload too big to fail · The Register: Security
- Malicious File in Downloads Folder Tries to Trick AI Coding Agent Into Installing Malware · The Hacker News
- Why AI Coding Agents Struggle on Windows (And How to Fix Them) · HackerNoon
- Supply Chain Zero Days: Closing the Gap Between Publication and Detection · Wiz Research
- Fake Web3 Accelerator Uses npm Packages to Spread Malware and Hijack AI Agent Traffic · The Hacker News
- 9 rising malware trends every security pro should know · CSO Online
- MALFEX npm Package 'imgdecode' Hides Shellcode Loader in Windows Native Addon · The Hacker News
- GhostAction Compromises About 1,900 GitHub Accounts, Targets Over 30,000 Repositories · The Hacker News
- Package managers have an integrity problem · Trail of Bits
50 of 187 sources shown · Pro unlocks the full list
Read the full wiki entry: the compiled text, every fact and every link →