Skip to main content
Mallory
← Back to News
package-repository-poisoningcredential-stealer-activitybuild-pipeline-compromisepersistence-method

ChainDrop npm Worm Compromised keyv and cacheable Packages via Trusted Maintainer Access

Supply Chain Risk · 8 sources · Updated 3mo ago · First seen Aug 13, 2026

ChainDrop npm Worm Compromised keyv and cacheable Packages via Trusted Maintainer Access

Attackers hijacked the GitHub account of maintainer Jared Wray and used legitimate GitHub Actions workflows to publish malicious npm releases for keyv and multiple cacheable-family packages, seeding a supply-chain worm now described as ChainDrop, a variant of Shai-Hulud. Researchers said the campaign expanded from an initial set of 11 malicious releases to 444 infected packages, touching dependencies such as keyv, flat-cache, and cache-manager that together see roughly 2 billion monthly downloads. The poisoned packages carried valid GitHub-signed provenance, but the malicious payload was inserted into npm tarballs and obfuscated preinstall paths, allowing the attack to evade checks that rely on source-repository visibility.

The malware stole npm tokens, GitHub credentials, cloud keys, environment variables, shell data, and secrets from memory, then encrypted and exfiltrated the data after resolving command-and-control infrastructure through an Ethereum smart contract. It also planted persistence in repository and IDE configuration files including .claude/settings.json and .vscode/tasks.json, meaning simply opening a seeded repository in tools such as VS Code or Claude Code could trigger compromise and further spread. With stolen GitHub access, the worm enumerated repositories and branches, committed malicious configuration files, and installed a revocation-triggered kill switch tied to stolen tokens; defenders were urged to roll back to known-safe versions, inspect branches for unauthorized config changes, remove persistence before revoking credentials, and treat any host that installed affected packages or opened a seeded repository as compromised.

Why it matters

Impact assessment

ChainDrop is a high-severity software supply-chain incident affecting organizations that consume npm packages, especially developer platforms, CI/CD pipelines, cloud build environments, and teams using widely deployed JavaScript dependencies such as keyv, flat-cache, cache-manager, file-entry-cache, and cacheable-request. Impact includes credential theft, cloud and source-code compromise, malicious package republication, and developer workstation compromise, with exposure extending beyond package installation to simply opening seeded repositories in VS Code or Claude Code.

The scope is broad rather than narrowly targeted: reporting cites 444 compromised packages, more than 1,300 malicious releases, and dependency trees representing roughly 2 billion monthly installs. Exploitation in the wild is confirmed, with automated worm-like propagation through stolen npm and GitHub tokens and observed spread across CI runners and accessible repositories.

Supporting facts

  • Initial access reportedly came from takeover of maintainer Jared Wray's GitHub account on 2026-08-04.
  • Affected ecosystems and entities: npm, GitHub Actions trusted publishing, GitHub repositories, VS Code, Claude Code, CI/CD runners, cloud environments.
  • Named affected packages include keyv, cacheable, cacheable-request, cache-manager, flat-cache, file-entry-cache, @cacheable/utils, @cacheable/memory, @cacheable/node-cache, @cacheable/net, and ecto.
  • The campaign abused legitimate maintainer access and valid GitHub-signed provenance, increasing trust and likely installation rates.
  • Malware stole npm tokens, GitHub credentials, OIDC tokens, cloud keys, environment variables, shell data, and secrets from memory.
  • Persistence in .claude/settings.json and .vscode/tasks.json created an additional execution path when developers opened infected repositories.
  • Researchers observed rapid propagation, including 50 to 100 newly infected packages every few minutes in one account.
  • Defenders are advised to treat any host that installed affected versions or opened a seeded repository as compromised.
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.

10 events · Oct 17, 2025 – Aug 4, 2026
  1. Reported Aug 15, 20264mo ago

    Infected npm packages are yanked from the registry

    The compromised packages were quickly removed from npm after the attack was identified. Reporting also noted that SafeDep published a list of affected packages and version numbers for defenders.

    ChainDrop worm crawls into npm supply chain, evades standard defenses
  2. Aug 4, 20264mo ago

    Researchers identify large-scale ChainDrop npm attack

    Multiple security researchers identified a large-scale npm supply chain attack using the Shai-Hulud variant later dubbed ChainDrop. The campaign was reported as infecting 444 npm packages from multiple publishers.

    ChainDrop worm crawls into npm supply chain, evades standard defenses
  3. Aug 4, 20264mo ago

    Malicious cacheable-family and ecto releases follow on npm

    Additional compromised packages in the cacheable family were published between 10:09 and 10:14 UTC, followed by ecto at 10:28 UTC. Cycode identified 11 malicious releases across the maintainer's packages in this wave.

    The keyv and cacheable npm Worm That Weaponized AI Coding Agents | Cycode
  4. Aug 4, 20264mo ago

    Trojanized keyv package published to npm

    A malicious version of keyv, version 6.0.0, was published to npm through the repository's legitimate GitHub Actions workflow with valid GitHub-signed provenance. The release contained the worm's install hook and payload files.

    The keyv and cacheable npm Worm That Weaponized AI Coding Agents | Cycode
  5. Aug 4, 20264mo ago

    Attacker removes giveaway test file from repository

    A giveaway test file was removed from the compromised repository, indicating the attacker cleaned up evidence during the intrusion. Cycode placed this action after the malicious commit and persistence additions.

    The keyv and cacheable npm Worm That Weaponized AI Coding Agents | Cycode
  6. Aug 4, 20264mo ago

    Persistence hooks added to IDE and AI-agent config files

    The attacker added persistence hooks to repository configuration files including .claude/settings.json and .vscode/tasks.json. These changes enabled compromise to trigger when a seeded repository was opened in tools such as VS Code or Claude Code.

    The keyv and cacheable npm Worm That Weaponized AI Coding Agents | Cycode
  7. Aug 4, 20264mo ago

    Malicious commit pushed to keyv main branch

    Public commit records showed a malicious commit was pushed to the main branch of the keyv repository using maintainer Jared Wray's compromised GitHub account. This marked the start of the documented package compromise sequence.

    The keyv and cacheable npm Worm That Weaponized AI Coding Agents | Cycode
  8. Aug 2026

    Researchers report ChainDrop expanded to 1,300+ malicious releases

    Reporting on the ChainDrop campaign said the compromise ultimately involved more than 1,300 malicious npm releases across 444 packages representing over two billion monthly installs. The article also identified additional affected packages including flat-cache, file-entry-cache, and cacheable-request.

    ChainDrop npm Worm Poisons 444 Packages Through GitHub Actions and Trusted Publishing
  9. May 22, 20266mo ago

    Attacker registers npm-cache.com for worm infrastructure

    The exfiltration host npm-cache[.]com, later used by the malware's on-chain command-and-control setup, was registered. Cycode identified this domain as part of the campaign infrastructure.

    The keyv and cacheable npm Worm That Weaponized AI Coding Agents | Cycode
  10. Oct 17, 20251y ago

    Compromised OpenVSX extensions distributed in GlassWorm campaign

    Koi Security reported that multiple OpenVSX extensions were compromised and distributed as part of the self-propagating GlassWorm supply-chain campaign. The report says the malicious extension wave began on October 17, 2025 and reached about 35,800 downloads.

    First Self-Propagating Worm Using Invisible Code Hits OpenVSX Marketplace
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 →

Threat actors

1 linked

Malware

2 linked

Affected products

4 linked
Claude CodeGithubVisual Studio CodeNpm

Organizations

3 linked
GitHubnpm, Inc.Keyv

Observables

11 linked

Indicator values are masked on this page. View all 11 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.