Skip to main content
Mallory
← Back to News
package-repository-poisoningcredential-stealer-activitybuild-pipeline-compromisevendor-distribution-compromise

Shai-Hulud CHAINDROP Worm Backdoors 400+ npm Packages via keyv Compromise

Supply Chain Risk · 16 sources · Updated 4mo ago · First seen Aug 5, 2026

Shai-Hulud CHAINDROP Worm Backdoors 400+ npm Packages via keyv Compromise

Attackers behind Shai-Hulud compromised the maintainer of the widely used npm library keyv and used a self-propagating worm dubbed CHAINDROP to trojanize the keyv monorepo and spread malicious updates across more than 400 npm packages. The campaign abused npm preinstall hooks for code execution, stole developer credentials from infected machines, and automatically republished malicious package versions anywhere stolen npm tokens had write access, including cases where the tokens bypassed 2FA protections. Packages tied to the keyv ecosystem, including flat-cache, cacheable-request, cacheable, and cache-manager, were identified as part of the downstream exposure, raising broad risk across JavaScript build pipelines and dependent applications.

The malware expanded beyond package tampering by implanting Claude Code and VS Code execution hooks and harvesting secrets tied to AI tooling, cloud environments, GitHub, Kubernetes, Vault, SSH, and npm accounts. Elastic Security Labs reported that the operators used an Ethereum smart contract with fallback mechanisms to dynamically resolve exfiltration infrastructure, underscoring a more resilient and automated supply-chain tradecraft. Published guidance urged organizations to revoke GitHub and npm tokens, review repositories for suspicious commits attributed to "claude", rotate exposed secrets, enable npm 2FA, and upgrade to npm 12+ as defenders assess the blast radius of one of the largest recent npm ecosystem compromises.

Why it matters

Impact assessment

CHAINDROP is a high-severity software supply-chain compromise affecting the npm ecosystem, especially organizations that consume or publish JavaScript/Node.js packages through keyv, cacheable, flat-cache, file-entry-cache, cacheable-request, and downstream dependencies. Impact extends beyond developer endpoints into CI/CD runners, source repositories, package publishing accounts, cloud environments, Kubernetes, Vault, and AI developer tooling because the malware steals credentials and republishes trojanized packages using legitimate identities.

The scope is broad rather than narrowly targeted: more than 400 npm packages were compromised, with reporting ranging from 430-444 packages and more than 2,200 infected artifacts, and some affected ecosystems collectively account for over 1.3-2 billion monthly downloads. Exploitation in the wild is confirmed, with active worm-like propagation across unrelated publishers and ongoing creation of public GitHub repositories used for exfiltration.

Affected entities and products

  • npm ecosystem, especially JavaScript/Node.js development and build pipelines
  • keyv ecosystem maintainer account and monorepo
  • Confirmed affected package families include keyv, flat-cache, file-entry-cache, cacheable-request, cacheable, cache-manager, @cacheable/utils, @cacheable/memory, @cacheable/node-cache
  • Additional downstream organizations/packages cited include Deliveroo, Ornikar, Picsart, Qlik, OneReach, ServiceTitan, @deliveroo/reevent, @or-sdk/invitations, @picsart/ai-sdk, @qlik/embed-runtime, picasso.js, qlik/api
  • Developer tooling exposure includes VS Code, Claude Code, and in some reporting GitHub Copilot-related files and MCP-linked repository delivery

Severity and business consequences

  • Credential theft affects npm, GitHub, GitHub Actions/OIDC, AWS, GCP, Azure, Kubernetes, HashiCorp Vault, SSH, Slack, Stripe, and AI tooling secrets
  • Operational disruption risk is high because compromised tokens can alter packages, repositories, CI workflows, and potentially trigger destructive behavior on token revocation
  • Reputational and financial risk is high for software publishers because malicious releases were published from legitimate repositories with valid provenance and SLSA attestations
  • Trust controls alone were insufficient; poisoned releases retained valid OIDC trusted-publisher provenance and SLSA Build Level 3 attestations

Known incidents and exposure indicators

  • Initial compromise observed on 2026-08-04 via compromised keyv maintainer GitHub account
  • More than 400 packages compromised; Aikido reported 1,381 malicious versions across 444 packages, and Socket later tracked more than 2,400 infected artifacts
  • 453 public repositories across five accounts reportedly matched the worm’s exfiltration pattern
  • More than 3,800 public GitHub repositories containing credential dumps were reported as still accessible in one follow-up analysis
