Keyv-Linked npm Worm Poisons Hundreds of Packages, Plants Claude Code and VS Code Hooks

By George Bailey   Published: 08/04/26   Updated: 10/09/26   2 min read
Keyv-Linked npm Worm Poisons Hundreds of Packages, Plants Claude Code and VS Code Hooks

What Changed

On August 4, an attacker pushed malicious commits to the GitHub repositories behind the keyv, cacheable and ecto npm packages and published poisoned releases through their own release workflows. Datadog Security Labs reports that the self-propagating payload, nicknamed “ChainDrop” by the community, has spread to hundreds of npm packages, some with more than 150 million weekly downloads.

Confirmed malicious versions include [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], @cacheable/[email protected], @cacheable/[email protected], @cacheable/[email protected] and @cacheable/[email protected].

How It Works

A preinstall hook runs setup.mjs, which downloads Bun if needed and starts a second-stage credential stealer. It collects files, environment variables, GitHub Actions runner secrets and cloud secrets from AWS, Kubernetes and Vault. It then republishes other packages using stolen npm tokens. On GitHub branches it writes .vscode/tasks.json and .claude/settings.json, so the loader runs again when a developer opens the folder in VS Code or starts a Claude Code session.

What To Verify First

What Teams May Be Underestimating

The editor and AI-assistant hooks mean that cleaning node_modules is not enough. A poisoned branch can reinfect a laptop the next time someone opens the repository.

Source Context

This item was rebuilt from the following primary sources and original reporting:

Related In The Daily Brief

See this item in The 5-Minute Cyber Brief

Stay Current

Newer CyberExperts coverage on this topic

This article still works as background. If you want the current picture, start with the freshest related coverage below and today's brief.

Latest Daily Brief

Monday’s brief: GlobalProtect logins without passwords, then SonicWall, AhsayCBS and NetScaler

The fastest way to catch up on what changed after this article was published.

Read Today's Brief

George Bailey

George Bailey is the byline of the CyberExperts editorial desk, the team behind the CyberExperts Daily Brief. The desk covers vulnerabilities, breaches and security news from vendor advisories, CISA alerts and other primary sources, and links those sources in every story. Questions or corrections: [email protected].

Keep Reading