Back to Feed
Supply ChainAug 4, 2026

Massive supply-chain attack compromises 440 packages under four hours

Attacker compromises GitHub account, injects malware into 440+ npm packages in under four hours.

A threat actor compromised a GitHub maintainer account and injected a variant of the Mini Shai-Hulud malware into over 440 npm packages in less than four hours. The self-replicating malware, based on code published by TeamPCP, targeted popular packages like keyv, cacheable, and flat-cache, affecting over 2 billion monthly installs. The malware steals sensitive data including npm, GitHub, AWS credentials, AI configuration files, and cryptocurrency wallets.

AI summary of the linked source. Not reviewed by an editor. How this works

Vendor Watch

Run npm?

Get an email when a new story names npm, usually within the hour.

Free. Your list stays private and never appears in a subject line. One click stops it. How Vendor Watch worksPrivacy

The lesson from this incident

Full lesson

A single compromised GitHub maintainer account was enough for a threat actor to inject malware into over 440 npm packages in under four hours, exposing over 2 billion monthly installs to credential theft. This attack illustrates how the open-source dependency ecosystem represents a high-leverage attack surface — one malicious actor with access to a trusted account can instantly weaponize packages relied upon by millions of developers. The self-replicating nature of the malware amplified the damage exponentially, targeting npm tokens, AWS credentials, and cryptocurrency wallets. This matters because downstream consumers of these packages often have no visibility into the integrity of third-party code they automatically pull into their builds.

What helps against this

How we list vendors
Get Microsoft news in your morning briefingA few minutes of audio on the vendors you pick, every morning. Free to try.

Indicators of Compromise

Addresses and file hashes are copied from the publisher's page by pattern matching. Names are picked by AI. On stories from before 17 November 2026, some addresses and hashes were picked by AI too. Not reviewed by an editor. How this works

  • malware: Mini Shai-Hulud

Entities

npm (product)keyv (product)cacheable (product)flat-cache (product)file-entry-cache (product)TeamPCP (threat_actor)