Does this reach your builds?Trace attribution and downstream blast radius.
Trace the chain
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

7 events · Aug 2026 – Aug 5, 2026
  1. Reported Aug 6, 20264mo ago

    Microsoft and Socket report 2,234 malicious artifacts across 444 npm packages

    Microsoft and Socket said the Mini Shai-Hulud npm supply-chain campaign had grown to 2,234 affected package artifacts spanning 444 unique packages while still spreading. The reporting also described the malware as stealing npm, code-hosting, cloud, and CI/CD credentials and reusing stolen publishing access to republish additional packages.

    New npm Supply Chain Attack Began with the Keyv Library Compromised Hundreds of Popular Packages
  2. Aug 5, 20264mo ago

    Aikido reports 1,381 malicious versions across 444 npm packages

    On August 5, 2026, Aikido Security reported that the Shai-Hulud/CHAINDROP campaign had reached 1,381 malicious package versions across 444 npm packages. The report showed the worm had spread beyond the initial keyv-related packages into packages maintained by other organizations.

    Lieferketten-Angriff auf keyv: Shai-Hulud-Wurm infiziert mehr als 440 npm-Pakete | heise online
  3. Aug 4, 20264mo ago

    Wiz discloses expanded Shai-Hulud capabilities and compromised package versions

    Wiz Research published additional technical findings on the Keyv/Cacheable supply-chain attack, describing expanded credential-theft targets, updated dead-man-switch logic, a new RSA key for exfiltration, and dynamic C2 retrieval from an Ethereum smart contract that was later updated to return only npm-cache[.]com. Wiz also listed compromised package versions including keyv 6.0.0, @cacheable/utils 2.5.1, cache-manager 7.2.10, and cacheable-request 13.0.20, along with related IOCs.

    keyv and cacheable npm Package Hijacked in Supply Chain Attack | Wiz Blog
  4. Aug 4, 20264mo ago

    Elastic report reveals CHAINDROP IOCs and GitHub persistence details

    Elastic Security Labs disclosed additional technical details for the CHAINDROP npm supply-chain campaign, including payload and dropper filenames, hashes, C2 and dead-drop domains, and use of an Ethereum smart contract for exfiltration discovery. The report also said the malware could modify GitHub repositories using stolen GitHub App tokens and plant malicious Claude Code and VS Code configuration files across multiple branches.

    Shai-Hulud CHAINDROP Worm Backdoors 400+ npm Packages With 1.3 Billion Monthly Downloads
  5. Aug 4, 20264mo ago

    Shai-Hulud compromises keyv maintainer and trojanizes keyv monorepo

    On August 4, 2026, Elastic Security Labs identified a new Shai-Hulud supply-chain campaign targeting the maintainer of the widely used npm package keyv. The attackers backdoored the keyv monorepo and embedded the self-propagating CHAINDROP worm to execute via npm preinstall hooks.

    Shai-Hulud strikes again: CHAINDROP worm hits 400+ npm packages - Elastic Security Labs
  6. Aug 2026

    Shai-Hulud observed in official MCP Registry via V.A.P.E entry

    OX Security reported the first observed delivery of a Shai-Hulud payload through the official Model Context Protocol Registry, via the V.A.P.E MCP server entry. The linked PyPI package was described as clean, but the associated GitHub repository contained malicious Claude Code and VS Code settings files that triggered credential theft when opened or cloned.

    Shai-Hulud Outbreak Debrief: The Worm Evolves into MCP
  7. Aug 2026

    CHAINDROP spreads to more than 400 npm packages

    The worm used stolen npm credentials to automatically republish malicious versions of packages for which compromised maintainers had write access and could bypass 2FA. Reporting on the incident states that more than 400 unique npm packages were compromised within hours, creating broad downstream exposure across the JavaScript ecosystem.

    Shai-Hulud strikes again: CHAINDROP worm hits 400+ npm packages - Elastic Security Labs
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.

Open in app →

Malware

2 linked

Affected products

1 linked
Npm

Organizations

8 linked
PicsartRed HatSAP SEnpm, Inc.DeliverooOrnikarKeyvOneReach

Observables

23 linked

Indicator values are masked on this page. View all 23 in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.

Do you run this?See attribution and downstream blast radius, and whether this package or vendor reaches your builds.
Trace the Supply Chain
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.